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 fb178ccb92
commit 1e98a9137a
+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