This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC] ada: Make Interfaces.C.Strings.chars_ptr a C convention type
- From: Samuel Tardieu <sam at rfc1149 dot net>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 14 Nov 2007 16:15:40 +0100
- Subject: Re: [RFC] ada: Make Interfaces.C.Strings.chars_ptr a C convention type
- References: <20071112163016.32827C405F@mail2.rfc1149.net>
>>>>> "Sam" == Samuel Tardieu <sam@rfc1149.net> writes:
Sam> GNAT issues a warning when Unchecked_Conversion is instantiated
Sam> with a C convention access pointer and an
Sam> Interfaces.Strings.chars_ptr, which must be C compatible. This
Sam> patch removes the warning by making chars_ptr explicitely use
Sam> convention C.
Approved by Robert Dewar <dewar@gnat.com>, checked in as revision
130180.
Sam
--
Samuel Tardieu -- sam@rfc1149.net -- http://www.rfc1149.net/