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 agoThere is an option to the compiler to list the known -W (etc) options.
The gcc docs web site does have info for (some) older versions.