comp.lang.ada
 help / color / mirror / Atom feed
From: Samuel Tardieu <sam@rfc1149.net>
Subject: Re: pragma Convention questions
Date: Thu, 15 Nov 2007 08:55:51 +0100
Date: 2007-11-15T09:00:02+01:00	[thread overview]
Message-ID: <87tzno2b94.fsf@willow.rfc1149.net> (raw)
In-Reply-To: fhgjug$e3m$1@jacob-sparre.dk

>>>>> "Randy" == Randy Brukardt <randy@rrsoftware.com> writes:

Randy> I think in this case, you could never tell the difference, so
Randy> it would be OK to do. (One wonders why the Standard didn't
Randy> include that in the first place.)

Thank you. It is now fixed in GCC sources.

>> GNAT rejects X initialization with 'prefix of "Access" attribute
>> cannot be intrinsic'. Which means that the pragma Convention failed
>> silently. Is it allowed to have it fail without a compilation
>> error?  Or is the 'Access legal?

Randy> I think that it should either work or the pragma Convention
Randy> should be rejected. To allow the change of the convention to
Randy> one that is legal and still reject the 'Access is bogus. (OTOH,
Randy> this doesn't seem like a very important bug, and I would not be
Randy> surprised if it took a long time to get fixed.)

This is free software after all: I added a fix yesterday into the GCC
source tree :)

  Sam
-- 
Samuel Tardieu -- sam@rfc1149.net -- http://www.rfc1149.net/



      reply	other threads:[~2007-11-15  7:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-11 16:39 pragma Convention questions Samuel Tardieu
2007-11-11 19:14 ` Martin Krischik
2007-11-11 20:57   ` Samuel Tardieu
2007-11-12  8:14     ` Martin Krischik
2007-11-12  8:30       ` Samuel Tardieu
2007-11-12 17:02 ` Adam Beneschan
2007-11-12 21:54   ` Samuel Tardieu
2007-11-15  5:06 ` Randy Brukardt
2007-11-15  7:55   ` Samuel Tardieu [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