http://bugs.winehq.org/show_bug.cgi?id=33125
--- Comment #68 from Felix Hädicke felixhaedicke@web.de 2013-04-08 14:31:34 CDT --- Created attachment 44122 --> http://bugs.winehq.org/attachment.cgi?id=44122 Patch which disables optimization for CreateEventExW
It seems to be the "CreateEventExW" function which gets broken in optimized builds. This patch disables optimization for this function only. Sorry, it uses a function attribute which only recent GCC version (probably >= 4.4) understand.