glibc 2.1.1pre2 breaks libstdc++-v3 build

Benjamin Kosnik bkoz@redhat.com
Thu Jan 11 09:55:00 GMT 2001


> (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 
  {




More information about the Libc-alpha mailing list