http://bugs.winehq.org/show_bug.cgi?id=33990
--- Comment #3 from Chris Moeller chris@kode54.net 2013-07-08 20:42:42 CDT --- Ugh, I reduced the problem to a more specific case. It's failing on Concurrency::critical_section, which is imported from concrt.h, and I think I know why:
typedef void * _CONCRT_BUFFER;
// Critical section requires windows.h. Hide the implementation so that // user code need not include windows.h _CONCRT_BUFFER _M_criticalSection[(4 * sizeof(void *) + 2 * sizeof(long) + sizeof(_CONCRT_BUFFER) - 1) / sizeof(_CONCRT_BUFFER)];
Posting a new example and log.