-fstrict-aliasing warnings

Bug #724180 reported by Diego Biurrun
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HIPL
Confirmed
Low
Unassigned

Bug Description

HIPL currently compiles with -fno-strict-aliasing, which is a dirty hack. The warnings should be fixed properly instead.

There are currently over 100 warnings similar to the following examples:

hipd/hadb.c: In function ‘hip_ha_hash’:
hipd/hadb.c:137: error: dereferencing type-punned pointer will break strict-aliasing rules
hipd/hadb.c: In function ‘hip_hash_peer_addr’:
hipd/hadb.c:190: error: dereferencing type-punned pointer will break strict-aliasing rules

Changed in hipl:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
David Martin (martin-lp) wrote :

As of revision 6216 on trunk (http://bazaar.launchpad.net/~hipl-core/hipl/trunk/revision/6216) the warnings are now printed again but not counted as errors. Remember to remove the exception added with this revision to configure.ac once these issues are fixed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.