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

Warning fixes and new build system (Qbs) #36

Closed
wants to merge 13 commits into from

Conversation

mingwandroid
Copy link
Contributor

No description provided.

DetachThread can't be static.
InitializeDll.h doesn't exist.
Returning const values makes no sense.
Some missing standard headers.
Include <algorithm> for std::min and std::max
Define NOMINMAX so this can work
Missing header
Tiny bit of _MSC_VER fixing for MinGW-w64 plans
Remove isinff(x) replacing it with !isfinite(x)
Added build script for Qt-Project/Digia's Qbs.
Seems nice so far, though there's sure to be
some problems as this is my first time using
Qbs.

Tested with Qt-Creator 2.8.1 Qbs Plugin on
Linux (GCC), OSX (GCC), Windows (MSVC) and
also with the stand-alone Qbs command-line
program on Windows (v1.0.1, roughly):

http://mingw-and-ndk.googlecode.com/files/qbs-1.0.1-win32-130901.7z
@mingwandroid
Copy link
Contributor Author

The Qbs file is a bit WIP as there's a specific thing I wanted to do involving capturing stdout from flex to redirect it to the output file which didn't work. I tried a few ways and also asked the Digia engineers who work on Qbs about it .. I'd quite like the commented out stuff to be retained until the issue is gotten to the bottom of, but do apologise for the untidiness of it in the meantime!

Generated sources are put in Generated/ folder
as this seems to work better. clang support for
linux added (needs pthread explicitly added).
.. as sometimes requires that you remove the old build folder.
@mingwandroid
Copy link
Contributor Author

Closing as I'm going to move it to another branch and tidy it up some.

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.

1 participant