🔨 Wrapper for GCC < 8

This commit is contained in:
Scott Lahteine
2023-07-01 19:54:39 -05:00
parent 275642b297
commit b50add4694

View File

@@ -73,7 +73,7 @@ extern void SERIAL_CHAR(char c);
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#if DISABLED(UNSAFE_MSTRING)
#if DISABLED(UNSAFE_MSTRING) && GCC_VERSION >= 80000
#pragma GCC diagnostic ignored "-Wstringop-truncation"
#endif