Skip to content

Commit

Permalink
🔨 Wrapper for GCC < 8
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Jul 2, 2023
1 parent 275642b commit b50add4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/core/mstring.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ extern void SERIAL_CHAR(char c);
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"

#if DISABLED(UNSAFE_MSTRING)
#if DISABLED(UNSAFE_MSTRING) && GCC_VERSION >= 80000
#pragma GCC diagnostic ignored "-Wstringop-truncation"
#endif

Expand Down

0 comments on commit b50add4

Please sign in to comment.