Apache OpenOffice (AOO) Bugzilla – Issue 14109
GCC 3.3 and " inside #if 0
Last modified: 2003-05-05 17:36:27 UTC
Hi, gcc-3.3's preprocessor have problems with unpaired " in #if 0: pavel@snowwhite:/tmp> cat q.c #if 0 " #endif pavel@snowwhite:/tmp> cpp q.c # 1 "q.c" # 1 "<built-in>" # 1 "<command line>" # 1 "q.c" q.c:2:1: missing terminating " character We use this code in chaos/source/core/cntpool.cxx: --- cntpool.cxx~ 2003-05-05 11:35:46.000000000 +0200 +++ cntpool.cxx 2003-05-05 11:35:46.000000000 +0200 @@ -73,7 +73,7 @@ CntSeenStatusItem -> cntsitem.hxx + cxx CntStringItem -> cstritem.hxx + cxx CntNameItem -> cntvwitm.hxx + cxx -CntPriorityItem -> - " - +CntPriorityItem -> - "" - CntMessageBodyItem -> cntmbitm.hxx + cxx CntItemListItem -> ilstitem.hxx + cxx CntOutMsgInternalStateItem -> outitems.hxx + cxx @@ -83,7 +83,7 @@ cntvwitm: CntResId CntWIDSetItem -> widsitem.hxx ilstitem: CntCrossReferenceItem -> cntxref.hxx -mbxformt: CntCrossReferenceItem -> - " - +mbxformt: CntCrossReferenceItem -> - "" - CntRangesItem -> cntrange.hxx //=========================================================================
Patch applied -> fixed as cntpool.cxx, r1.7.4.1 with tag 'cws_srx644_ooo11beta2'.
Thank you.