Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

Using 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...