This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug ada/24533] FAIL: a85013b: *** glibc detected *** free(): invalid pointer: 0x00062a00 ***
- From: Arnaud Charlet <charlet at adacore dot com>
- To: laurent at guerby dot net <gcc-bugzilla at gcc dot gnu dot org>
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 4 Jan 2006 10:57:53 +0100
- Subject: Re: [Bug ada/24533] FAIL: a85013b: *** glibc detected *** free(): invalid pointer: 0x00062a00 ***
- References: <bug-24533-276@http.gcc.gnu.org/bugzilla/> <20060103192428.5232.qmail@sourceware.org>
> For most (if not all) s-osinte*.ads C type redeclarations, I believe it should
> be sufficient to use a record containing a
> System.Storage_Elements.Storage_Array of the C sizeof(struct), plus may be an
> alignement clause (I don't know if C or GNU C allows to retrieve the alignment
> of a struct like sizeof for size).
If you use a storage_array, you definitely also need the proper
alignment clause, yes.
> Arnaud, do you remember non opaque C types in s-osinte?
I do not understand your question, could you clarify ?
Arno