On Sun, Jul 21, 2013 at 05:33:30PM +0200, Joerg Mayer wrote:
> 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).
OK, now finished. I needed to fix a syntax error in a system include file but
after that wireshark built fine with -Werror.
[ 6%] Building C object epan/CMakeFiles/epan.dir/dissectors/packet-kerberos.c.o
In file included from /Users/jmayer/wireshark/svn/epan/dissectors/packet-kerberos.c:437:
/System/Library/Frameworks/Kerberos.framework/Headers/krb5.h:2932:8: error: extra tokens at end of #endif directive [-Wextra-tokens]
#endif \* __KERBEROS5__ */
^
//
1 error generated.
I think it is valid to expect a solution to this problem outside wireshark
(or we could add a patch to macos-setup).
> Can you please check that there is nothing cached, then you build config.h
> and then check that?
Ciao
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.