Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 50749: /trunk/ /trunk/: CMakeLists.t

From: Michael Tuexen <Michael.Tuexen@xxxxxxxxxxxxxxxxx>
Date: Sun, 21 Jul 2013 15:41:52 +0200
On Jul 21, 2013, at 2:53 PM, jmayer@xxxxxxxxxxxxx wrote:

> http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=50749
> 
> User: jmayer
> Date: 2013/07/21 05:53 AM
> 
> Log:
> Don't check for "APPLE" if what you really mean is "clang"
Except for this doesn't work. At least on Mac OS X 10.8.4 with XCode 4.6.3
I get now tons of warnings like
[ 38%] Building C object epan/CMakeFiles/epan.dir/dissectors/packet-ieee80211-netmon.c.o
/Users/tuexen/Documents/wireshark/trunk/epan/dissectors/packet-ieee80211-netmon.c:70:82: warning: 
     unused parameter 'data' [-Wunused-parameter]
 ...*tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
                                                      ^
1 warning generated.

That is why I checked for APPLE in
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=49305
However, I agree it is not perfect.

Best regards
Michael
> 
> Directory: /trunk/
> Changes    Path              Action
> +2 -1      CMakeLists.txt    Modified
> 
> ___________________________________________________________________________
> Sent via:    Wireshark-commits mailing list <wireshark-commits@xxxxxxxxxxxxx>
> Archives:    http://www.wireshark.org/lists/wireshark-commits
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-commits
>            mailto:wireshark-commits-request@xxxxxxxxxxxxx?subject=unsubscribe
>