![]() |
Build Error v15.2.1 with VC .NET 2003 |
Post Reply
|
| Author | |
jimmy
Senior Member
Joined: 11 November 2003 Location: Austria Status: Offline Points: 516 |
Post Options
Thanks(0)
Quote Reply
Topic: Build Error v15.2.1 with VC .NET 2003Posted: 14 December 2011 at 4:27am |
|
Hello,
While compile ChartPro Samples i get follow errors Kompilieren... LogarithmicView.cpp m:\softint\Ext-Bibliotheken\Codejock\Xtreme ToolkitPro v15.2.1\Samples\Chart\ChartBrowser\LogarithmicView.cpp(107) : error C2666: 'pow': 7 Überladungen haben ähnliche Konvertierungen c:\Programme\Microsoft Visual Studio .NET 2003\Vc7\include\math.h(620): kann 'long double pow(long double,int)' sein c:\Programme\Microsoft Visual Studio .NET 2003\Vc7\include\math.h(618): oder 'long double pow(long double,long double)' c:\Programme\Microsoft Visual Studio .NET 2003\Vc7\include\math.h(572): oder 'float pow(float,int)' c:\Programme\Microsoft Visual Studio .NET 2003\Vc7\include\math.h(570): oder 'float pow(float,float)' c:\Programme\Microsoft Visual Studio .NET 2003\Vc7\include\math.h(534): oder 'double pow(int,int)' c:\Programme\Microsoft Visual Studio .NET 2003\Vc7\include\math.h(532): oder 'double pow(double,int)' c:\Programme\Microsoft Visual Studio .NET 2003\Vc7\include\math.h(195): oder 'double pow(double,double)' bei Anpassung der Argumentliste '(int, double)' Solution: change 10 to 10. Old: pSeries->GetPoints()->Add(new CXTPChartSeriesPoint(x, pow(10, x))); New: pSeries->GetPoints()->Add(new CXTPChartSeriesPoint(x, pow(10., x))); greetings Jimmy |
|
![]() |
|
SuperMario
Senior Member
Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
Quote Reply
Posted: 14 December 2011 at 12:08pm |
|
Thanks, updated our sources.
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |