Problem upgrading from TeeChart Pro v9.07 to v2013.09
Posted: Wed Jan 29, 2014 11:23 am
I am attempting to upgrade TeeChart Pro from v9.07 to v2013.09, for use within C++Builder 2007 (and XE3).
Between these two versions, I understand that the default render settting has been changed from GDI to GDI+. I am now gettting the following compiler errors:
[C++Error] Teegdipapi.hpp(1179): Type mismatch in redeclaration of 'std::_max_flt'
[C++Error] float.h(90): Ealier declaration of 'std::_max_flt'
looking at the offending files, I see the following definitions of _max_flt:
In Teegdipapi.hpp:
static const Extended FLT_MAX = 3.402823E+38;
where Extended is defined earlier as
typedef long double Extended; // in sysmac.h(359)
and FLT_MAX is defined by a macro in float.h as:
#define FLT_MAX std::_max_flt
In float.h: std::_max_flt':
namespace std {
// lines omitted
extern float _RTLENTRY _EXPDATA _max_flt;
// lines omitted
}
There appears no way to exclude the header Teegdipapi.hpp from my code, despite me setting the default render mode to GDI, because C++Builde automaically addes this header in for me, in the unit containing the TeeChart component.
Please help! What can I do?
Previously, when I attempted to upgrade TeeChart Pro from v9.07 to v2013.08, I hit all sorts of problems with GDI+, owing to the files GDIPAPI.hpp, GDIPOBJ.hpp, Winapi.GDIPAPI.hpp and/or Winapi.GDIPOBJ.hpp being missing from the "\include\windows\rtl" folder fllowing a standard installation. My solution was to abandon v2013.08 for the time being. See forum post here for details: http://www.teechart.net/support/viewtop ... 418#p62418.
I am unable to upgrade to the latest version of TeeChart FOR THE SECOND TIME running. Since I have recently re-subscribed to the component, I feel I have wasted my money. Unless you can provide a suitable solution, I will no options but to abandon TeeChart for a more reliable charting component.
Andrew Bond
Between these two versions, I understand that the default render settting has been changed from GDI to GDI+. I am now gettting the following compiler errors:
[C++Error] Teegdipapi.hpp(1179): Type mismatch in redeclaration of 'std::_max_flt'
[C++Error] float.h(90): Ealier declaration of 'std::_max_flt'
looking at the offending files, I see the following definitions of _max_flt:
In Teegdipapi.hpp:
static const Extended FLT_MAX = 3.402823E+38;
where Extended is defined earlier as
typedef long double Extended; // in sysmac.h(359)
and FLT_MAX is defined by a macro in float.h as:
#define FLT_MAX std::_max_flt
In float.h: std::_max_flt':
namespace std {
// lines omitted
extern float _RTLENTRY _EXPDATA _max_flt;
// lines omitted
}
There appears no way to exclude the header Teegdipapi.hpp from my code, despite me setting the default render mode to GDI, because C++Builde automaically addes this header in for me, in the unit containing the TeeChart component.
Please help! What can I do?
Previously, when I attempted to upgrade TeeChart Pro from v9.07 to v2013.08, I hit all sorts of problems with GDI+, owing to the files GDIPAPI.hpp, GDIPOBJ.hpp, Winapi.GDIPAPI.hpp and/or Winapi.GDIPOBJ.hpp being missing from the "\include\windows\rtl" folder fllowing a standard installation. My solution was to abandon v2013.08 for the time being. See forum post here for details: http://www.teechart.net/support/viewtop ... 418#p62418.
I am unable to upgrade to the latest version of TeeChart FOR THE SECOND TIME running. Since I have recently re-subscribed to the component, I feel I have wasted my money. Unless you can provide a suitable solution, I will no options but to abandon TeeChart for a more reliable charting component.
Andrew Bond