🔨 Wrapper for GCC < 8
This commit is contained in:
@@ -73,7 +73,7 @@ extern void SERIAL_CHAR(char c);
|
|||||||
#pragma GCC diagnostic push
|
#pragma GCC diagnostic push
|
||||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||||
|
|
||||||
#if DISABLED(UNSAFE_MSTRING)
|
#if DISABLED(UNSAFE_MSTRING) && GCC_VERSION >= 80000
|
||||||
#pragma GCC diagnostic ignored "-Wstringop-truncation"
|
#pragma GCC diagnostic ignored "-Wstringop-truncation"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user