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.
unable to build cppbuilder project that includes TeeTree
-
- 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
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:
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:
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.
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;
Code: Select all
TCustomTree=class;
TCustomTreePanel=TCustomTree;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: unable to build cppbuilder project that includes TeeTree
Thanks for the reply. I added the semicolon.
-
- 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
Hi wolfie,
We have modified the package compilation tool to check such cases and automatically add necessary semicolons.
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 |
Instructions - How to post in this forum |