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

Wireshark-dev: [Wireshark-dev] packet-ieee802154.c compilation error

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Tue, 02 Sep 2008 22:18:05 +0200
Hi list,

I'm running into this error for which I do not know the proper solution:

cc1: warnings being treated as errors
packet-ieee802154.c: In function �dissect_ieee802154_common�:
packet-ieee802154.c:709: error: comparison of promoted ~unsigned with unsigned
make[4]: *** [libdissectors_la-packet-ieee802154.lo] Error 1

$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.1-9' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-cld --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.3.1 (Debian 4.3.1-9)

Any hints are welcome.

Thanx,
Jaap