[Lazarus] Illegal parameter: -WG

Michael Schnell mschnell at lumino.de
Wed Jun 8 10:16:11 CEST 2011


On 06/07/2011 03:39 PM, silvioprog wrote:
> Someone using FPC 2.5.1 and Laz 0.9.31 on Linux is experiencing this problem?
>
> Do not know if the same happens in Windows, but ...
It's a linker parameter saying: "Win32 GUI application".

With a Linux project I just uncecked the appropriate box and it compiles 
again.

But:

- why is it auto-set in Linux ?
- Is it _necessary_ when compiling for Windows ?

IMHO the same project should be compilable on Windows and Linux without 
modification !

Thanks,
-Michael





More information about the Lazarus mailing list