35 #if defined(__clang__)
36 #define LIBDCP_DISABLE_WARNINGS \
37 _Pragma("GCC diagnostic push") \
38 _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"") \
39 _Pragma("GCC diagnostic ignored \"-Wmissing-field-initializers\"") \
40 _Pragma("GCC diagnostic ignored \"-Wunused-parameter\"") \
41 _Pragma("GCC diagnostic ignored \"-Waddress\"") \
42 _Pragma("GCC diagnostic ignored \"-Wparentheses\"") \
43 _Pragma("GCC diagnostic ignored \"-Woverloaded-virtual\"") \
44 _Pragma("GCC diagnostic ignored \"-Wtautological-overlap-compare\"")
47 #define LIBDCP_DISABLE_WARNINGS \
48 _Pragma("GCC diagnostic push") \
49 _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"") \
50 _Pragma("GCC diagnostic ignored \"-Wmissing-field-initializers\"") \
51 _Pragma("GCC diagnostic ignored \"-Wunused-parameter\"") \
52 _Pragma("GCC diagnostic ignored \"-Waddress\"") \
53 _Pragma("GCC diagnostic ignored \"-Wparentheses\"") \
54 _Pragma("GCC diagnostic ignored \"-Wdeprecated-copy\"") \
55 _Pragma("GCC diagnostic ignored \"-Wsuggest-override\"") \
56 _Pragma("GCC diagnostic ignored \"-Wunused-function\"") \
57 _Pragma("GCC diagnostic ignored \"-Woverloaded-virtual\"") \
58 _Pragma("GCC diagnostic ignored \"-Wignored-qualifiers\"") \
59 _Pragma("GCC diagnostic ignored \"-Wtemplate-id-cdtor\"")
61 #define LIBDCP_DISABLE_WARNINGS \
62 _Pragma("GCC diagnostic push") \
63 _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"") \
64 _Pragma("GCC diagnostic ignored \"-Wmissing-field-initializers\"") \
65 _Pragma("GCC diagnostic ignored \"-Wunused-parameter\"") \
66 _Pragma("GCC diagnostic ignored \"-Waddress\"") \
67 _Pragma("GCC diagnostic ignored \"-Wparentheses\"") \
68 _Pragma("GCC diagnostic ignored \"-Wdeprecated-copy\"") \
69 _Pragma("GCC diagnostic ignored \"-Wsuggest-override\"") \
70 _Pragma("GCC diagnostic ignored \"-Wunused-function\"") \
71 _Pragma("GCC diagnostic ignored \"-Woverloaded-virtual\"") \
72 _Pragma("GCC diagnostic ignored \"-Wignored-qualifiers\"")
74 #define LIBDCP_DISABLE_WARNINGS \
75 _Pragma("GCC diagnostic push") \
76 _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"") \
77 _Pragma("GCC diagnostic ignored \"-Wmissing-field-initializers\"") \
78 _Pragma("GCC diagnostic ignored \"-Wunused-parameter\"") \
79 _Pragma("GCC diagnostic ignored \"-Waddress\"") \
80 _Pragma("GCC diagnostic ignored \"-Wparentheses\"") \
81 _Pragma("GCC diagnostic ignored \"-Wsuggest-override\"")
83 #define LIBDCP_DISABLE_WARNINGS \
84 _Pragma("GCC diagnostic push") \
85 _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"") \
86 _Pragma("GCC diagnostic ignored \"-Wmissing-field-initializers\"") \
87 _Pragma("GCC diagnostic ignored \"-Wunused-parameter\"") \
88 _Pragma("GCC diagnostic ignored \"-Waddress\"") \
89 _Pragma("GCC diagnostic ignored \"-Wparentheses\"")
93 #define LIBDCP_ENABLE_WARNINGS \
94 _Pragma("GCC diagnostic pop")