We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a241e6 commit 60f74f3Copy full SHA for 60f74f3
Marlin/src/core/mstring.h
@@ -73,6 +73,10 @@ extern void SERIAL_CHAR(char c);
73
#pragma GCC diagnostic push
74
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
75
76
+#if DISABLED(UNSAFE_MSTRING)
77
+ #pragma GCC diagnostic ignored "-Wstringop-truncation"
78
+#endif
79
+
80
/**
81
* @brief MString class template
82
* @details A class template providing convenient string operators,
0 commit comments