This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


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

[v3] hpux header fallout



This might fix the BSD 4.3 build failure as well. Loren can you check please?

2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>

	* include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
	* include/c_std/bits/std_cmath.h: Fix pow. 
	* include/c_std/bits/std_cctype.h: Remove isblank.

Index: include/c_std/bits/std_cmath.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/c_std/bits/std_cmath.h,v
retrieving revision 1.14
diff -c -p -r1.14 std_cmath.h
*** std_cmath.h	2001/06/08 23:22:25	1.14
--- std_cmath.h	2001/06/09 18:11:37
*************** namespace std 
*** 414,424 ****
    pow(float __x, int __n)
    { return __pow_helper(__x, __n); }
  
!   inline double 
!   pow(double __x, int __i)
!   { return __pow_helper(__x, __i); }
  
!   inline long double 
    pow(long double __x, int __n)
    { return __pow_helper(__x, __n); }
  
--- 414,422 ----
    pow(float __x, int __n)
    { return __pow_helper(__x, __n); }
  
!   using ::pow;
  
!   inline long double
    pow(long double __x, int __n)
    { return __pow_helper(__x, __n); }
  
Index: include/c_std/bits/std_cstdio.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/c_std/bits/std_cstdio.h,v
retrieving revision 1.10
diff -c -p -r1.10 std_cstdio.h
*** std_cstdio.h	2001/06/09 06:49:13	1.10
--- std_cstdio.h	2001/06/09 18:11:37
***************
*** 52,65 ****
  #undef fscanf
  #undef printf
  #undef scanf
- #undef snprintf
  #undef sprintf
  #undef sscanf
  #undef vfprintf
  #undef vfscanf
  #undef vprintf
  #undef vscanf
- #undef vsnprintf
  #undef vsprintf
  #undef vsscanf
  #undef fgetc
--- 52,63 ----
*************** namespace std 
*** 104,117 ****
    using ::fscanf;
    using ::printf;
    using ::scanf;
-   using ::snprintf;
    using ::sprintf;
    using ::sscanf;
    using ::vfprintf;
    using ::vfscanf;
    using ::vprintf;
    using ::vscanf;
-   using ::vsnprintf;
    using ::vsprintf;
    using ::vsscanf;
    using ::fgetc;
--- 102,113 ----


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