This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
Re: changes for approval, part three (solaris)
- To: libstdc++ at sources dot redhat dot com
- Subject: Re: changes for approval, part three (solaris)
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Tue, 24 Oct 2000 21:31:46 -0400
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 */