|
@@ -1095,14 +1095,15 @@ void GcodeSuite::process_next_command() {
|
1095
|
1095
|
process_parsed_command();
|
1096
|
1096
|
}
|
1097
|
1097
|
|
|
1098
|
+#pragma GCC diagnostic push
|
|
1099
|
+#if GCC_VERSION >= 80000
|
|
1100
|
+ #pragma GCC diagnostic ignored "-Wstringop-truncation"
|
|
1101
|
+#endif
|
|
1102
|
+
|
1098
|
1103
|
/**
|
1099
|
1104
|
* Run a series of commands, bypassing the command queue to allow
|
1100
|
1105
|
* G-code "macros" to be called from within other G-code handlers.
|
1101
|
1106
|
*/
|
1102
|
|
-
|
1103
|
|
-#pragma GCC diagnostic push
|
1104
|
|
-#pragma GCC diagnostic ignored "-Wstringop-truncation"
|
1105
|
|
-
|
1106
|
1107
|
void GcodeSuite::process_subcommands_now(FSTR_P fgcode) {
|
1107
|
1108
|
PGM_P pgcode = FTOP(fgcode);
|
1108
|
1109
|
char * const saved_cmd = parser.command_ptr; // Save the parser state
|