getting glibc to compile with GCC CVS mainline
Alexandre Oliva
aoliva@redhat.com
Mon Feb 7 08:37:00 GMT 2005
Here are patches to fix incompatibilities with the current CVS version
of GCC.
The first addresses a problem that causes GCC to reject auto nested
functions that are declared but not defined.
The second addresses a problem of trying to construct array types of
incomplete types. Although this is well-formed C++, it's ill-formed
C, even if the type would decay to pointer to incomplete type, which
is well-formed in both languages. There were two occurrences of this
error in glibc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glibc-unused-nested-auto.patch
Type: text/x-patch
Size: 1833 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-hacker/attachments/20050207/979f4b3b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glibc-array-incomplete-type.patch
Type: text/x-patch
Size: 2028 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-hacker/attachments/20050207/979f4b3b/attachment-0001.bin>
-------------- next part --------------
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}
More information about the Libc-hacker
mailing list