[Top][All Lists]
[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
- [Monotone-devel] Build error on mingw, test failure on mac os x, Justin Patrin, 2007/07/14
- Re: [Monotone-devel] Build error on mingw, test failure on mac os x, Zack Weinberg, 2007/07/14
- RE: [Monotone-devel] Build error on mingw, test failure on mac os x,
Kelly F. Hickel <=
- Re: [Monotone-devel] Build error on mingw, test failure on mac os x, Richard Levitte, 2007/07/15
- Re: [Monotone-devel] Build error on mingw, test failure on mac os x, Zack Weinberg, 2007/07/15
- Re: [Monotone-devel] Build error on mingw, test failure on mac os x, Justin Patrin, 2007/07/15
- Re: [Monotone-devel] Build error on mingw, test failure on mac os x, Justin Patrin, 2007/07/15