This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Any ada maintainers out there this afternoon? (Ada bootstrap broken on newlib targets)
- From: Laurent GUERBY <laurent at guerby dot net>
- To: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>, ktietz at gcc dot gnu dot org, Arnaud Charlet <charlet at adacore dot com>, Robert Dewar <dewar at adacore dot com>
- Date: Sat, 25 Jul 2009 17:42:18 +0200
- Subject: Re: Any ada maintainers out there this afternoon? (Ada bootstrap broken on newlib targets)
- References: <4A6B252C.5070906@gmail.com>
Isn't it the same as
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40578
Were I suggested GNAT_FOPEN (and you commented too)?
Sincerely,
Laurent
On Sat, 2009-07-25 at 16:30 +0100, Dave Korn wrote:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40857
>
>
> There's a clash between the FOPEN macro used by Ada (defined in adaint.h to
> hide 32/64-bit file i/o selection) and an identically named macro defined in
> newlib's sys/_default_fcntl.h.
>
> Since they're only used in a few places, I think that probably the better
> solution would be to stick a prefix in front of Ada's macros rather than
> #undef the one from the newlib header, so I'm about to start work on a patch
> that adds a "_GNAT_" prefix to each of the definitions in adaint.h, and their
> respective uses in adaint.c and cstreams.c.
>
> If any Ada maintainers would prefer a different prefix name, please drop me
> a line or post to PR40857. Thanks.
>
> cheers,
> DaveK
>
>
>