Sign in Join

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

Mailing lists / lazarus / 2016-06

Lazarus v1.7 - where has the -WG compiler parameter setting gone?

11 messages · 5 people ·

Reply by email Subscribe to this list Your subscription

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

Graeme Geldenhuys

Hi,

Up to Lazarus v1.6 you could toggle a checkbox to say if the program is a Windows GUI application or not. In v1.7 that settings is removed, or moved somewhere I can't find it. Any hints on where it is now, or if removed completel, how that setting should be handled now with v1.7?

Regards,
Graeme

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp

Reply by email

Ondrej Pokorny
to Graeme Geldenhuys
Graeme Geldenhuys wrote 10 lines
Hi, Up to Lazarus v1.6 you could toggle a checkbox to say if the program is a Windows GUI application or not. In v1.7 that settings is removed, or moved somewhere I can't find it. Any hints on where it is now, or if removed completel, how that setting should be handled now with v1.7? Regards, Graeme

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160630/2918edf3/attachment-0001.html> -------------- next part --------------
A non-text attachment was scrubbed...
Name: pfkclgclpmblfkld.png
Type: image/png
Size: 22912 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160630/2918edf3/attachment-0001.png>

Reply by email

Graeme Geldenhuys
to Ondrej Pokorny
On 2016-06-30 10:24, Ondrej Pokorny wrote:

Thanks for the screenshot, but that setting is not there in my Lazarus. See attached screenshot.

I'm using Lazarus 1.7 r52169 FPC 2.6.4 x86_64-freebsd-gtk 2. I'll get another svn update and retest.

Regards,
Graeme

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot_laz_v1.7.png Type: image/png Size: 19851 bytes Desc: not available URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160630/25dfff43/attachment-0001.png>

Reply by email

Mattias Gaertner
to Graeme Geldenhuys
Show quoted text 7 lines
> On 2016-06-30 10:24, Ondrej Pokorny wrote: Thanks for the screenshot, but that setting is not there in my Lazarus. See attached screenshot. I'm using Lazarus 1.7 r52169 FPC 2.6.4 x86_64-freebsd-gtk 2. I'll get another svn update and retest.

It's only shown for the Windows targets.

Mattias

Reply by email

Ondrej Pokorny
to Graeme Geldenhuys: Thanks for the screenshot, but that setting is not there in my Lazarus. See attached…
Graeme Geldenhuys wrote 6 lines
> On 2016-06-30 10:24, Ondrej Pokorny wrote: Thanks for the screenshot, but that setting is not there in my Lazarus. See attached screenshot. I'm using Lazarus 1.7 r52169 FPC 2.6.4 x86_64-freebsd-gtk 2. I'll get another svn update and retest.

Maybe the setting is hidden on non-Windows platforms? I don't know if anybody changed it.

Ondrej

Reply by email

Mattias Gaertner
to Mattias Gaertner: On Thu, 30 Jun 2016 10:54:17 +0100 It's only shown for the Windows targets. Mattias
Show quoted text 12 lines
On Thu, 30 Jun 2016 10:54:17 +0100 Graeme Geldenhuys wrote: > > On 2016-06-30 10:24, Ondrej Pokorny wrote: > > Thanks for the screenshot, but that setting is not there in my Lazarus. > See attached screenshot. > > I'm using Lazarus 1.7 r52169 FPC 2.6.4 x86_64-freebsd-gtk 2. I'll get > another svn update and retest. It's only shown for the Windows targets.

... which is stupid. It should be shown always.

Mattias

Reply by email

Graeme Geldenhuys
to Mattias Gaertner
Mattias Gaertner wrote
> > It's only shown for the Windows targets.

Ah.

... which is stupid. It should be shown always.

Was about to say the exact same thing. It is bad design to show/hide components [ref: About Face 3 - The Essentials of Interaction Design] - rather disable or ignore options when appropriate.

As it is now I can't develop under Linux or FreeBSD and apply compiler settings that will be appropriate when I one day compile under Windows.

Granted the -WG setting, even when checked under FreeBSD/Linux, should be ignored, and only applied when compiling under Windows.

Regards,
Graeme

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp

Reply by email

Mattias Gaertner
to Graeme Geldenhuys
On 2016-06-30 11:03, Mattias Gaertner wrote: [...] > ... which is stupid. It should be shown always.

I changed it.

Show quoted text 6 lines
Was about to say the exact same thing. It is bad design to show/hide components [ref: About Face 3 - The Essentials of Interaction Design] - rather disable or ignore options when appropriate. As it is now I can't develop under Linux or FreeBSD and apply compiler settings that will be appropriate when I one day compile under Windows.

Yes.

Granted the -WG setting, even when checked under FreeBSD/Linux, should be ignored, and only applied when compiling under Windows.

That was always so.

Mattias

Reply by email

Unknown author
to Graeme Geldenhuys: Thanks for the screenshot, but that setting is not there in my Lazarus. See attached…
Graeme Geldenhuys wrote 7 lines
> On 2016-06-30 10:24, Ondrej Pokorny wrote: Thanks for the screenshot, but that setting is not there in my Lazarus. See attached screenshot. I'm using Lazarus 1.7 r52169 FPC 2.6.4 x86_64-freebsd-gtk 2. I'll get another svn update and retest.

you have to drop the TARGET OS box and select one of the winwhatever targets... then that option you are seeking shows up...

NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list* unless private contact is specifically requested and granted.

Reply by email