Re: [Wireshark-dev] [Wireshark-commits] rev 22661: /trunk/ /trunk/aclocal-fallback/: libsmi.m4 /trunk/epan/: oids.c /trunk/: configure.in

2007-08-27 Thread Jaap Keuter
Hi, Included remarks inline Thanx, Jaap Luis EG Ontanon wrote: > If you try to compile packet-user_encap.c do you get the same error Yes, same warning. Doesn't stop the build since it's not a 'clean' dissector. > and epan/dfilter/dfilter-macro.c what happens with that? No warnings here.

Re: [Wireshark-dev] [Wireshark-commits] rev 22661: /trunk/ /trunk/aclocal-fallback/: libsmi.m4 /trunk/epan/: oids.c /trunk/: configure.in

2007-08-27 Thread Luis EG Ontanon
If you try to compile packet-user_encap.c do you get the same error and epan/dfilter/dfilter-macro.c what happens with that? can you try void** sm = &(smi_modules); and then passing sm to uat_new() or cast it to (void*) instead of (void**) or passing &((void*)smi_modules) On 8/27/07,

Re: [Wireshark-dev] [Wireshark-commits] rev 22661: /trunk/ /trunk/aclocal-fallback/: libsmi.m4 /trunk/epan/: oids.c /trunk/: configure.in

2007-08-27 Thread Jaap Keuter
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*

Re: [Wireshark-dev] [Wireshark-commits] rev 22661: /trunk/ /trunk/aclocal-fallback/: libsmi.m4 /trunk/epan/: oids.c /trunk/: configure.in

2007-08-27 Thread Luis EG Ontanon
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* dumm

Re: [Wireshark-dev] [Wireshark-commits] rev 22661: /trunk/ /trunk/aclocal-fallback/: libsmi.m4 /trunk/epan/: oids.c /trunk/: configure.in

2007-08-27 Thread Luis EG Ontanon
On 8/27/07, Joerg Mayer <[EMAIL PROTECTED]> wrote: > On Mon, Aug 27, 2007 at 08:47:22AM +0200, Thomas Anders wrote: > > Shouldn't the default for --with-net-snmp be changed from "ifavailable" > > to "no" now? There's more cleanup required, of course, but that'd be a > > start. > > I think that shou

Re: [Wireshark-dev] [Wireshark-commits] rev 22661: /trunk/ /trunk/aclocal-fallback/: libsmi.m4 /trunk/epan/: oids.c /trunk/: configure.in

2007-08-27 Thread Joerg Mayer
On Mon, Aug 27, 2007 at 08:47:22AM +0200, Thomas Anders wrote: > Shouldn't the default for --with-net-snmp be changed from "ifavailable" > to "no" now? There's more cleanup required, of course, but that'd be a > start. I think that should only be done once all dissectors of net-snmp have been conv

Re: [Wireshark-dev] [Wireshark-commits] rev 22661: /trunk/ /trunk/aclocal-fallback/: libsmi.m4 /trunk/epan/: oids.c /trunk/: configure.in

2007-08-27 Thread Jaap Keuter
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]: *** [

Re: [Wireshark-dev] [Wireshark-commits] rev 22661: /trunk/ /trunk/aclocal-fallback/: libsmi.m4 /trunk/epan/: oids.c /trunk/: configure.in

2007-08-26 Thread Thomas Anders
Luis EG Ontanon wrote: > This changes the configure scripits, you folks need to: > make mantainerclean > sh ./autogen.sh > ./configure > make > > > On 8/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=22661 >> >> User: lego >

Re: [Wireshark-dev] [Wireshark-commits] rev 22661: /trunk/ /trunk/aclocal-fallback/: libsmi.m4 /trunk/epan/: oids.c /trunk/: configure.in

2007-08-25 Thread Luis EG Ontanon
This changes the configure scripits, you folks need to: make mantainerclean sh ./autogen.sh ./configure make On 8/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=22661 > > User: lego > Date: 2007/08/25 08:28 PM > > Log: > get