[ooo-build] gcc4.4: extensions broken when compiled with default -O2 optimizations

Andreas Radke a.radke at arcor.de
Sat Jun 27 14:13:02 PDT 2009


Am Sat, 27 Jun 2009 18:20:53 +0100
schrieb Caolán McNamara <caolanm at redhat.com>:

> On Sat, 2009-06-27 at 15:59 +0200, Andreas Radke wrote:
> > warning: dereferencing type-punned pointer will break
> > strict-aliasing rules
> 
> As an aside, I've an experimental patch at 
> http://qa.openoffice.org/issues/show_bug.cgi?id=101100
> for fixing the OOo-side of the strict-aliasing warnings.
> 
> C.
> 
> _______________________________________________
> ooo-build mailing list
> ooo-build at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/ooo-build
> 

patch fails with 3.1.1alpha1 here at several points:

Hunk #1 succeeded at 3272 (offset 53 lines).
Hunk #2 succeeded at 3279 (offset 53 lines).
Hunk #3 FAILED at 3289.
1 out of 3 hunks FAILED -- saving rejects to file
sw/source/filter/ww8/wrtww8.cxx.rej

patching file basctl/source/dlged/dlged.cxx
Hunk #1 succeeded at 975 (offset 1 line).
Hunk #2 succeeded at 1009 (offset 1 line).
Hunk #3 FAILED at 1020.
1 out of 3 hunks FAILED -- saving rejects to file
basctl/source/dlged/dlged.cxx.rej


-Andy


More information about the ooo-build mailing list