Error when compiling projects with Rad-Studio XE

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Technicon
Newbie
Newbie
Posts: 43
Joined: Thu Aug 11, 2016 12:00 am
Contact:

Error when compiling projects with Rad-Studio XE

Post by Technicon » Mon Nov 07, 2016 7:03 am

Hi,

I've upgrade to the newest version of TeeChartPro 2016.19 and when building my projects I get error messages:
[BCC32 Error] TeeMapSeries.hpp(240): E2285 Could not find a match for 'TTeePolygons::DynamicArray(int)'
Full parser context
Main.cpp(6): #include Main.h
Main.h(26): #include c:\Components\TeeChartPro\Compiled\Delphi15\Include\TeeImport.hpp
TeeImport.hpp(25): #include c:\Components\TeeChartPro\Compiled\Delphi15\Include\TeeWorldSeries.hpp
TeeWorldSeries.hpp(28): #include c:\Components\TeeChartPro\Compiled\Delphi15\Include\TeeMapSeries.hpp
TeeMapSeries.hpp(32): namespace Teemapseries
TeeMapSeries.hpp(221): class TTeePolygonGroups
[BCC32 Error] TeeMapSeries.hpp(240): E2031 Cannot cast from 'int' to 'TTeePolygons'
Full parser context
Main.cpp(6): #include Main.h
Main.h(26): #include c:\Components\TeeChartPro\Compiled\Delphi15\Include\TeeImport.hpp
TeeImport.hpp(25): #include c:\Components\TeeChartPro\Compiled\Delphi15\Include\TeeWorldSeries.hpp
TeeWorldSeries.hpp(28): #include c:\Components\TeeChartPro\Compiled\Delphi15\Include\TeeMapSeries.hpp
TeeMapSeries.hpp(32): namespace Teemapseries
TeeMapSeries.hpp(221): class TTeePolygonGroups
I'm using Rad-Studio XE (C++ personality).

Best Regards,
Grzegorz

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Error when compiling projects with Rad-Studio XE

Post by Yeray » Mon Nov 07, 2016 4:06 pm

Hello Grzegorz,

We are investigating the cause of the problem.
In the meanwhile the error doesn't appear if you edit the TeeMapSeries.hpp changing the line:

Code: Select all

    HIDESBASE TTeePolygonGroup* __fastcall Add(const System::UnicodeString AName, const System::UnicodeString ACode = L"", const TTeePolygons AShapes = (TTeePolygons)(0x0));
For this:

Code: Select all

    HIDESBASE TTeePolygonGroup* __fastcall Add(const System::UnicodeString AName, const System::UnicodeString ACode = L"", const TTeePolygons* AShapes = (TTeePolygons*)(0x0));
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Technicon
Newbie
Newbie
Posts: 43
Joined: Thu Aug 11, 2016 12:00 am
Contact:

Re: Error when compiling projects with Rad-Studio XE

Post by Technicon » Wed Nov 09, 2016 11:56 am

Hello

It works. Thank You.

Post Reply