From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: Bug or feature?
Date: Wed, 14 May 2014 18:35:05 -0400
Date: 2014-05-14T18:35:05-04:00 [thread overview]
Message-ID: <wccegzwyoo6.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: ll0ob6$pj1$1@loke.gir.dk
"Randy Brukardt" <randy@rrsoftware.com> writes:
> gnatmake
> C457003.adb -eS -gnat12 -O0 -gnatE -gnato -gnatv -gnatws -gnatd7 -bargs - T0
Of those, only "-gnatE", "-gnato", and "-bargs -T0" are needed for
standards conformance. And as I said, "-gnato" is no longer, or soon
will no longer be needed.
The above options are definitely not what the OP should be using.
For example, don't use -gnatE unless you are porting a large program
to GNAT and it won't work otherwise.
> Some of these are about warnings and disabling of optimizations, and of
> course -gnat12 sets Ada 2012 mode (which I think is the default these days).
Right, Ada 2012 is now the default.
> [B-Tests also need -gnatf and -gnatq, but that's not important to most since
> they're not worried about broken programs.]
>
> I use that set of options anytime I'm compiling test programs from GNAT
> (including the ones that appear here), because several of them are needed to
> get standard behavior. GNAT's default behavior might be "better" in some
> ways, but it's confusing because it doesn't necessarily do what you'll find
> in an Ada book.
Yes, it is confusing.
- Bob
next prev parent reply other threads:[~2014-05-14 22:35 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-14 19:06 Bug or feature? Laurent
2014-05-14 19:57 ` Adam Beneschan
2014-05-14 20:15 ` Adam Beneschan
2014-05-14 21:24 ` Laurent
2014-05-14 21:37 ` Adam Beneschan
2014-05-14 22:02 ` Robert A Duff
2014-05-14 22:25 ` Adam Beneschan
2014-05-14 21:42 ` Robert A Duff
2014-05-15 8:51 ` Georg Bauhaus
2014-05-14 21:48 ` Randy Brukardt
2014-05-14 22:35 ` Robert A Duff [this message]
2014-05-15 8:23 ` Simon Wright
2014-05-15 18:21 ` Randy Brukardt
2014-05-15 8:58 ` Georg Bauhaus
2014-05-15 18:30 ` Randy Brukardt
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox