summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2014-03-23 20:52:55 +0000
committerJohan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl>2014-03-23 20:52:55 +0000
commit098e24114290ca8229774d4b759d3e8ee5229cc7 (patch)
tree285c9cbc489214e9ef2ae961966c791709b70336
parent"fix" GTK3 build. (diff)
downloadinkscape-098e24114290ca8229774d4b759d3e8ee5229cc7.tar.gz
inkscape-098e24114290ca8229774d4b759d3e8ee5229cc7.zip
make it easier for people to build with -Werror on Windows
(bzr r13193)
-rw-r--r--build.xml11
1 files changed, 9 insertions, 2 deletions
diff --git a/build.xml b/build.xml
index 11c03b17f..14c11defc 100644
--- a/build.xml
+++ b/build.xml
@@ -351,8 +351,15 @@
</excludeinc>
<flags>
<!-- -std=gnu++0x -DCPP11 -->
- -Wall -Wformat -Werror=format-security -W -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Werror=switch
+ -Wall -Wformat -Werror=format-security -Wextra -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Werror=switch
-Werror=return-type
+ <!-- - -> -Werror <!-- -->
+ <!-- A list of warnings that should not error *yet*, any help is welcome in fixing the code generating these warnings! -->
+ <!-- libcroco is using guchar where it should use gchar, so we need: --> -Wno-error=pointer-sign
+ -Wno-error=unused-parameter -Wno-error=unused-but-set-variable -Wno-error=strict-overflow -Wno-error=write-strings
+ <!-- Format warnings are obviously bad errors, but with the current old compiler on Windows (gcc 4.6.) we run into a problem with long long ints...
+ The errors can be restored by removing these flags after updating to a newer compiler (soon after 0.91 release hopefully) -->
+ -Wno-error=format -Wno-error=format-extra-args
-O2
-mms-bitfields
-fopenmp
@@ -437,7 +444,7 @@
stripcommand="${archutil}strip"
objcopycommand="${archutil}objcopy">
<flags>
- -mwindows
+ -mconsole
-mthreads
</flags>
<fileset dir="${build}/obj">