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