dereferencing type-punned pointer will break strict-aliasing rules
dereferencing type-punned pointer will break strict-aliasing rules
- Subject: dereferencing type-punned pointer will break strict-aliasing rules
- From: Ulf Dunkel <email@hidden>
- Date: Wed, 17 May 2006 16:40:46 +0200
- Organization: invers Software
I create UB "deployment" builds of a project and get masses of warnings
"dereferencing type-punned pointer will break strict-aliasing rules" then.
When I build "development native" on a PowerPC Mac, no such warning is
shown.
Googling around I found that GCC sets a flag -fstrict-aliasing when -O2
is set. This seems to lead to these warnings when building for Intel Macs.
How do I tell GCC in XCode that it should use -fno-strict-aliasing?
--
Bis bald / See you soon / A bientôt / Tot ziens / Ghis revido
invers Software Vertrieb - Inh. Ulf Dunkel
mailto:email@hidden - http://www.calamus.net
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden