Closed aaww01 closed 2 years ago
Make fails with error: #pragma GCC diagnostic not allowed inside functions GCC versions < 5 do not allow #pragma GCC diagnostic inside functions. Added wrapper around #pragma GCC blocks to check GNUC version and only use if >= version 5.
Make fails with error: #pragma GCC diagnostic not allowed inside functions GCC versions < 5 do not allow #pragma GCC diagnostic inside functions. Added wrapper around #pragma GCC blocks to check GNUC version and only use if >= version 5.