]> The Tcpdump Group git mirrors - tcpdump/commit
With .devel, use -W flags iff the compiler supports them.
authorGuy Harris <[email protected]>
Tue, 7 May 2013 06:54:20 +0000 (23:54 -0700)
committerGuy Harris <[email protected]>
Tue, 7 May 2013 06:54:20 +0000 (23:54 -0700)
commit7d0510cec8de0f7157050e9daaf0246d7d6c7eeb
treec098da4e30610e81919158750ef42b725bd517f4
parentd10641dd397dd24db5cd0f4f79e27af5b58c78f0
With .devel, use -W flags iff the compiler supports them.

Don't base the question of whether to use a particular -W flag on
whether we're compiling with GCC or not, and on which version of GCC
we're using; some compilers, such as clang, also support many of those
-W flags.  Base it on whether the compiler complains if we use it (which
means, for clang, that we have to force it to exit with a non-zero exit
status if it doesn't like a flag; otherwise, we'll specify it, and clang
will warn about it on every compile).
aclocal.m4
configure