> >>>>> "Gisle" == Gisle Vanem <gva...@broadpark.no> writes:
>     Gisle> I compile using MingW (gcc 4.7.2) and normally I use
>     Gisle> -Wall -W.
> 
> sure, I'd like to get to -Wall -Werror at some point, but for the
> moment, I want to know how to include -Wgcc-things when we are using
> gcc, and omit when we aren't.

You probably want to include (some of) them when using some
other compilers (eg clang) that are likely to support the
same options.

There are problems with -Werror for release software in that
different versions of gcc will detect different errors.
Particularly if some aggressive function inlining is done.

        David



_______________________________________________
tcpdump-workers mailing list
tcpdump-workers@lists.tcpdump.org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers

Reply via email to