mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-03-28 00:49:09 +00:00
🔨 Suppress truncation warning
This commit is contained in:
parent
1a241e6e86
commit
60f74f3cb3
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue