History

Only use Weverything with sufficiently new clang

Thanks to skejg for heads up.

malc committed 6 years ago

Commit 777c4e41 parent bdf45c91 file · +2 −0Browse files

Unified · Split

link.c+2−0
@@ -2,6 +2,7 @@ · 1 unmodified line
22 #define FIXME 0
33
44 #ifdef __clang__
5+#if __clang_major__ >= 10
56 #pragma GCC diagnostic error "-Weverything"
67 #pragma GCC diagnostic ignored "-Wpadded"
78 #pragma GCC diagnostic ignored "-Wsign-conversion"
@@ -10,6 +11,7 @@ · 2 unmodified lines
1011 #pragma GCC diagnostic ignored "-Wdouble-promotion"
1112 #pragma GCC diagnostic ignored "-Wimplicit-int-float-conversion"
1213 #endif
14+#endif
1315
1416 #include <errno.h>
1517 #include <stdio.h>

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t