More GCC pragmas
This commit is contained in:
parent
d6c5473e1f
commit
3f2daae630
|
@ -33,10 +33,12 @@
|
||||||
// Enable
|
// Enable
|
||||||
#pragma GCC diagnostic warning "-Wall"
|
#pragma GCC diagnostic warning "-Wall"
|
||||||
#pragma GCC diagnostic warning "-Wextra"
|
#pragma GCC diagnostic warning "-Wextra"
|
||||||
|
#pragma GCC diagnostic warning "-Wunused"
|
||||||
#pragma GCC diagnostic warning "-Wcast-align"
|
#pragma GCC diagnostic warning "-Wcast-align"
|
||||||
// Disable
|
// Disable
|
||||||
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
|
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
|
||||||
#pragma GCC diagnostic ignored "-Wunused-parameter" // TODO Fix
|
#pragma GCC diagnostic ignored "-Wunused-parameter" // TODO Fix
|
||||||
|
#pragma GCC diagnostic ignored "-Wshadow" // TODO fix
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
|
|
Loading…
Reference in New Issue