64 bit compiling again!

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

User avatar
Bo Persson
Posts: 251
Joined: Sat Mar 11, 2006 8:31 am
Location: Malmö, Sweden
Full name: Bo Persson

Re: 64 bit compiling again!

Post by Bo Persson »

bob wrote:
Bo Persson wrote:
trojanfoe wrote:The types look OK to me, but you might want to typedef u64 to 'unsigned __int64' on Windows platforms and 'unsigned long long' on Linux/Unix platforms. This isn't your problem though, it's just these are the correct 64-bit types for the MS/Intel compilers.
They can do long long as well, so that's really not a problem.
trojanfoe wrote:Your problem lies elsewhere I think... Why not run a debug build inside the debugger to find out where the crash is occuring?
Agreed.
Windows does "long long" now? For the longest they did not and I resorted to #ifdef's to solve that.
It works from the 2005 edition and on (and even in VS2003 if you set the compiler options right).

They just haven't documented it very well!