This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


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

Re: glibc 2.1.1pre2 breaks libstdc++-v3 build


"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   `------------------------

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