stdcxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ryan owen" <rya...@gmail.com>
Subject Re: strstream infinite loop
Date Mon, 20 Mar 2006 17:19:00 GMT
Martin,

That seems to fix the problem!  Thanks for your help.

I'm seeing a couple of other failures in our unit tests, but hopefully
they'll be easy enough to fix.

Thanks again!

-Ryan

On 3/19/06, Martin Sebor <sebor@roguewave.com> wrote:
> 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