diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-08-14 20:11:44 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-08-14 20:11:44 +0000 |
commit | 6c368af5b4e68c05c8774ea5795b708aca9d0d66 (patch) | |
tree | 85f99014c1d7d312006d95d6dc37f9bf1ab47b8e /patches/glibc/2.2.2/glibc-2.2.2-printf-not-macro.patch | |
parent | ab0fc7eab41d6e253549dbc63431f9ba153a0418 (diff) | |
download | crosstool-ng-6c368af5b4e68c05c8774ea5795b708aca9d0d66.tar.gz crosstool-ng-6c368af5b4e68c05c8774ea5795b708aca9d0d66.tar.bz2 crosstool-ng-6c368af5b4e68c05c8774ea5795b708aca9d0d66.zip |
Do a clean-up pass on the OBSOLETE features (versions):
- remove legions of those,
- remove associated patches no longer needed,
- mark then as (OBSOLETE) in the prompt;
Diffstat (limited to 'patches/glibc/2.2.2/glibc-2.2.2-printf-not-macro.patch')
-rw-r--r-- | patches/glibc/2.2.2/glibc-2.2.2-printf-not-macro.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/patches/glibc/2.2.2/glibc-2.2.2-printf-not-macro.patch b/patches/glibc/2.2.2/glibc-2.2.2-printf-not-macro.patch deleted file mode 100644 index eae6fec3..00000000 --- a/patches/glibc/2.2.2/glibc-2.2.2-printf-not-macro.patch +++ /dev/null @@ -1,36 +0,0 @@ -I'm testing toolchains with glibc-2.2.2 now. It looks ok except -that glibc-2.2.2 headers contain the gosh-awful line - # define printf(fmt, args...) fprintf (stdout, fmt, ##args) -which causes builds of programs with methods named 'printf' to fail with - error: `stdout' is not a type -Feh. - -Revision 1.8, Thu Aug 2 16:09:51 2001 UTC (3 years, 9 months ago) by aj -Branch: MAIN -CVS Tags: glibc-2_3_2, glibc-2_2_4, glibc-2-3-1, glibc-2-3, glibc-2-2-branch, glibc-2-2-5 - -(printf): Remove printf optimization since GCC 3.0 can optimize printf. - -http://sourceware.org/cgi-bin/cvsweb.cgi/libc/libio/bits/stdio.h.diff?r1=1.7&r2=1.8&cvsroot=glibc - -=================================================================== -RCS file: /cvs/glibc/libc/libio/bits/stdio.h,v -retrieving revision 1.7 -retrieving revision 1.8 -diff -u -r1.7 -r1.8 ---- libc/libio/bits/stdio.h 2001/07/06 04:55:32 1.7 -+++ libc/libio/bits/stdio.h 2001/08/02 16:09:51 1.8 -@@ -29,13 +29,6 @@ - - - #ifdef __USE_EXTERN_INLINES --/* Since version 2.97 GCC knows about `fprintf' and can optimize certain -- cases. Help gcc to optimize more code by mapping `printf' to the known -- `fprintf' function. Unfortunately we have to use a macro. */ --# if __GNUC_PREREQ (2,97) --# define printf(fmt, args...) fprintf (stdout, fmt, ##args) --# endif -- - /* Write formatted output to stdout from argument list ARG. */ - __STDIO_INLINE int - vprintf (__const char *__restrict __fmt, _G_va_list __arg) __THROW |