[Lazarus] Warning: APPTYPE is not supported by the target OS

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Tue Jan 25 09:20:56 CET 2011



On Tue, 25 Jan 2011, Frank Church wrote:

> When I compile a Windows app in Linux, I get this message
>
> systemDM.lpr(2,2) Warning: APPTYPE is not supported by the target OS
>>
>
> What does it mean?

It means that on Linux, there is no difference between graphical and console
applications. The setting has therefor no meaning, and the compiler warns
about this. You can avoid this warning by enclosing it in an ifdef:

{$ifdef windows}
{$APPTYPE whatever}
{$endif}

Michael.




More information about the Lazarus mailing list