Wireshark-dev: [Wireshark-dev] Compile warnings using CFLAGS '-Wshadow -Wpointer-arith -Wcast-q
From: "John Smith" <[email protected]>
Date: Mon, 23 Jun 2008 21:40:50 +0200

Ive just compiled wireshark, and when adding the CFLAGS '-Wshadow
-Wpointer-arith -Wcast-qual -W -Wall' I get a lot of compiler warnings
similar to the ones below :

declaration of 'foo' shadows a previous local
declaration of 'foo' shadows a global declaration
declaration of 'foo' shadows a parameter
cast discards qualifiers from pointer target type
'foo' defined but not used
this decimal constant is unsigned only in ISO C90
integer constant is too large for "unsigned long" type

Perhaps some of these need to be looked into by the developers ?

Ive added the full compile log as an attachment for details.


John Smith.

Attachment: wireshark.compile.log.gz
Description: GNU Zip compressed data