After a make distclean, gcc 3.3.1 found the following compiler warnings: configure.in:677: warning: AC_TRY_RUN called without default to allow cross compiling airopeek9.c:314: warning: comparison between signed and unsigned configure.in:175: warning: AC_TRY_RUN called without default to allow cross compiling tcp_graph.c:1012: warning: unused parameter `data' io_stat.c:252: warning: comparison between signed and unsigned io_stat.c:340: warning: comparison between signed and unsigned io_stat.c:562: warning: comparison between signed and unsigned packet-gsm_map.c:317: warning: `Dgt_tbcd' defined but not used packet-h225.c:10322: warning: comparison between signed and unsigned packet-h225.c:10324: warning: comparison between signed and unsigned packet-ldap.c:2162: warning: comparison between signed and unsigned packet-m2pa.c:430: warning: dereferencing type-punned pointer will break strict-aliasing rules packet-m3ua.c:1749: warning: dereferencing type-punned pointer will break strict-aliasing rules packet-mtp3.c:494: warning: dereferencing type-punned pointer will break strict-aliasing rules packet-tcap.c:2754: warning: dereferencing type-punned pointer will break strict-aliasing rules
Regards, Olivier | -----Original Message----- | From: Biot Olivier [mailto:[EMAIL PROTECTED] | Sent: donderdag 4 december 2003 8:29 | To: 'Guy Harris' | Cc: [EMAIL PROTECTED] | Subject: RE: [Ethereal-dev] Some compiler warnings | | | | From: Guy Harris | | | | On Dec 3, 2003, at 4:11 PM, Biot Olivier wrote: | | | | > packet-mtp3.c:494: warning: dereferencing type-punned | pointer will | | > break | | > strict-aliasing rules | | | | What version of GCC are you using, and what warning flags have you | | turned on? I'm not getting that one with the Panther GCC: | | | | % gcc --version | | gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1495) | | | | with the default compiler flags. | | Mine's gcc (GCC) 3.3.1 (cygming special). I tend to run the | most recent | tools on cygwin. | | Regards, | | Olivier | | _______________________________________________ | Ethereal-dev mailing list | [EMAIL PROTECTED] | http://www.ethereal.com/mailman/listinfo/ethereal-dev | _______________________________________________ Ethereal-dev mailing list [EMAIL PROTECTED] http://www.ethereal.com/mailman/listinfo/ethereal-dev
