Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 22661: /trunk/ /trunk/aclocal-fallba

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Mon, 27 Aug 2007 09:20:25 +0200
Hi,

My build breaks on oids.c

cc1: warnings being treated as errors
oids.c: In function 'register_mibs':
oids.c:464: warning: dereferencing type-punned pointer will break strict-aliasing rules oids.c:476: warning: dereferencing type-punned pointer will break strict-aliasing rules
make[1]: *** [libwireshark_la-oids.lo] Error 1
make[1]: Leaving directory `/home/jaap/src/wireshark/trunk/epan'
make: *** [all-recursive] Error 1

$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --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.1.3 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.3 20070812 (prerelease) (Debian 4.1.2-15)

If I follow the tip on http://publib.boulder.ibm.com/infocenter/tpfhelp/current/index.jsp?topic=/com.ibm.ztpf-ztpfdf.doc_put.cur/gtpm1/m1rhpun.html
but uat_new() isn't happy with that.

Thanx,
Jaap

Luis EG Ontanon wrote:
This changes the configure scripits, you folks need to:
make mantainerclean
sh ./autogen.sh
./configure
make