Apache OpenOffice (AOO) Bugzilla – Issue 106448
oox: make formula strict-aliasing warning safe
Last modified: 2010-07-27 10:56:12 UTC
To facilitate removing -fno-strict-aliasing we'd have to avoid making direct casts between unrelated types. Attached is a fix for oox to allow that. (e.g. see issue 106384 for similar)
Created attachment 65770 [details] patch to do this
started
dr->cmc: I wonder that you didn't change the usage of reinterpret_cast in the function lclCalcRkFromDouble() in the same file?
fixed in DEV300/dr74
the ways of gcc and aliasing are mysterious. gcc probably doesn't warn as there's no write through the aliased pointer
internal code change, verified
closing