Added pragma magic to disable warning about missing field initializers, since we are taking advantage of standard behavior to tell the comiler to initialize all CExceptionFrames struct fields in all frames to 0

This commit is contained in:
Greg Williams
2014-07-28 10:09:12 -04:00
parent dbd23b7303
commit ea0c4352f8
+3
View File
@@ -1,6 +1,9 @@
#include "CException.h"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
volatile CEXCEPTION_FRAME_T CExceptionFrames[CEXCEPTION_NUM_ID] = {{ 0 }};
#pragma GCC diagnostic pop
//------------------------------------------------------------------------------------------
// Throw