This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: patch: testsuite std namespace safe
- To: Benjamin Kosnik <bkoz@cygnus.com>
- Subject: Re: patch: testsuite std namespace safe
- From: Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
- Date: 15 Jul 1999 10:28:29 +0200
- Cc: libstdc++@sourceware.cygnus.com
- Organization: CMLA, ENS Cachan -- CNRS URA 1611 (France)
- References: <Pine.SUN.3.91.990714153308.8739A-100000@rtl.cygnus.com>
Benjamin Kosnik <bkoz@cygnus.com> writes:
| > It must be "-fnew-abi -fno-honor-std" until the compiler is fixed
| > to allow the correct C library implementation. Thus far nobody
| > has come forward to do that.
|
| Of course, the flag combination above will turn off namespace support,
| which was the whole point of changing things in the first place.
Exactly.
| Are you talking about the compiler builtin functions? What will break
| that we can't fix with autoconf hackery? (I'm thinking of std_wchar.h,
| std_ctype.h, etc.)
I might be wrong, but I guess Nathan was thinking about how to do deal
correctly with name mangling given that
#include <cmath>
is supposed to put all the content of <math.h> in namespace ::std
whereas
#include <math.h>
is supposed to put the same content in the global and standard
namespaces.
-- Gaby