Hello,

Are you using x86_64 target ?

Any reason for needing HAVE_32BIT_TIME_T btw?

Le 17/04/2013 20:38, Antony Riakiotakis a écrit :
> Hi, I have identified a pretty nasty bug in the MinGW64 headers.
> 
> The case that follows happens for _USE_32BIT_TIME_T undefined
> 
> _wstat is defined as _wstat64i32 in _mingw_stat64.h
> 
> This function expects a stat argument, and judging from the name the
> argument should be of type _stat64i32 instead, stat is defined as_stat64 in
> the relevant header (sys/stat.h). We have run into this issue in blender
> and _wstat returns erratic sizes, making our thumbnail system, possibly
> others too, misbehave.
> 
> Indeed substituting stat with _stat64i32 in the code seems to fix the issue

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to