Add check for GCC_WARN before using #prama GCC to turn off warning

This commit is contained in:
Bart House
2018-12-22 15:12:56 -08:00
parent 7743714f1b
commit 6c0df43a17

View File

@@ -299,7 +299,9 @@ unsigned nhUse_dummy = 0;
#define IVMAGIC 0xdeadbeef
#ifdef GCC_WARN
#pragma GCC diagnostic ignored "-Wmissing-braces"
#endif
const struct instance_globals g_init = {
/* apply.c */