> Thanks. I've never had to use that in Delphi since it defaults to GUI if > there is no $APPTYPE directive. Would it make sense for FPC to default to > GUI if compiled in Delphi compatibility mode? I'm new to FPC so I don't > know if that has been discussed before.
That is a Win32 (maybe also MacOSX?) only issue. On other platforms the default is to have a console. > Incidentally, can there be a warning printed out when the $APPTYPE > directive > is in the wrong place and has no effect? It already gives a warning: p.pp(4,2) Warning: Misplaced global compiler switch _______________________________________________ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal