[PATCH] Fix _M_extract_int for grouped hexs and octs

Paolo Carlini pcarlini@unitus.it
Thu Feb 28 17:45:00 GMT 2002


Jason Merrill wrote:

> >>>>> "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 ();

Thanks! This fills a few gaps in my understanding of those matters.

Ciao,
Paolo.




More information about the Libstdc++ mailing list