[Lazarus] Word of warning when sharing code between Delphi and FPC

Graeme Geldenhuys graemeg.lists at gmail.com
Fri Aug 29 09:58:33 CEST 2008


On Fri, Aug 29, 2008 at 9:27 AM, Mattias Gärtner
<nc-gaertnma at netcologne.de> wrote:
>
> Will FPC do the same in Delphi mode?
>

It's nothing todo with the compiler, it's the IDE that injects
'-dDebug' when the project is compiled in Debug mode.  I would guess
(though not tested), that '-dRelease' is injected when Release mode is
used in the IDE.


Regards,
 - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/




More information about the Lazarus mailing list