diff --git a/lib/CException.c b/lib/CException.c index fdff8f4..33ed0c2 100644 --- a/lib/CException.c +++ b/lib/CException.c @@ -1,9 +1,15 @@ #include "CException.h" +#ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wmissing-field-initializers" +#endif + volatile CEXCEPTION_FRAME_T CExceptionFrames[CEXCEPTION_NUM_ID] = {{ 0 }}; + +#ifdef __GNUC__ #pragma GCC diagnostic pop +#endif //------------------------------------------------------------------------------------------ // Throw