[PATCH] fix qcad-3.4.3.0 build error

Discussion forum for contributors and developers who are using the QCAD version 3 ECMAScript development platform or the C++ plugin interface or who are otherwise looking to contribute to QCAD (translations, documentation, etc).

Moderator: andrew

[PATCH] fix qcad-3.4.3.0 build error

Postby chris2553 » Thu Nov 14, 2013 1:03 pm

I get a build error building qcad-3.4.3.0 against glibc-2.18 with the latest snapshot of gcc-4.8. The patch below allows the build to complete:

--- qcad-3.4.3.0/src/core/RThread.cpp~ 2013-11-14 10:00:17.679657179 +0000
+++ qcad-3.4.3.0/src/core/RThread.cpp 2013-11-14 10:06:59.823645297 +0000
@@ -18,6 +18,8 @@
*/
#include <QDebug>

+#include <stdint.h>
+
#include "RThread.h"

RThread::RThread(QObject * parent) :
chris2553
Registered Member
 
Posts: 2
Joined: Thu Nov 14, 2013 11:30 am

Re: [PATCH] fix qcad-3.4.3.0 build error

Postby chris2553 » Thu Nov 14, 2013 1:10 pm

Doh! should also have reported that the error is because intptr_t is undefined.
chris2553
Registered Member
 
Posts: 2
Joined: Thu Nov 14, 2013 11:30 am

Re: [PATCH] fix qcad-3.4.3.0 build error

Postby andrew » Thu Nov 14, 2013 1:12 pm

Thanks for the patch!

It's committed and pushed:
https://github.com/qcad/qcad/commit/d01 ... 9863c6c769
User avatar
andrew
Site Admin
 
Posts: 2755
Joined: Fri Mar 30, 2007 6:07 am


Return to QCAD 3 Developers and Contributors

Who is online

Users browsing this forum: No registered users and 2 guests