On Wed, 08 Jun 2011 10:16:11 +0200
Michael Schnell <[email protected]> wrote:

> 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".

Yes, the "Win32" is a bit misleading.
It's interesting that the fpc -h does not even mention the parameter.

 
> With a Linux project I just uncecked the appropriate box and it compiles 
> again.
> 
> But:
> 
> - why is it auto-set in Linux ?

It was set only for LCL applications. It didn't hurt on Linux.

> - Is it _necessary_ when compiling for Windows ?

Yes.

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

Tell Microsoft.

Anyway the IDE now sets the parameter only for those OS that
supports the -WG.

Mattias

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to