Issue 10163 - Failure to compile under gcc 2.95 for ww8graf.cxx
Summary: Failure to compile under gcc 2.95 for ww8graf.cxx
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: 643C
Hardware: PC Other OS
: P3 Trivial (vote)
Target Milestone: ---
Assignee: christof.pintaske
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks: 7584
  Show dependency tree
 
Reported: 2002-12-17 12:39 UTC by foskey
Modified: 2003-09-08 16:56 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Patch to get sw to compile gcc 2.95 (1.31 KB, patch)
2002-12-17 13:44 UTC, foskey
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description foskey 2002-12-17 12:39:40 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'
Comment 1 h.ilter 2002-12-17 12:46:17 UTC
Please have a look for this coded description.
Comment 2 caolanm 2002-12-17 12:56:14 UTC
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.
Comment 3 foskey 2002-12-17 13:44:44 UTC
Created attachment 4074 [details]
Patch to get sw to compile gcc 2.95
Comment 4 foskey 2002-12-17 13:46:07 UTC
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.
Comment 5 foskey 2003-01-01 06:13:09 UTC
Please approve patch so that OO643C can compile gcc 2.95 without any
patches.
Comment 6 caolanm 2003-01-02 09:26:41 UTC
I can confirm that the patch is good and suitable. Does that
constitute sufficient approval ?
Comment 7 foskey 2003-01-02 11:09:51 UTC
Applied patch to OO643C.  Patches from up the tree, no merge required.
Comment 8 christof.pintaske 2003-03-12 16:05:31 UTC
closed