This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
libio.h cleanup (was Re: changes for approval, part three (solaris))
- To: David Edelsohn <dje at watson dot ibm dot com>
- Subject: libio.h cleanup (was Re: changes for approval, part three (solaris))
- From: Phil Edwards <pedwards at disaster dot jaj dot com>
- Date: Wed, 25 Oct 2000 16:03:16 -0400
- Cc: libstdc++ at sources dot redhat dot com
- References: <pedwards@disaster.jaj.com> <200010250131.VAA26472@mal-ach.watson.ibm.com>
On Tue, Oct 24, 2000 at 09:31:46PM -0400, David Edelsohn wrote:
> 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?
Let's keep the #ifndef for now.
One minor problem: we can't just add exception specifications (via
__THROW) to functions, because libio is written in C and compiled as such.
(That's why the old code had a test for __cplusplus.)
--
pedwards at disaster dot jaj dot com | pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools. Fools are protected by more capable fools.