stdcxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Sebor <se...@roguewave.com>
Subject Re: strstream infinite loop
Date Sun, 19 Mar 2006 20:22:10 GMT
Martin Sebor wrote:
> ryan owen wrote:
[...]
>> Here is my config.h in the meantime:

FYI: I was able to reproduce the behavior you described with your
config.h file. Appending the macro definitions below to the end of
it allowed the strstream example to finish. Let me look into enhancing
the config test to prevent this type of misconfiguration into future,
even on machines with no locales installed (which I suspect is the
problem).

Martin

#define _RWSTD_CAT_0(pfx) { 1, "LC_COLLATE", pfx::_C_collate }
#define _RWSTD_CAT_1(pfx) { 2, "LC_CTYPE", pfx::_C_ctype }
#define _RWSTD_CAT_2(pfx) { 3, "LC_MONETARY", pfx::_C_monetary }
#define _RWSTD_CAT_3(pfx) { 4, "LC_NUMERIC", pfx::_C_numeric }
#define _RWSTD_CAT_4(pfx) { 5, "LC_TIME", pfx::_C_time }
#define _RWSTD_CAT_5(pfx) { 6, "LC_MESSAGES", pfx::_C_messages }
// #define _RWSTD_NO_SETLOCALE_ENVIRONMENT
#define _RWSTD_NO_CAT_NAMES
#define _RWSTD_CAT_SEP " "
#define _RWSTD_NO_CAT_EQ
#define _RWSTD_NO_INITIAL_CAT_SEP
#define _RWSTD_NO_CONDENSED_NAME

Mime
View raw message