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 agomissing-field-initialisers and unused-parameter are somewhat horrid, fixing 'sign-compare' is bad enough