Wednesday, October 21, 2009

mingw gcc 4.4.0 fails hard

As i just found out, gcc 4.4.0 for windows (mingw) really doesn't like threads. A well tested piece of code in The Polynomial which worked with gcc 4.3.3 no longer works with gcc 4.4.0 , presumably due to this bug . I use threading for interactive editing and for in-progress display of level fractal as it is being generated. Apparently, exception handling is not threadsafe in mingw/gcc 4.4.0 even with -mthreads. End result is, The Polynomial crashes when switching levels.
Thanks for reporting the crashes, I'm reverting to gcc 4.3.3 for now, the fix will be released soon.

No comments:

Post a Comment