This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [PATCH] Fix _M_extract_int for grouped hexs and octs
>>>>> "Paolo" == Paolo Carlini <pcarlini@unitus.it> writes:
> Anyway, I'm still trying to learn more of the difficult (for me) "AIX" issue. In
> fact it looks like a static string is *different* from a static int.
Yes, because a string is initialized at runtime, so we can put it in
common, whereas an int is initialized at compile time. You can fudge
things so the int will also be initialized at runtime, i.e.
static int i = function_returning_1 ();
Jason