Compilation Issues with TeeGrid in C++Builder 12

TeeGrid VCL / FMX for Embarcadero RAD Studio, Delphi, C++ Builder and Lazarus Free Pascal.
Post Reply
TT_MR
Newbie
Newbie
Posts: 1
Joined: Mon Aug 26, 2019 12:00 am

Compilation Issues with TeeGrid in C++Builder 12

Post by TT_MR » Wed Jul 24, 2024 11:05 am

I recently installed the latest version of the TeeGrid library and created a new VCL project in Embarcadero® C++Builder 12 Version 29.0.51511.6924. To test the library, I added a TeeGrid component to the project. However, I encountered several compilation errors related to the TeeGrid libraries.

Here are the errors I am receiving:

[bcc32c Error] Tee.Control.hpp(80): unknown type name '_DELPHI_CONST'
[bcc32c Error] Tee.Control.hpp(80): non-friend class member 'Word' cannot have a qualified name
[bcc32c Error] Tee.Control.hpp(80): expected ';' at end of declaration list
[bcc32c Error] Tee.Renders.hpp(353): unknown type name '_DELPHI_CONST'
[bcc32c Error] Tee.Renders.hpp(353): non-friend class member 'Int8' cannot have a qualified name
[bcc32c Error] Tee.Renders.hpp(353): expected ';' at end of declaration list
[bcc32c Error] Tee.Grid.Columns.hpp(365): unknown type name '_DELPHI_CONST'
[bcc32c Error] Tee.Grid.Columns.hpp(365): non-friend class member 'Int8' cannot have a qualified name
[bcc32c Error] Tee.Grid.Columns.hpp(365): expected ';' at end of declaration list
[bcc32c Error] Tee.Grid.Bands.hpp(194): unknown type name '_DELPHI_CONST'
[bcc32c Error] Tee.Grid.Bands.hpp(194): non-friend class member 'Int8' cannot have a qualified name
[bcc32c Error] Tee.Grid.Bands.hpp(194): expected ';' at end of declaration list
[bcc32c Error] Tee.Grid.Header.hpp(54): unknown type name '_DELPHI_CONST'
[bcc32c Error] Tee.Grid.Header.hpp(54): non-friend class member 'Int8' cannot have a qualified name
[bcc32c Error] Tee.Grid.Header.hpp(54): expected ';' at end of declaration list

I would appreciate any guidance or suggestions on how to resolve these compilation errors.

Thank you for your assistance.
Maciej

Marc
Site Admin
Site Admin
Posts: 1261
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Re: Compilation Issues with TeeGrid in C++Builder 12

Post by Marc » Wed Aug 07, 2024 1:46 pm

Hello Maciej,

Apologies for the delay with this reply. We are investigating.

Regards,
Marc Meumann
Steema Support

Marc
Site Admin
Site Admin
Posts: 1261
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Re: Compilation Issues with TeeGrid in C++Builder 12

Post by Marc » Wed Aug 07, 2024 3:11 pm

... a workaround may be to set a new define.
ie.

Code: Select all

#define _DELPHI_CONST const
but we are looking to avoid the initial problem occurring.

Regards,
Marc
Steema Support

Post Reply