More GCC pragmas

This commit is contained in:
Behdad Esfahbod 2019-01-17 15:27:31 -05:00
parent d6c5473e1f
commit 3f2daae630
1 changed files with 2 additions and 0 deletions

View File

@ -33,10 +33,12 @@
// Enable
#pragma GCC diagnostic warning "-Wall"
#pragma GCC diagnostic warning "-Wextra"
#pragma GCC diagnostic warning "-Wunused"
#pragma GCC diagnostic warning "-Wcast-align"
// Disable
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
#pragma GCC diagnostic ignored "-Wunused-parameter" // TODO Fix
#pragma GCC diagnostic ignored "-Wshadow" // TODO fix
#endif
#ifdef HAVE_CONFIG_H