This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/2633] _GLIBCPP_USE_NAMESPACES issues
- From: "marc dot glisse at normalesup dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 19 Feb 2007 17:09:32 -0000
- Subject: [Bug libc/2633] _GLIBCPP_USE_NAMESPACES issues
- References: <20060502170845.2633.marc.glisse@normalesup.org>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From marc dot glisse at normalesup dot org 2007-02-19 17:09 -------
Thank you for the fixes. About wchar.h, the c++ standard, in the description of
cwchar, talks about wcscpy, wcsncpy, wcscat, etc, which means that they should
be in namespace std, while namespace c99 is for functions like wcstoll if I
understand the rational behind namespaces in glibc correctly.
Minor: for wint_t, the wchar.h header works if stddef.h has a typedef of wint_t
in the global namespace, but not if it only has such a typedef in the std
namespace (then it fails as early as __mbstate_t) as might be logical (but that
is not such a big issue, it simply forces an ugly "using std::wint_t;" in the
global namespace in stddef.h)
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
http://sourceware.org/bugzilla/show_bug.cgi?id=2633
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.