]> git.ipfire.org Git - people/ms/rstp.git/commit
Turn off compiler strict aliasing
authorStephen Hemminger <shemminger@vyatta.com>
Wed, 18 May 2011 23:08:56 +0000 (16:08 -0700)
committerStephen Hemminger <shemminger@vyatta.com>
Wed, 18 May 2011 23:08:56 +0000 (16:08 -0700)
commit2a16118a2b99852472f8d6ec1d3d955e7efb580e
treeae23e65fcb26843a015de3d3db4adfae419589da
parent26a8656de086b649de834a80d07fd2b9ddcb593d
Turn off compiler strict aliasing

The code does things like ntohs(*(unsigned short*) b->message_age)
which break strict alias checking in gcc.
Makefile