Lines Matching refs:GCC

42    * Clang and GCC both support this way of putting pragmas into #defines.
94 * Suppress -Wdocumentation warnings; GCC doesn't support -Wdocumentation,
95 * at least according to the GCC 7.3 documentation. Apparently, Flex
172 * This is GCC 4.6 or later, or a compiler claiming to be that.
173 * We can use "GCC diagnostic ignored -Wxxx" (introduced in 4.2)
174 * and "GCC diagnostic push/pop" (introduced in 4.6).
177 PCAP_DO_PRAGMA(GCC diagnostic push) \
178 PCAP_DO_PRAGMA(GCC diagnostic ignored "-Wsign-compare") \
179 PCAP_DO_PRAGMA(GCC diagnostic ignored "-Wunused-parameter") \
180 PCAP_DO_PRAGMA(GCC diagnostic ignored "-Wunreachable-code")
182 PCAP_DO_PRAGMA(GCC diagnostic pop)
185 * GCC currently doesn't issue any narrowing warnings.
194 PCAP_DO_PRAGMA(GCC diagnostic push) \
195 PCAP_DO_PRAGMA(GCC diagnostic ignored "-Wdeprecated-declarations")
197 PCAP_DO_PRAGMA(GCC diagnostic pop)
201 * GCC 7.1 had introduced this warning option. Earlier versions (at least
202 * one particular copy of GCC 4.6.4) treat the request as a warning.
206 PCAP_DO_PRAGMA(GCC diagnostic push) \
207 PCAP_DO_PRAGMA(GCC diagnostic ignored "-Wformat-truncation=")
209 PCAP_DO_PRAGMA(GCC diagnostic pop)
216 * Neither Visual Studio, nor Clang 2.8 or later, nor GCC 4.6 or later
264 * This is GCC 4.6 or later, or a compiler claiming to be that.
265 * We can use "GCC diagnostic ignored -Wxxx" (introduced in 4.2,
269 PCAP_DO_PRAGMA(GCC diagnostic ignored "-Wshadow") \
270 PCAP_DO_PRAGMA(GCC diagnostic ignored "-Wunreachable-code")
273 * Neither Clang 2.8 or later nor GCC 4.6 or later or a compiler
307 * This is GCC 4.6 or later, or a compiler claiming to be that.
308 * We can use "GCC diagnostic ignored -Wxxx" (introduced in 4.2,
312 PCAP_DO_PRAGMA(GCC diagnostic ignored "-Wunreachable-code")
315 * Neither Clang 2.8 or later nor GCC 4.6 or later or a compiler
323 * GCC needs this on AIX for longjmp().
328 * warning! GCC trusts it enough for the process to segfault if the control