Opened 16 years ago

Closed 16 years ago

#814 closed Patches (Fixed)

[archive] codecvt_null.hpp won't compile on QNX

Reported by: ingraham Owned by: Robert Ramey
Milestone: Component: None
Version: None Severity:
Keywords: Cc:

Description

I have no idea why, but the "using std::mbstate_t" line in codecvt_null.hpp doesn't work on QNX Neutrino 6.3.x.

Basically, one line needs to be deleted.  Unfortunately, you can't just delete the check on __QNXNTO__ being defined, because then one of the other defines will still try to do a using.

Here's the diff -du output (also attached):

--- codecvt_null.hpp.orig	2007-01-16 08:28:45.000000000 -0600
+++ codecvt_null.hpp	2007-01-16 08:36:27.000000000 -0600
@@ -25,7 +25,6 @@
     #if defined(__LIBCOMO__)
         using ::mbstate_t;
     #elif defined(__QNXNTO__)
-        using std::mbstate_t;
     #elif defined(BOOST_DINKUMWARE_STDLIB) && BOOST_DINKUMWARE_STDLIB == 1
         using ::mbstate_t;
     #elif defined(__SGI_STL_PORT)

Change History (1)

comment:1 by Robert Ramey, 16 years ago

Status: assignedclosed
Logged In: YES 
user_id=396141
Originator: NO

OK - I made the change on my system and will upload later
Note: See TracTickets for help on using tickets.