mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-08-28 16:53:45 +02:00
A valarray of an enum does not initialize to 0 so explicitly specify the value to fill the array with. This was causing the compiler to incorrectly report that fixed width elements in a concatenation had no size. The following was done to remove compiler warning when using the native compiler on OpenSolaris. Remove the anonymous unions in tgt-vlog95/stmt.c and tgt-vvp/vvp_process.c. Use UINT_MAX for the maximum unsigned unsigned instead of -1 in tgt-vvp/draw_net_input.c. Even though lex defines yywrap() to have no arguments when %option noyywrp is used it generates a define that takes an argument that is not used. The compiler warned about this so remove the option and add a dummy yywrap function.