This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]