unable to build cppbuilder project that includes TeeTree

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
wolfie
Newbie
Newbie
Posts: 2
Joined: Tue Nov 22, 2005 12:00 am

unable to build cppbuilder project that includes TeeTree

Post by wolfie » Thu Feb 25, 2010 10:24 pm

Hi. This is my first post!

I am a registered user of version 7 but am now evaluating ver 8 and the 2010 beta, in Rad Studio 2010, and I am having a problem.

In short, whether I install the 8.06 trial or the latest 2010 beta of TeeChart, if I include a TeeTree component in a CPPBuilder project, I get the error message that a comma (,) is expected on line 436 of TeeTree.hpp, which makes no obvious sense to me.

As I said it doesn't matter which trial I use, and it can be the simplest project imaginable, i.e., just a form with a TeeTree component on it and absolutely no additional code -- and the error shows up every time I try to compile.

This is probably something extremely simple and obvious, but it seems a big mystery to me as I never had any such similar trouble...

Has anyone else trying to use TeeTree in a CPPBuilder project seen this problem?

Thanks.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: unable to build cppbuilder project that includes TeeTree

Post by Narcís » Fri Feb 26, 2010 9:12 am

Hi wolfie,

Welcome :!:

Thanks for reporting the issue. The problem seems to be what you mentioned in Embarcadero's forums:

https://forums.embarcadero.com/thread.j ... 455#216455

Adding a semicolon at the end of TCustomTreePanel'ls definition solves the problem:

Code: Select all

typedef TCustomTree TCustomTreePanel;
Anyway, I wonder why this happens since in BDS and RAD Studio same TeeChart and TeeTree packages are used for both Delphi and C++ Builder. Actually, C++ Builder packages are generated from Delphi's so this makes me think this could be a RAD Studio bug. This is how TCustomTree and TCustomTreePanel are defined in Delphi:

Code: Select all

  TCustomTree=class;

  TCustomTreePanel=TCustomTree;
We will investigate the issue further and keep you posted. Also, if this can be reproduced consistently outside TeeChart/TeeTree it would be worth submitting the issue to Embarcadero's Quality Central too.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

wolfie
Newbie
Newbie
Posts: 2
Joined: Tue Nov 22, 2005 12:00 am

Re: unable to build cppbuilder project that includes TeeTree

Post by wolfie » Sat Feb 27, 2010 7:07 am

Thanks for the reply. I added the semicolon.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: unable to build cppbuilder project that includes TeeTree

Post by Narcís » Mon Mar 01, 2010 9:50 am

Hi wolfie,

We have modified the package compilation tool to check such cases and automatically add necessary semicolons.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply