This is the mail archive of the gcc@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: Configuration issues on Itanium VMS


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


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