Line
Link Here
|
0 |
-- a/src/pragma.h |
0 |
++ b/src/pragma.h |
Lines 28-36
Link Here
|
28 |
*/ |
28 |
*/ |
29 |
#if defined(__GNUC__) |
29 |
#if defined(__GNUC__) |
30 |
# if __GNUC__ > 4 |
30 |
# if __GNUC__ > 4 |
31 |
# define PRAGMA_DIAG_PUSH _Pragma(GCC diagnostic push) |
31 |
# define PRAGMA_DIAG_PUSH _Pragma("GCC diagnostic push") |
32 |
# define PRAGMA_DIAG_POP _Pragma(GCC diagnostic pop) |
32 |
# define PRAGMA_DIAG_POP _Pragma("GCC diagnostic pop") |
33 |
# define PRAGMA_DIAG_IGNORED(x) _Pragma(GCC diagnostic ignored x) |
33 |
# define PRAGMA_(x) _Pragma(#x) |
|
|
34 |
# define PRAGMA_DIAG_IGNORED(x) PRAGMA_(GCC diagnostic ignored x) |
34 |
# elif __GNUC__ == 4 |
35 |
# elif __GNUC__ == 4 |
35 |
# if __GNUC_MINOR__ >= 6 |
36 |
# if __GNUC_MINOR__ >= 6 |
36 |
# define PRAGMA_DIAG_PUSH _Pragma("GCC diagnostic push") |
37 |
# define PRAGMA_DIAG_PUSH _Pragma("GCC diagnostic push") |