mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-12-01 10:34:23 +01:00
Add more GCC warning pragmas
This commit is contained in:
1 parent
868b0c0c2e
commit
a9946b7cfe
1 file changed
+6
@@ -30,7 +30,13 @@
|
||||
#define HB_HH
|
||||
|
||||
#ifndef HB_NO_GCC_PRAGMAS
|
||||
// Enable
|
||||
#pragma GCC diagnostic warning "-Wall"
|
||||
#pragma GCC diagnostic warning "-Wextra"
|
||||
#pragma GCC diagnostic warning "-Wcast-align"
|
||||
// Disable
|
||||
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
|
||||
#pragma GCC diagnostic ignored "-Wunused-parameter" // TODO Fix
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
|
||||
Reference in new issue
Block a user