Opened 9 years ago

Closed 9 years ago

#608 closed defect (fixed)

compilation fails using g++-4.7.1: strict-aliasing warning

Reported by: jhanca Owned by:
Priority: minor Milestone: HM-7.2
Component: HM Version: HM-7.1
Keywords: g++ linux compilation Cc: fbossen, ksuehring, davidf, jct-vc@…

Description

Compilation fails whit g++-4.7.1 (strict-aliasing warning) on Linux Debian (unstable, amd64)

Compiles without any problems with g++-4.4.5, other versions not tested.

HM-7.1-dev/build/linux/lib/TLibCommon/
../../../../source/Lib/libmd5/libmd5.c:143:28: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
HM-7.1-dev/build/linux/lib/TLibCommon/
../../../../source/Lib/libmd5/libmd5.c:144:28: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
cc1plus: all warnings being treated as errors

Change History (2)

comment:1 Changed 9 years ago by DefaultCC Plugin

  • Cc fbossen ksuehring davidf jct-vc@… added

comment:2 Changed 9 years ago by davidf

  • Resolution set to fixed
  • Status changed from new to closed

This should be resolved in r2489

Note: See TracTickets for help on using tickets.

This list contains all users that will be notified about changes made to this ticket.

These roles will be notified: Reporter, Owner, Subscriber, Participant

  • David Flynn(Subscriber, Participant)
  • Frank Bossen(Subscriber)
  • jct-vc@…(Subscriber)
  • karl.sharman@…(Always)
  • Karsten Suehring(Subscriber, Always)