Skip to content
This repository was archived by the owner on Nov 6, 2022. It is now read-only.

Commit 6e0a83a

Browse files
author
Jethro Beekman
committed
Fix compilation with gcc version < 7
1 parent b6191fa commit 6e0a83a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libunwind/src/UnwindRustSgxSnprintf.c

+2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010
#pragma GCC diagnostic ignored "-Wfloat-conversion"
1111
#pragma GCC diagnostic ignored "-Wsign-conversion"
1212
#pragma GCC diagnostic ignored "-Wstrict-overflow"
13+
#if __GNUC__ >= 7
1314
#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
15+
#endif
1416

1517
/**************************************************************
1618
* Original:

0 commit comments

Comments
 (0)