On Thu, 07 Dec 2006 19:54:18 +0100, Ulrich Eckhardt wrote:
[...]
> 
>   unsigned long long const foo = 0x0123456789abcdefull;
> 
> Note the 'ull' suffix for an unsigned long long.
> 
I slightly reorganized the code since my original post,
but, following your suggestion:

   MyClass::MyClass()
   :  mask_(0x003fffffffffffffull),
      sign_(0x0080000000000000ull)
   {
   }

works, where without the 'ull' it failed.
BTW uint64_t is a typedef on my system.

Thanks for your help.
Mike.




_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to