Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

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

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Sun, 21 Jul 2013 16:39:07 +0200
On Sun, Jul 21, 2013 at 03:41:52PM +0200, Michael Tuexen wrote:
> 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.

Hmm, I assume you are using clang with that xcode version.
Are you working in a completely clean environment?

I will try on my wifes snow leopard (whatever xcode version that is).

thanks
      Jörg
-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.