Apache OpenOffice (AOO) Bugzilla – Issue 10163
Failure to compile under gcc 2.95 for ww8graf.cxx
Last modified: 2003-09-08 16:56:16 UTC
The offending line is: --------------- InsertTxbxText( pSdrTextObj, &aObjSize, pRecord->aTextId.nTxBxS, pRecord->aTextId.nSequence, nGrafAnchorCp, pRetFrmFmt, (pSdrTextObj != pTrueObject) || (0 != pGroupObject), bEraseThisObject, false, 0, 0, 0, pRecord); Error is: --------------- /data/office/sw/source/filter/ww8/ww8graf.cxx /data/office/sw/source/filter/ww8/ww8graf.cxx: In method `void SwWW8ImplReader::MungeTextIntoDrawBox(SdrObject *, SvxMSDffImportRec *, long int, SwFrmFmt *)': /data/office/sw/source/filter/ww8/ww8graf.cxx:2736: no matching function for call to `SwWW8ImplReader::InsertTxbxText (SdrTextObj *&, Size *, USHORT &, USHORT &, long int &, SwFrmFmt *&, bool, bool &, bool, int, int, int, SvxMSDffImportRec *&)' /data/office/sw/source/filter/ww8/ww8graf.cxx:957: candidates are: class SwFrmFmt * SwWW8ImplReader::InsertTxbxText(SdrTextObj *, Size *, short unsigned int, short unsigned int, long int, SwFrmFmt *, bool, bool &, bool * = 0, long int * = 0, long int * = 0, bool * = 0, SvxMSDffImportRec * = 0) dmake: Error code 1, while making '../../../unxlngi3.pro/slo/ww8graf.obj'
Please have a look for this coded description.
This is known and fixed in the SRX644 series cvs diff -r1.83 -r1.84 ww8graf.cxx & cvs diff -r1.51 -r1.52 ww8par5.cxx are the required changes.
Created attachment 4074 [details] Patch to get sw to compile gcc 2.95
We have two choices: a) Apply the attached patch to OO643C (approval please) b) Move the tag to a version that works. Patch is probably the easiest way to go.
Please approve patch so that OO643C can compile gcc 2.95 without any patches.
I can confirm that the patch is good and suitable. Does that constitute sufficient approval ?
Applied patch to OO643C. Patches from up the tree, no merge required.
closed