Lazarus
Free Pascal => General => Topic started by: julkas on November 12, 2019, 02:12:01 pm
-
Where I can find definition of following options / defines -
-dBorland -dVer150 -dDelphi7 -dCompiler6_Up -dPUREPASCAL?
-
Judging from the names these are probably defined in some include file (jedi.inc is a good candidate should you work with a 3rd party source). Neither FPC nor any of the Lazarus packages defines these.
-
Yes, these are mostly to deal with Delphi specific versioning, and don't relate to FPC which has its own versioning.
-
-dXXXX means simply to instruct the compiler to define a certain option that resides anywhere in the source code. Any option as possibly defined like -dwhatever will be parsed ($ifdef whatever}... {$endif}
-
Judging from the names these are probably defined in some include file (jedi.inc is a good candidate should you work with a 3rd party source). Neither FPC nor any of the Lazarus packages defines these.
Seems you are right.