Apache OpenOffice (AOO) Bugzilla – Issue 32096
Compile error in chart2/source/controller/dialogs/dlg_RotateDiagram.cxx on Solaris
Last modified: 2013-02-24 21:20:32 UTC
Making: ../../../unxsoli4.pro/slo/dlg_RotateDiagram.obj CC -c -temp=/tmp -I. -I. -I../inc -I../../../source/inc -I../../../inc (snip) -I. -I../../../res -I. -xarch=generic -xO3 -xspace -features=no%altspell -library=no%Cstd -KPIC -DSOLARIS -DUNX -DVCL -DC52 -DC52 -DINTEL -DCVER=C52 -D_USE_NAMESPACE -mt -D_PTHREADS -DSYSV -DSUN -DSUN4 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DSTLPORT_VERSION=400 -D__DMAKE -DUNIX -DCPPU_ENV=sunpro5 -DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC680 -DSHAREDLIB -D_DLL_ -DMULTITHREAD -o ../../../unxsoli4.pro/slo/dlg_RotateDiagram.o /export/home2/yasuaki/Down/com/office/source/x86/BuildDir/ooo_SRC680_m48_src/chart2/source/controller/dialogs/dlg_RotateDiagram.cxx "/export/home2/yasuaki/Down/com/office/source/x86/BuildDir/ooo_SRC680_m48_src/solver/680/unxsoli4.pro/inc/vcl/edit.hxx", line 275: Warning: Edit::dragEnter hides the virtual function vcl::unohelper::DragAndDropClient::dragEnter(const com::sun::star::datatransfer::dnd::DragSourceDragEvent&). (snip) line 91: Error: Overloading ambiguity between "std::pow(double, int)" and "std::pow(long double, int)". "/export/home2/yasuaki/Down/com/office/source/x86/BuildDir/ooo_SRC680_m48_src/chart2/source/controller/dialogs/dlg_RotateDiagram.cxx", line 92: Error: Overloading ambiguity between "std::pow(double, int)" and "std::pow(long double, int)". "/export/home2/yasuaki/Down/com/office/source/x86/BuildDir/ooo_SRC680_m48_src/chart2/source/controller/dialogs/dlg_RotateDiagram.cxx", line 93: Error: Overloading ambiguity between "std::pow(double, int)" and "std::pow(long double, int)". "/export/home2/yasuaki/Down/com/office/source/x86/BuildDir/ooo_SRC680_m48_src/chart2/source/controller/dialogs/dlg_RotateDiagram.cxx", line 102: Error: Overloading ambiguity between "std::pow(double, int)" and "std::pow(long double, int)". "/export/home2/yasuaki/Down/com/office/source/x86/BuildDir/ooo_SRC680_m48_src/chart2/source/controller/dialogs/dlg_RotateDiagram.cxx", line 103: Error: Overloading ambiguity between "std::pow(double, int)" and "std::pow(long double, int)". "/export/home2/yasuaki/Down/com/office/source/x86/BuildDir/ooo_SRC680_m48_src/chart2/source/controller/dialogs/dlg_RotateDiagram.cxx", line 104: Error: Overloading ambiguity between "std::pow(double, int)" and "std::pow(long double, int)". 6 Error(s) and 4 Warning(s) detected. dmake: Error code 6, while making '../../../unxsoli4.pro/slo/dlg_RotateDiagram.obj' ---* tg_merge.mk *--- ERROR: Error 65280 occurred while making /export/home2/yasuaki/Down/com/office/source/x86/BuildDir/ooo_SRC680_m48_src/chart2/source/controller/dialogs Compile error was happened in chart2 module with Sun ONE Studio 8 Compiller Collection. Type of the first argument of std::pow is "double", but Sun ONE treat "10" as "long double".
Created attachment 16772 [details] dlg_RotateDiagram.cxx pow fix patch
Hi Ingrid, could you have a look at this one please ? Frank
.
The code has moved to another file tp_3D_SceneGeometry.cxx. I have fixed it there.
Also fixed in the old file for earlier integration to the master (Childworkspace sch03).
reopen for reassign
I will have a look if the patch made it into the CWS.
Patch is applied to the new chart in CWS sch03
verified
closed