Red Hat Bugzilla – Bug 497222
package needs fixing for strict-aliasing
Last modified: 2010-03-18 02:12:34 EDT
Description of problem:
As Fedora packages are compiled with -O2, libgeotiff prints during the build following warnings which may cause unpredictable behaviour:
./geo_new.c:242: warning: dereferencing type-punned pointer will break strict-aliasing rules
./geo_print.c:492: warning: dereferencing pointer 'sptr' does break strict-aliasing rules
./geo_write.c:135: warning: dereferencing type-punned pointer will break strict-aliasing rules
For more information about this problem, read e. g. http://www.ethereal.com/lists/ethereal-dev/200309/msg00342.html.
Version-Release number of selected component (if applicable):
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.
More information and reason for this action is here:
- i use this lib in all intrinsics, no bug showed up or any data coruption.
- however i propose upstream a solution to get rid of warns.