False warnings
Original Reporter info from Mantis: zoltarx
-
Reporter name: Filip Golewski
Original Reporter info from Mantis: zoltarx
- Reporter name: Filip Golewski
Description:
Compiler warns about bad switch:
Warning: Illegal compiler directive "$REGION"
Warning: Illegal compiler directive "$ENDREGION"
While following sequence is found:
{$REGION 'Name'}
// code
{$ENDREGION}
It should not be treat as an error nor as a compiler directive - it is used in Delphi since at least BDS 2006 (version 13) and is somehow useful for creating blocks of code
Mantis conversion info:
- Mantis ID: 11937
- Fixed in version: 2.4.0
- Fixed in revision: 11643 (#e89ee84c)