Problem: Compiling without warnings enabled can result in poor code Fix By: Add -Wall to the compiler command line Waive If: There are known problems with using -Wall Example: FAIL: warnings test because compiled without either -Wall or -Wformat-security
This test checks to see that a file has been compiled with either or both of the -Wall and -Wformat-security options specified. Enabling warnings - and then fixing the problems reported - results in better quality code that is less likely to contain bugs.
If necessary the test can be disabled via the --skip-warnings option and re-enabled via the --test-warnings option.