Thanks to skejg for heads up.
Unified · Split
| @@ -2,6 +2,7 @@ · 1 unmodified line | ||
| 2 | 2 | #define FIXME 0 |
| 3 | 3 | |
| 4 | 4 | #ifdef __clang__ |
| 5 | +#if __clang_major__ >= 10 | |
| 5 | 6 | #pragma GCC diagnostic error "-Weverything" |
| 6 | 7 | #pragma GCC diagnostic ignored "-Wpadded" |
| 7 | 8 | #pragma GCC diagnostic ignored "-Wsign-conversion" |
| @@ -10,6 +11,7 @@ · 2 unmodified lines | ||
| 10 | 11 | #pragma GCC diagnostic ignored "-Wdouble-promotion" |
| 11 | 12 | #pragma GCC diagnostic ignored "-Wimplicit-int-float-conversion" |
| 12 | 13 | #endif |
| 14 | +#endif | |
| 13 | 15 | |
| 14 | 16 | #include <errno.h> |
| 15 | 17 | #include <stdio.h> |