summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
m---------waflib0
-rw-r--r--wscript26
2 files changed, 25 insertions, 1 deletions
diff --git a/waflib b/waflib
-Subproject 0bde0c2e022c479b8c7e3933eca0cbc01282562
+Subproject 8b67c693005e5d3ca9a6e0d5ed0613392fcec62
diff --git a/wscript b/wscript
index e7d8f67..e05ac66 100644
--- a/wscript
+++ b/wscript
@@ -10,7 +10,7 @@ from waflib.extras import autowaf
# major increment <=> incompatible changes
# minor increment <=> compatible changes (additions)
# micro increment <=> no interface changes
-SRATOM_VERSION = '0.6.4'
+SRATOM_VERSION = '0.6.5'
SRATOM_MAJOR_VERSION = '0'
# Mandatory waf variables
@@ -42,6 +42,30 @@ def configure(conf):
if not conf.env.BUILD_SHARED and not conf.env.BUILD_STATIC:
conf.fatal('Neither a shared nor a static build requested')
+ if Options.options.ultra_strict:
+ autowaf.add_compiler_flags(conf.env, 'c', {
+ 'gcc': [
+ '-Wno-cast-align',
+ '-Wno-cast-qual',
+ '-Wno-conversion',
+ '-Wno-padded',
+ ],
+ 'clang': [
+ '-Wno-cast-align',
+ '-Wno-cast-qual',
+ '-Wno-double-promotion',
+ '-Wno-float-conversion',
+ '-Wno-implicit-float-conversion',
+ '-Wno-implicit-int-conversion',
+ '-Wno-padded',
+ '-Wno-shorten-64-to-32',
+ '-Wno-sign-conversion',
+ ],
+ 'msvc': [
+ '/wd4242' # conversion with possible loss of data
+ ]
+ })
+
conf.check_pkg('lv2 >= 1.16.0', uselib_store='LV2')
conf.check_pkg('serd-0 >= 0.30.0', uselib_store='SERD')
conf.check_pkg('sord-0 >= 0.14.0', uselib_store='SORD')