Lines Matching full:gcc

90    * Suppress -Wdocumentation warnings; GCC doesn't support -Wdocumentation,
91 * at least according to the GCC 7.3 documentation. Apparently, Flex
189 * This is GCC 4.6 or later, or a compiler claiming to be that.
190 * We can use "GCC diagnostic ignored -Wxxx" (introduced in 4.2)
191 * and "GCC diagnostic push/pop" (introduced in 4.6).
194 PCAP_DO_PRAGMA(GCC diagnostic push) \
195 PCAP_DO_PRAGMA(GCC diagnostic ignored "-Wsign-compare") \
196 PCAP_DO_PRAGMA(GCC diagnostic ignored "-Wunused-parameter") \
197 PCAP_DO_PRAGMA(GCC diagnostic ignored "-Wunreachable-code")
199 PCAP_DO_PRAGMA(GCC diagnostic pop)
202 * GCC currently doesn't issue any narrowing warnings.
209 PCAP_DO_PRAGMA(GCC diagnostic push) \
210 PCAP_DO_PRAGMA(GCC diagnostic ignored "-Wdeprecated-declarations")
212 PCAP_DO_PRAGMA(GCC diagnostic pop)
216 * GCC 7.1 had introduced this warning option. Earlier versions (at least
217 * one particular copy of GCC 4.6.4) treat the request as a warning.
221 PCAP_DO_PRAGMA(GCC diagnostic push) \
222 PCAP_DO_PRAGMA(GCC diagnostic ignored "-Wformat-truncation=")
224 PCAP_DO_PRAGMA(GCC diagnostic pop)
271 * This is GCC 4.6 or later, or a compiler claiming to be that.
272 * We can use "GCC diagnostic ignored -Wxxx" (introduced in 4.2,
276 PCAP_DO_PRAGMA(GCC diagnostic ignored "-Wshadow") \
277 PCAP_DO_PRAGMA(GCC diagnostic ignored "-Wunreachable-code")
308 * This is GCC 4.6 or later, or a compiler claiming to be that.
309 * We can use "GCC diagnostic ignored -Wxxx" (introduced in 4.2,
313 PCAP_DO_PRAGMA(GCC diagnostic ignored "-Wunreachable-code")
331 * GCC warns about unused return values if a function is marked as
335 PCAP_DO_PRAGMA(GCC diagnostic push) \
336 PCAP_DO_PRAGMA(GCC diagnostic ignored "-Wunused-result")
338 PCAP_DO_PRAGMA(GCC diagnostic pop)
341 * GCC does not currently generate any -Wstrict-prototypes warnings that
347 * GCC needs this on AIX for longjmp().
352 * warning! GCC trusts it enough for the process to segfault if the control