Forum Discussion
Altera_Forum
Honored Contributor
14 years agoUsing GCC compiler warning "-Wempty-body"
I added -Wextra to my build to make the code cleaner. But I get an "Empty body in an else statement" warning which -Wextra does enable (see: http://gcc.gnu.org/onlinedocs/gcc/warning-options.html#wa...
Altera_Forum
Honored Contributor
14 years agoI thought that might be the case. I know the NIOS II GCC compiler (4.x?) is behind the latest GCC release. So does this mean the NIOS II GCC compiler generates the warning without any way to disable it?
Thanks dsl! Bill