Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

idletimer.cpp changed so as not to crash when compiled with mingw64, glib dependency replaced with gcc dependency #21

Closed
wants to merge 3 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Nov 20, 2013

idletimer.cpp changed so as not to crash when compiled with mingw64, glib dependency replaced with gcc dependency

Only tested on Windows thus far.

niemeyer and others added 3 commits November 19, 2013 15:58
This is a workaround for malloc panics when compiling go-qml with mingw64.  I haven't yet dug deep enough into the reasons why the valid looking static lazy singleton is causing the panic (not sure if the issue is Qt, mingw or cgo) but these changes work around the problem.  Also dumped the glib dependency.
…generic gcc sync intrinsic memory barrier in place of glib's atomic_get

Only tested on Windows with mingw64, but should be pretty portable across gcc-supported targets.
@niemeyer
Copy link
Contributor

niemeyer commented Apr 1, 2014

The logic in idletimer.cpp has been changed to not depend on glib anymore, and we have people successfully using the qml package on Windows. I'm closing this bug with the belief that it is fixed, but please do reopen if that's not the case. (/cc @gmcbay @htoothrot)

@niemeyer niemeyer closed this Apr 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants