This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] ada: Make Interfaces.C.Strings.chars_ptr a C convention type


>>>>> "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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]