X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=wscript;h=f9aa784397dae9599ae64e7c017ddc3cb652c87a;hb=5d9de49a60c70dac3213ef8de040fcfe8bfc58aa;hp=a333f95d891255d268d841487669813502a64c2a;hpb=99c1d1f247343b884af0b51389311484ed265d3b;p=dcpomatic.git diff --git a/wscript b/wscript index a333f95d8..f9aa78439 100644 --- a/wscript +++ b/wscript @@ -123,6 +123,8 @@ def configure(conf): # I tried and failed to ignore these with _Pragma conf.env.append_value('CXXFLAGS', ['-Wno-cast-function-type']) have_c11 = int(gcc[0]) >= 4 and int(gcc[1]) >= 8 and int(gcc[2]) >= 1 + # Most gccs still give these warnings from boost::optional + conf.env.append_value('CXXFLAGS', ['-Wno-maybe-uninitialized']) else: have_c11 = False