[Bro-Dev] #644: Compile SWIG bindings with no-strict-aliasing

Bro Tracker bro at tracker.bro-ids.org
Wed Oct 19 17:01:47 PDT 2011


#644: Compile SWIG bindings with no-strict-aliasing
----------------------+--------------------
 Reporter:  robin     |      Owner:
     Type:  Problem   |     Status:  new
 Priority:  Normal    |  Milestone:  Bro1.6
Component:  Broccoli  |    Version:
 Keywords:            |
----------------------+--------------------
 The SWIG bindings generate a lot of ` warning: dereferencing type-punned
 pointer will break strict-aliasing rules` warnings.

 The right thing to do seems to compiling them with `-f no-strict-
 aliasing`. Let's add that to CFLAGS when compiling the bindings.

-- 
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/644>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker



More information about the bro-dev mailing list