monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Monotone-devel] Build error on mingw, test failure on mac os x


From: Kelly F. Hickel
Subject: RE: [Monotone-devel] Build error on mingw, test failure on mac os x
Date: Sun, 15 Jul 2007 11:31:26 -0500

> 
> On 7/14/07, Justin Patrin <address@hidden> wrote:
> > On Windows XP mingw I get the following when running make check:
> > tester.cc: In function `time_t get_last_write_time(const
> std::string&)':
> > tester.cc:103: error: integer constant is too large for "long" type
> 
> *headdesk*  This is what I get for trusting MSDN.
> 
> Do you know if MSVC understands the LL suffix for 64-bit integer
> constants?
[Kelly F. Hickel] vs 2005 seems to, can't remember for certain about vs 2003:

Program:
int _tmain(int argc, _TCHAR* argv[])
{
        __int64 a = 1234567890123456789LL;
        printf("sizeof __int64 = %d, value=%I64d.\n", sizeof(a), a);
        return 0;
}

Output:
sizeof __int64 = 8, value=1234567890123456789.



> 
> zw
> 
> 
> _______________________________________________
> Monotone-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/monotone-devel

reply via email to

[Prev in Thread] Current Thread [Next in Thread]