http://bugs.winehq.org/show_bug.cgi?id=29808
--- Comment #2 from Zaskar zaskar_84@yahoo.com.ar 2012-02-05 12:15:40 CST --- (In reply to comment #1)
Could you confirm that reverting this commit fixes your problem?
Yes. If I hard reset my local git to previous commit (666f83bc0f82c4d8bae2f30f7a6dee8f2d4cf584, gdi32:Add a helper to retrieve the octant bias.) I can compile the project without crashes. That's why I say this one can be the cause. I've compiled lots of wine git versions and tried to compile my project with them to see wich one works, and wich one doesn't until I narrowed it down to this one commit.
Some extra info: The same thing happens with another smaller wxWidget project, in pseint.sourceforge.net, but I've pointed at zinjai because zinjai includes all files needed to reproduce the problem: sources, mingw32 compiler and libraries. The line where gcc say it stops is the end of the file. Rearranging #includes order in them (first wx stuff, them my stuff) can change the result, but none of this was necessary in wine 1.3.32 or older. And it never happened to me in a real Windows environment.
If you need more details, or some extra testing let me know.