summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2014-03-25 00:02:21 +0000
committerJohan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl>2014-03-25 00:02:21 +0000
commit2be6be85b77377a38486ab509f9c8f764a0fb8ef (patch)
tree1b361f4e20a1842b3f2603ba9e1bb601bc4426b2
parentfix memory allocation bug (thanks to clang's static analyzer scan-build) (diff)
downloadinkscape-2be6be85b77377a38486ab509f9c8f764a0fb8ef.tar.gz
inkscape-2be6be85b77377a38486ab509f9c8f764a0fb8ef.zip
windows build: update warning flags. unfortunately our code is not ready for -Werror=switch yet (break GTK3 build in number of places, needs proper fixes)
(bzr r13206)
-rw-r--r--build.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.xml b/build.xml
index 14c11defc..f0d666040 100644
--- a/build.xml
+++ b/build.xml
@@ -350,8 +350,8 @@
<file name="extension/param"/>
</excludeinc>
<flags>
- <!-- -std=gnu++0x -DCPP11 -->
- -Wall -Wformat -Werror=format-security -Wextra -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Werror=switch
+ <!-- -std=gnu++0x -DCPP11 -Wno-unused-local-typedefs -->
+ -Wall -Wformat -Werror=format-security -Wextra -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch
-Werror=return-type
<!-- - -> -Werror <!-- -->
<!-- A list of warnings that should not error *yet*, any help is welcome in fixing the code generating these warnings! -->