Wireshark mailing list archives
Re: rev 50749: /trunk/ /trunk/: CMakeLists.txt
From: Joerg Mayer <jmayer () loplof de>
Date: Sun, 21 Jul 2013 17:33:30 +0200
looks like there is no clang++ on that system but clang is there, and (using cmake), I have _U_ properly defined in config.h So the question is what is different on your system. What I did to build (relative to svn/trunk/): rm -rf build mkdir build cd build CC=clang cmake .. less config.h <== _U_ is now defined as it should make (still compiling). Can you please check that there is nothing cached, then you build config.h and then check that? Thanks Jörg On Sun, Jul 21, 2013 at 05:10:03PM +0200, Michael Tuexen 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.Yes.Are you working in a completely clean environment?Can't guarantee, but I think so. At least I don't have any other compilers installed.I will try on my wifes snow leopard (whatever xcode version that is).That is pretty old... But you can give it a try.
-- Joerg Mayer <jmayer () loplof de> We are stuck with technology when what we really want is just stuff that works. Some say that should read Microsoft instead of technology. ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Re: [Wireshark-commits] rev 50749: /trunk/ /trunk/: CMakeLists.txt Michael Tuexen (Jul 21)
- Re: rev 50749: /trunk/ /trunk/: CMakeLists.txt Joerg Mayer (Jul 21)
- Re: rev 50749: /trunk/ /trunk/: CMakeLists.txt Michael Tuexen (Jul 21)
- Re: rev 50749: /trunk/ /trunk/: CMakeLists.txt Joerg Mayer (Jul 21)
- Re: rev 50749: /trunk/ /trunk/: CMakeLists.txt Joerg Mayer (Jul 21)
- Re: rev 50749: /trunk/ /trunk/: CMakeLists.txt Alexis La Goutte (Jul 22)
- Re: rev 50749: /trunk/ /trunk/: CMakeLists.txt Guy Harris (Jul 23)
- Re: rev 50749: /trunk/ /trunk/: CMakeLists.txt Joerg Mayer (Jul 23)
- Re: rev 50749: /trunk/ /trunk/: CMakeLists.txt Michael Tuexen (Jul 21)
- Re: rev 50749: /trunk/ /trunk/: CMakeLists.txt Joerg Mayer (Jul 21)
- Re: rev 50749: /trunk/ /trunk/: CMakeLists.txt Michael Tuexen (Jul 21)
- Re: rev 50749: /trunk/ /trunk/: CMakeLists.txt Joerg Mayer (Jul 21)
- Re: rev 50749: /trunk/ /trunk/: CMakeLists.txt Michael Tuexen (Jul 21)
- Re: rev 50749: /trunk/ /trunk/: CMakeLists.txt Joerg Mayer (Jul 22)
- Re: rev 50749: /trunk/ /trunk/: CMakeLists.txt Graham Bloice (Jul 22)
- Re: rev 50749: /trunk/ /trunk/: CMakeLists.txt Joerg Mayer (Jul 22)