Apache OpenOffice (AOO) Bugzilla – Issue 26654
build fails in sch with preprocessor error (non-product build)
Last modified: 2013-02-24 21:22:22 UTC
Using gcc.real (GCC) 3.3.3 (Debian) and cws_src680_ooo20040329 I get errors like this openoffice.org-src680_ooo20040329/sch/source/ui/func/fudatrow.cxx:139:61: pasting ""SCH(%lx):"" and ""SchFuDataRowPoint::SchFuDataRowPoint"" does not give a valid preprocessing token The Problem lies in the CHART_TRACE* macros. #define CHART_TRACE( w ) DBG_TRACE1( "SCH(%lx):" ##w, (long)this ) Preprocessing x##y yields xy where x, y, and xy are tokens. Preprocessing #y yields "y", thus "foo" #bar yields "foo" "bar", i.e. "foobar". Thus #w is needed, not ##w.
Created attachment 13892 [details] Patch (change ##w to #w)
Hi Bjoern, pls have a look.
Patch applied
Target was wrong.
verified
Patch applied in build SRC680m48.
.
Closing as patch was successfully applied.