Lines Matching full:gcc

42    * Clang and GCC both support this way of putting pragmas into #defines.
44 * warning-suppressing pragmas differ between Clang and GCC, so we test
73 * Suppress -Wdocumentation warnings; GCC doesn't support -Wdocumentation,
74 * at least according to the GCC 7.3 documentation. Apparently, Flex
89 * This is GCC 4.6 or later, or a compiler claiming to be that.
90 * We can use "GCC diagnostic ignored -Wxxx" (introduced in 4.2)
91 * and "GCC diagnostic push/pop" (introduced in 4.6).
94 PCAP_DO_PRAGMA(GCC diagnostic push) \
95 PCAP_DO_PRAGMA(GCC diagnostic ignored "-Wsign-compare") \
96 PCAP_DO_PRAGMA(GCC diagnostic ignored "-Wunused-parameter") \
97 PCAP_DO_PRAGMA(GCC diagnostic ignored "-Wunreachable-code")
99 PCAP_DO_PRAGMA(GCC diagnostic pop)
102 * Neither Visual Studio, nor Clang 2.8 or later, nor GCC 4.6 or later
149 * This is GCC 4.6 or later, or a compiler claiming to be that.
150 * We can use "GCC diagnostic ignored -Wxxx" (introduced in 4.2)
151 * and "GCC diagnostic push/pop" (introduced in 4.6).
154 PCAP_DO_PRAGMA(GCC diagnostic push) \
155 PCAP_DO_PRAGMA(GCC diagnostic ignored "-Wshadow") \
156 PCAP_DO_PRAGMA(GCC diagnostic ignored "-Wunreachable-code")
158 PCAP_DO_PRAGMA(GCC diagnostic pop)
161 * Neither Clang 2.8 or later nor GCC 4.6 or later or a compiler
200 * This is GCC 4.6 or later, or a compiler claiming to be that.
201 * We can use "GCC diagnostic ignored -Wxxx" (introduced in 4.2)
202 * and "GCC diagnostic push/pop" (introduced in 4.6).
205 PCAP_DO_PRAGMA(GCC diagnostic push) \
206 PCAP_DO_PRAGMA(GCC diagnostic ignored "-Wunreachable-code")
208 PCAP_DO_PRAGMA(GCC diagnostic pop)
211 * Neither Clang 2.8 or later nor GCC 4.6 or later or a compiler