aboutsummaryrefslogtreecommitdiffstats
path: root/cad/leocad/files/patch-common_lc__application.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cad/leocad/files/patch-common_lc__application.cpp')
-rw-r--r--cad/leocad/files/patch-common_lc__application.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/cad/leocad/files/patch-common_lc__application.cpp b/cad/leocad/files/patch-common_lc__application.cpp
new file mode 100644
index 000000000000..be2c2ef04f32
--- /dev/null
+++ b/cad/leocad/files/patch-common_lc__application.cpp
@@ -0,0 +1,16 @@
+Remove the embedded build date and fix build with Clang 6
+
+common/lc_application.cpp:209:23: error: no matching literal operator for call to 'operator""__DATE__' with arguments of types 'const char *' and 'unsigned int', and no matching literal operator template
+ printf("Compiled "__DATE__"\n");
+ ^
+
+--- common/lc_application.cpp.orig 2019-05-17 23:24:38 UTC
++++ common/lc_application.cpp
+@@ -375,7 +375,6 @@ bool lcApplication::Initialize(QList<QPair<QString, bo
+ printf("LeoCAD Version " LC_VERSION_TEXT "\n");
+ #endif
+ printf("LeoCAD Version " LC_VERSION_TEXT "\n");
+- printf("Compiled " __DATE__ "\n");
+
+ ShowWindow = false;
+ return true;