I had a “W1030 invalid compiler directive true” in a project that got ported from Delphi XE3 to a much more modern Delphi version.
Luckily I found [WayBack] Porting to XE5 and the “W1030 Invalid compiler directive: ‘true’” warning | The curse of Dennis D. Spreen.
The cause was this on one of the PropertyGroup
elements:
<DCC_DebugInformation>true</DCC_DebugInformation>
This correspondents to the Project Options
-> Delphi Compiler
-> Compiling
-> Debugging
setting to be true
which is not supported any more.
It is similar to When the Delphi XE5 commandline compiler fails with error F1026: File not found: ‘False.dpr’
Related: [WayBack] Embarcadero Discussion Forums: XE10 compiler war: [dcc32 Warning] W1030 Invalid compiler directive:’true’
–jeroen