Issue 17901 - IRIX: sw - expression must be an lvalue
Summary: IRIX: sw - expression must be an lvalue
Status: CLOSED WONT_FIX
Alias: None
Product: porting
Classification: Code
Component: code (show other issues)
Version: OOo 1.1 RC
Hardware: SGI IRIX
: P3 Trivial (vote)
Target Milestone: AOO PleaseHelp
Assignee: sander_traveling
QA Contact: issues@porting
URL:
Keywords:
Depends on:
Blocks: 809
  Show dependency tree
 
Reported: 2003-08-06 01:55 UTC by nickb
Modified: 2010-03-29 20:59 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description nickb 2003-08-06 01:56:37 UTC
CC -c -I.  -I. -I../inc -I../../../inc -I../../../unx/inc
-I../../../unxirxm3.pro/inc -I.
-I/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/solver/645/unxirxm3.pro/inc/stl
-I/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/solver/645/unxirxm3.pro/inc/external
-I/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/solver/645/unxirxm3.pro/inc
-I/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/solenv/unxirxm3/inc
-I/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/solenv/inc
-I/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/res
-I/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/solver/645/unxirxm3.pro/inc/stl
-I/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/solenv/inc/Xp31
-I/usr/java2/include -I/usr/java2/include/irix
-I/usr/java2/include/native_threads/include     -I. -I../../../res -I. -O2 -g  
-LANG:ansi-for-init-scope=OFF -LANG:std -LANG:libc_in_namespace_std=ON
-LANG:exceptions=OFF   -KPIC -DIRIX -DUNX -DVCL -DC730 -DC730 -DMIPS -DCVER=C730
-D_USE_NAMESPACE -DSTLPORT_VERSION=0x450 -D_USE_NAMESPACE=1 -DNEW_SOLAR
-DSGI_STL -D__STL_THROW_RANGE_ERRORS -D__DMAKE -DUNIX -DCPPU_ENV=MipsPro
-DSUPD=645 -DBUILD=8639 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0
-DOPTIMIZE -DEXCEPTIONS_OFF -DCUI -DSOLAR_JAVA -DSRX645  -DNUM_RELSPACE
-DVERTICAL_LAYOUT -DACCESSIBLE_LAYOUT -DBIDI -DSHAREDLIB -D_DLL_  -DMULTITHREAD
 -w -o ../../../unxirxm3.pro/slo/dpage.o
/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/sw/source/core/draw/dpage.cxx
cc-1125 CC: ERROR File =
/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/sw/source/core/draw/dpage.cxx,
Line = 345
  Expression must be an lvalue.

                                        aPt = (Point&)(Size&)pWindow->LogicToPixel(
                                                             ^

1 error detected in the compilation of
"/build1/nickb/openoffice/workarea/11rc/oo_1.1rc_src/sw/source/core/draw/dpage.cxx".
Comment 1 nickb 2003-08-06 02:02:10 UTC
Changing:
aPt = (Point&)(Size&)pWindow->LogicToPixel(
to
Size aSz;
aSz = pWindow->LogicToPixel(...);
aPt = (Point &)aSz;

Kept everything happy (not sure I see a difference between the two, but
anyway).
Comment 2 Martin Hollmichel 2003-08-07 15:56:29 UTC
set target milestone to 1.1.1
Comment 3 nickb 2003-08-11 02:32:28 UTC
sw/source/core/frmedt/fefly1.cxx - has the same problem.
Comment 4 Martin Hollmichel 2003-10-17 08:21:20 UTC
reassigned.
Comment 5 sander_traveling 2003-12-04 04:40:31 UTC
changig to started - waiting for next open 1.1.1 cws to commit
Comment 6 caolanm 2010-03-29 20:59:05 UTC
per issue 106845 sb removed the partial irix port, so this doesn't make sense in
isolation anymore
Comment 7 caolanm 2010-03-29 20:59:24 UTC
closing