About warnings and gcc specifics, II tried the gcc option -pedantic and I got
(among others):
[...]
./print-olsr.c:197: warning: ISO C90 does not support the '%lf' gnu_printf
format
[...]
./print-rx.c:856: warning: ISO C90 does not support the '%T' gnu_strftime format
[...]
While I'll bet that 95% of *nix systems that compile tcpdump regularly
are using gcc, I know that there remain other compilers in use.
If one wants to add -W options to the standard build, I'm wondering what
the right autoconf magic is to enable such a thing. fxlb suggested:
-Wunused
Michael Richardson m...@sandelman.ca wrote:
If one wants to add -W options to the standard build, I'm wondering what
the right autoconf magic is to enable such a thing. fxlb suggested:
-Wunused -Wunused-parameter
I compile using MingW (gcc 4.7.2) and normally I use
-Wall -W.
But this gives
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
28.03.2013, 17:55, Michael Richardson m...@sandelman.ca:
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
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
On Mar 28, 2013, at 5:37 AM, Michael Richardson m...@sandelman.ca wrote:
While I'll bet that 95% of *nix systems that compile tcpdump regularly
are using gcc, I know that there remain other compilers in use.
...at least some of which may support -W options, and at least one of which
Guy == Guy Harris g...@alum.mit.edu writes:
Guy Wireshark's configure script checks whether the GCC shell
Guy variable is yes or the CC shell variable is clang and, if
Guy true, sets a flag saying this compiler supports -W options.
Cooll.. can we copy and paste :-)
Guy There's
On Mar 28, 2013, at 4:41 PM, Michael Richardson m...@sandelman.ca wrote:
Guy == Guy Harris g...@alum.mit.edu writes:
Guy Wireshark's configure script checks whether the GCC shell
Guy variable is yes or the CC shell variable is clang and, if
Guy true, sets a flag saying this