I'm encountering the same problem building on an old RedHat 5.0 system,
using gcc 4.1.2. Was there any fix committed to add -fno-strict-aliasing
for some configurations? (there doesn't appear to be)
Gilbert
On Tue, Jun 18, 2013 at 6:09 PM, Evan Huus eapa...@gmail.com wrote:
Probably the
I have attempted a code fix to remove all the -fstrict-alias warnings
uncovered by the old version of gcc I am using.
https://code.wireshark.org/review/#/c/40/
Gilbert
On Wed, Jan 29, 2014 at 4:37 AM, Gilbert Ramirez g...@alumni.rice.eduwrote:
I'm encountering the same problem building on an
When trying to compile Wireshark (SVN trunk) on FreeBSD for the first time in a
long time, I ran across a familiar error:
dfilter-macro.c: In function 'dfilter_macro_init':
dfilter-macro.c:614: warning: dereferencing type-punned pointer will break
strict-aliasing rules
However, line
What should the fix ultimately be if one way breaks FreeBSD/gcc 4.2.1 compiles
and if it introduces C++ compatibility issues (which I'm not familiar with
since I haven't been following development for a while lately).
maybe ((void*)macros) helps?
--
Probably the simplest fix is to add -fno-strict-aliasing to the build flags on
FreeBSD.
On 2013-06-18, at 4:14 PM, Stephen Fisher stephenfisher-wiresh...@outlook.com
wrote:
When trying to compile Wireshark (SVN trunk) on FreeBSD for the first time in
a long time, I ran across a familiar