summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2013-11-13 00:25:01 +0000
committerJohan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl>2013-11-13 00:25:01 +0000
commit6e190b3f5ca63d1488da5a530029d1478d8b3ef4 (patch)
treee93334881daac76674dbb2764978976c5c86ebfe
parentfix C++11 build on Windows, now build finishes without errors with TDM-GCC 4.6.1 (diff)
downloadinkscape-6e190b3f5ca63d1488da5a530029d1478d8b3ef4.tar.gz
inkscape-6e190b3f5ca63d1488da5a530029d1478d8b3ef4.zip
Windows: need extra define to tell the source code we are in C++11 mode
(bzr r12807)
-rw-r--r--build.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.xml b/build.xml
index 65bd8ff35..890c9c3e3 100644
--- a/build.xml
+++ b/build.xml
@@ -352,7 +352,7 @@
<file name="extension/param"/>
</excludeinc>
<flags>
- <!-- -std=gnu++0x -->
+ <!-- -std=gnu++0x -DCPP11 -->
-Wall -Wformat -Werror=format-security -W -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch
-Werror=return-type
-O2