changes for approval, part three (solaris)

David Edelsohn dje@watson.ibm.com
Tue Oct 24 18:31:00 GMT 2000


	I should have included the definition of __THROW.  The following
appears to be the complete set of macros that v3 assumes exists due to
_G_HAVE_SYS_CDEFS.  Is the #ifndef __P is unnecessary?

David


Index: libio.h
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/libio/libio.h,v
retrieving revision 1.8
diff -c -p -r1.8 libio.h
*** libio.h	2000/10/18 23:29:30	1.8
--- libio.h	2000/10/25 01:27:59
***************
*** 56,72 ****
  #endif
  
  #ifndef __P
! # if _G_HAVE_SYS_CDEFS
! #  include <sys/cdefs.h>
! # else
! #  ifdef __STDC__
! #   define __P(p) p
! #   define __PMT(p) p
! #  else
! #   define __P(p) ()
! #   define __PMT(p) ()
! #  endif
! # endif
  #endif /*!__P*/
  
  /* For backward compatibility */
--- 56,64 ----
  #endif
  
  #ifndef __P
! # define __THROW throw ()
! # define __P(p) p __THROW
! # define __PMT(p) p
  #endif /*!__P*/
  
  /* For backward compatibility */


More information about the Libstdc++ mailing list