Page 1 of 1

[PATCH] fix qcad-3.4.3.0 build error

Posted: Thu Nov 14, 2013 1:03 pm
by chris2553
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) :

Re: [PATCH] fix qcad-3.4.3.0 build error

Posted: Thu Nov 14, 2013 1:10 pm
by chris2553
Doh! should also have reported that the error is because intptr_t is undefined.

Re: [PATCH] fix qcad-3.4.3.0 build error

Posted: Thu Nov 14, 2013 1:12 pm
by andrew
Thanks for the patch!

It's committed and pushed:
https://github.com/qcad/qcad/commit/d01 ... 9863c6c769