stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Sebor <se...@roguewave.com>
Subject Re: Localization\22.locale.num.get test compilation problem on VC7.1
Date Tue, 25 Oct 2005 15:01:23 GMT
Anton Pevtsov wrote:
> There is a problem in the localization\22.locale.num.get.cpp (line 1578)
> :
> 
> #  ifndef _MSC_VER
> #    define ULL(number)   number ## ULL
> #  else   // if defined (_MSC_VER)
>      // MSVC 7.0 doesn't recognize the LL suffix
> #    define LL(number)   number ## UI64
> #  endif   // _MSC_VER
> 
>     TEST (T, ULL (                  0),                     "0",  1, 0,
[...]
> So, if  _MSC_VER is defined then ULL becomes undefined. Maybe, here 
> 
>      // MSVC 7.0 doesn't recognize the LL suffix
> #    define LL(number)   number ## UI64
> 
> instead of "LL" should be "ULL" :
> 
>      // MSVC 7.0 doesn't recognize the ULL suffix
> #    define ULL(number)   number ## UI64
> 
> ?

Yes, that looks like a typo.
Thanks for spotting it!
Martin


Mime
View raw message