This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/2633] _GLIBCPP_USE_NAMESPACES issues


------- 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.


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