From: Stephen Leake <stephen_leake@stephe-leake.org>
Subject: Re: [Q] pragma Warnings
Date: Thu, 29 Nov 2007 17:37:33 -0500
Date: 2007-11-29T17:37:33-05:00 [thread overview]
Message-ID: <uprxszniq.fsf@stephe-leake.org> (raw)
In-Reply-To: 1196276028.10481.19.camel@kartoffel
Georg Bauhaus <rm.tsoh+bauhaus@maps.futureapps.de> writes:
> Is there an alternative to placing compiler specific
> pragma Warnings in portable (pragma-wise) Ada programs?
With GNAT project files, it is easy to specify different command-line
options for different source files.
There are command line options to disable specific warnings.
So you can disable warnings at the file level (not the line level).
For non-GNAT compilers, it may be more difficult to specify different
command-line options for different files. Gnu make can do it, but it
is a pain.
--
-- Stephe
prev parent reply other threads:[~2007-11-29 22:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-28 18:53 [Q] pragma Warnings Georg Bauhaus
2007-11-28 19:56 ` Robert A Duff
2007-11-28 21:24 ` Georg Bauhaus
2007-11-29 22:37 ` Stephen Leake [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox