This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ 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: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Thu, 11 Jan 2001 09:55:07 -0800 (PST)
- 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
> (b) libstdc++-v3 should be undefining the macro printf.
Index: include/c_std/bits/std_cstdio.h
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/include/c_std/bits/std_cstdio.h,v
retrieving revision 1.6
diff -c -p -r1.6 std_cstdio.h
*** std_cstdio.h 2001/01/02 07:38:47 1.6
--- std_cstdio.h 2001/01/11 17:54:49
***************
*** 52,57 ****
--- 52,58 ----
#undef getchar
#undef putc
#undef putchar
+ #undef printf
namespace std
{