This is the mail archive of the libstdc++@sources.redhat.com mailing list for the libstdc++ project.


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

Re: changes for approval, part three (solaris)


	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 */

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