mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-26 13:25:54 +00:00
🔨 Suppress truncation warning
This commit is contained in:
parent
1a241e6e86
commit
60f74f3cb3
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user