Hi,

Sorry, no luck :-(

Thanx,
Jaap


Luis EG Ontanon wrote:
> I got it... Optimizer is smart enough to reduce struct smi_module_t {
> char* name; } into char* but not insightfull enought to knwo it did it
> itself.
> 
> if you change (in line 179)
> 
> typedef struct smi_module_t {
>       char* name;
> } smi_module_t;
> 
> to
> 
> typedef struct smi_module_t {
>          void* dummy;
>       char* name;
> } smi_module_t;
> 
> 
> Is the warning gone?
> 
> Luis
> 
> 
> On 8/27/07, Jaap Keuter <[EMAIL PROTECTED]> wrote:
>> 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
>>>
_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev

Reply via email to