Issue 32096 - Compile error in chart2/source/controller/dialogs/dlg_RotateDiagram.cxx on Solaris
Summary: Compile error in chart2/source/controller/dialogs/dlg_RotateDiagram.cxx on So...
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: chart (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: Sun Solaris
: P3 Trivial (vote)
Target Milestone: ---
Assignee: bjoern.milcke
QA Contact: issues@graphics
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-26 14:03 UTC by taniguchi
Modified: 2013-02-24 21:20 UTC (History)
2 users (show)

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


Attachments
dlg_RotateDiagram.cxx pow fix patch (1.94 KB, patch)
2004-07-26 14:04 UTC, taniguchi
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description taniguchi 2004-07-26 14:03:24 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".
Comment 1 taniguchi 2004-07-26 14:04:38 UTC
Created attachment 16772 [details]
dlg_RotateDiagram.cxx pow fix patch
Comment 2 frank 2004-07-26 15:04:07 UTC
Hi Ingrid,

could you have a look at this one please ?

Frank
Comment 3 IngridvdM 2004-07-26 15:31:34 UTC
.
Comment 4 IngridvdM 2004-07-27 14:30:30 UTC
The code has moved to another file tp_3D_SceneGeometry.cxx. I have fixed it there.
Comment 5 IngridvdM 2004-08-11 15:52:30 UTC
Also fixed in the old file for earlier integration to the master (Childworkspace
sch03).
Comment 6 bjoern.milcke 2004-08-17 18:04:22 UTC
reopen for reassign
Comment 7 bjoern.milcke 2004-08-17 18:04:57 UTC
I will have a look if the patch made it into the CWS.
Comment 8 bjoern.milcke 2004-08-18 10:11:43 UTC
Patch is applied to the new chart in CWS sch03
Comment 9 bjoern.milcke 2004-08-18 10:11:57 UTC
verified
Comment 10 taniguchi 2005-03-13 05:26:21 UTC
closed