What do you mean? Lazarus doesn't add -WG when creating projects for console programs.
The default compiler setting on Windows is to have -WG set for all project types.
(I.o.w. the "Win32 GUI application" checkbox is checked by default in Co,piler Options->Config and Target)
Bart
No, unless you check "Set compiler options as default" when "Win32 GUI application" is checked (and press "OK" button, of course).
Moreover, if you do this when "Win32 GUI application" is unchecked, projects for GUI Applications will be created without -WG.
At least this is so at my Lazarus 2.2.4.
You can verify this by looking in Lazarus config folder (C:\Users\...\AppData\Local\Lazarus by default) for file projectoptions.xml. If it is there, delete it, and see how different projects are created.