Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=903288
Bug ID: 903288 Summary: use -fno-strict-aliasing to fix some compilation warnings Product: Fedora Version: 18 Component: fontforge Severity: medium Priority: unspecified Reporter: pnemade@redhat.com
Created attachment 686075 --> https://bugzilla.redhat.com/attachment.cgi?id=686075&action=edit add -fno-strict-aliasing to every needed Makefile
Description of problem: I see fontforge build.log showing ufo.c:1027:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ufo.c:1031:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
spec file shows -fno-strict-aliasing added to CFLAGS but its not in effect. Attached patch will modify each needed Makefile to add that flag
Also, attached patch removes some makefile rules as they are really not needed
Version-Release number of selected component (if applicable): fontforge-20120731b-2.fc18.x86_64
How reproducible: always
Steps to Reproduce: 1. 2. 3.
Actual results:
Expected results:
Additional info: