Skip to content

Commit

Permalink
🔨 Wrapper for GCC < 8
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead authored and Andy-Big committed Jul 20, 2023
1 parent 8c9e231 commit 46c801a
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 46c801a

Please sign in to comment.