Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-01

Warning: APPTYPE is not supported by the target OS

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author
to Frank Church
Frank Church wrote 6 lines
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.

Reply by email