Page 1 of 1

Compilation Issues with TeeGrid in C++Builder 12

Posted: Wed Jul 24, 2024 11:05 am
by 18686903
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

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

Posted: Wed Aug 07, 2024 1:46 pm
by Marc
Hello Maciej,

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

Regards,
Marc Meumann

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

Posted: Wed Aug 07, 2024 3:11 pm
by Marc
... 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