Boost logo

Boost :

Subject: Re: [boost] [bootstrap/1.53] jam0.exe crashes when bootstrapping for VC2012 AMD64
From: Stephan T. Lavavej (stl_at_[hidden])
Date: 2013-05-10 15:11:19


[Matt Weber]
> That takes a 64-bit handle, but we have a 32-bit handle that we got back
> from _findfirst. That's the problem -- the handle returned from
> _findfirst (_findfirst64i32) is actually 64-bit.

_findfirst() is documented[1] as returning intptr_t, so that's what you should be declaring your variable as. That should work on both x86 and x64.

STL
[1] http://msdn.microsoft.com/en-us/library/zyzxfzac.aspx


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk