This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: glibc 2.1.1pre2 breaks libstdc++-v3 build
- To: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Subject: Re: glibc 2.1.1pre2 breaks libstdc++-v3 build
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 11 Jan 2001 10:22:08 -0800
- Cc: <gcc-bugs at gcc dot gnu dot org>, <libstdc++ at gcc dot gnu dot org>, <libc-alpha at sources dot redhat dot com>, <ghazi at caip dot rutgers dot edu>
- References: <Pine.LNX.4.30.0101111720090.24169-100000@kern.srcf.societies.cam.ac.uk>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
"Joseph S. Myers" <jsm28@cam.ac.uk> writes:
> (a) Is this really a good idea, or should such changes printf -> fprintf
> not rather be achieved by extracting "stdout" somehow (as discussed on the
> gcc lists from time to time) in GCC?
No. Stdout is defined to be a macro which the compiler cannot know about.
> (b) libstdc++-v3 should be undefining the macro printf.
In any case, yes. All functions are also allowed to be macros.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------