This is the mail archive of the libstdc++@sourceware.cygnus.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: patch: testsuite std namespace safe


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

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