John Smith wrote:
> 
> Im running Linux, Red Hat Enterprise Linux 4, and srt the additonal
> CFLAGS '-Wshadow -Wpointer-arith -Wcast-qual -W'.
> 
> 

-Wshadow will cause various warnings when building the current Wireshark 
source. Make errors will therefore occur since Wireshark is compiled 
with 'treat all warnings as errors' (for the most part).
(I know since I've been gradually fixing -Wshadow warnings).

I would expect that there will also be warnings (and thus make errors) 
for -Wcast-qual.

-Wpointer-arith is (as far as I can see) is already included in the 
default CFLAGS.

I suggest not using the extra CFLAGS if you want to build Wireshark w/o 
warnings.... (and thus Make errors).

Alternatively, you'll need to remove the -Werror.







_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
https://wireshark.org/mailman/listinfo/wireshark-dev

Reply via email to