[Lazarus] -WG compiler parameter issue in cross-platform projects
Felipe Monteiro de Carvalho
felipemonteiro.carvalho at gmail.com
Thu Jul 14 22:25:13 CEST 2011
On Thu, Jul 14, 2011 at 7:07 PM, Florian Klämpfl <florian at freepascal.org> wrote:
> Pretty simple: most target specific switches were never silently ignored
> if they didn't apply to the current target. A arm compiler complains
> also about a -Oppentium. -WG was one of the few examples of the group of
> the -W switches which was silently ignored, probably due to historic
> reasons.
I think that the major problem will be trying to create a
cross-platform makefile for fpc apps. I for one can create simple
makefiles, but I have no idea how to add if clauses in makefiles to
select the correct options for each platform.
Plus, while most options are optional, -WG is pretty much mandatory in
Windows GUI apps, so you can't just live without it.
--
Felipe Monteiro de Carvalho
More information about the Lazarus
mailing list