1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-26 21:36:21 +00:00

🔨 Suppress truncation warning

This commit is contained in:
Scott Lahteine 2023-07-01 18:20:22 -05:00
parent 1a241e6e86
commit 60f74f3cb3

View File

@ -73,6 +73,10 @@ extern void SERIAL_CHAR(char c);
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#if DISABLED(UNSAFE_MSTRING)
#pragma GCC diagnostic ignored "-Wstringop-truncation"
#endif
/**
* @brief MString class template
* @details A class template providing convenient string operators,