This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Configuration issues on Itanium VMS
- From: Zack Weinberg <zack at codesourcery dot com>
- To: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 10 Nov 2004 10:44:24 -0800
- Subject: Re: Configuration issues on Itanium VMS
- References: <10411101156.AA09614@vlsi1.ultra.nyu.edu>
kenner@vlsi1.ultra.nyu.edu (Richard Kenner) writes:
> > Wouldn't it be *much* easier just to force GCC to include the
> > system-supplied file that has all the proper definitions with
> > prototypes?
>
> No.
>
> Why? Writing a program to get all the names of the functions to
> handle specially isn't at all trivial and you don't get the
> prototypes.
It makes the entire C library visible even if you don't include the
headers. This breaks real code. It's even worse in C++ where the
library isn't supposed to be in the global namespace normally.
I suppose it would be _easier_, but it would still be _wrong_.
zw