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
[...]
./tcpdump.c:1217:27: warning: C++ style comments are not allowed in ISO C90
./tcpdump.c:1217:27: warning: (this will be reported only once per input file)

[...]

Perhaps portability problems ...


Francois-Xavier



----- Original Message -----
> 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 compiler supports -W 
> options". 
>> 
>>  Cooll.. can we copy and paste :-)
> 
> Wireshark's configuration scripts are GPLed, along with the rest of 
> Wireshark, so, in principle, that might be a problem.
> 
> I didn't originally write that macro, so I can't just relicense it.
> 
> I don't know whether anybody'd care, however.  (I've moved stuff of 
> mine between Wireshark and tcpdump/libpcap configure scripts in the past.)
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers@lists.tcpdump.org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers

Reply via email to