radvd-project / radvd

radvd | Official repository: https://github.com/radvd-project/radvd
https://radvd.litech.org/
Other
203 stars 107 forks source link

-Wno-strict-aliasing hides an error, -fno-strict-aliasing must be used instead #15

Closed pavlix closed 10 years ago

pavlix commented 10 years ago

It's important to tell the compiler not to assume strict aliasing rules instead of just not printing out the warning.

Downstream bug report:

https://bugzilla.redhat.com/show_bug.cgi?id=1045179

More information on -Wno-strict-aliasing and -fno-strict-aliasing

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487310

http://ubuntuforums.org/showthread.php?t=1300782

reubenhwk commented 10 years ago

Thanks for the report. I'll look into it.

reubenhwk commented 10 years ago

Can you take a look at the commit cccce0f4650266f8a173a6e950dbbae0e432bb1f?

Is this what you want?

pavlix commented 10 years ago

Yep, that's it. Thanks!