Jump to content
Sign in to follow this  
bdw_nz20

Raize RzCommon.hpp unknow _DELPHI_CONST in v12

Recommended Posts

RzCommon.hpp has the code :-

 

//-- var, const, procedure ---------------------------------------------------
#define RaizeComponents_Version L"7.0.0"
static _DELPHI_CONST System::Word cm_GetBlinking = System::Word(0x8fb);

 

This produced the bcc32c Error :-

[bcc32c Error] RzCommon.hpp(647): unknown type name '_DELPHI_CONST'
[bcc32c Error] RzCommon.hpp(647): cannot define or redeclare 'Word' here because namespace 'Rzcommon' does not enclose namespace 'System'
[bcc32c Error] RzCommon.hpp(647): expected ';' after top level declarator

 

So I just dropped a RzPanel on a blank form and get the above error.

 

Looking back at older compiles that line is compiled without the _DELPHI_CONST in the past....any ideas why RAD12 is producing that in the header files ?

 

This is with Patch 1 installed.

 

Share this post


Link to post

well a work workaround is to add :

 

#define _DELPHI_CONST const

 

I mean why is even the basics not tested

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×