Compilerswitch "PRO"
In our Project there is a complerswitch "PRO" coming from our point of view from ReportBuilder.
Except in sources of Reportbuilder there is only one place of usage which is
{$IFNDEF PRO}
XXX_PRO,
{$ENDIF}
I can nowhere find any sources of XXX_PRO, but it even compiles. We are using 18.0 on Delphi XE.
Any ideas? Maybe this switch is a remnant from RB 5.56
Except in sources of Reportbuilder there is only one place of usage which is
{$IFNDEF PRO}
XXX_PRO,
{$ENDIF}
I can nowhere find any sources of XXX_PRO, but it even compiles. We are using 18.0 on Delphi XE.
Any ideas? Maybe this switch is a remnant from RB 5.56
Comments
The compiler variable "Pro" is an internal variable that should only be used by ReportBuilder. I cannot find anywhere in our current source were we check for {$IFNDEF PRO} so this must be in some altered source of yours.
However, if it doesn't cause any problems with your application, I wouldn't worry about it .
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
We set it in our project as we (unfortunately by a former developer) made changes to your sources.
Is this the switch to differentiate betwenn Stand and Pro-Version auf RB?
Yes.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
It's possible that what appears to be a "PRO" compiler switch originated from an older version of ReportBuilder, such as 5.56. Compiling without issues suggests that it may not be actively utilized in the current version. Review the assigned project thoroughly and consider removing it if there are no related codes or references found. thanks