X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=wscript;h=f9aa784397dae9599ae64e7c017ddc3cb652c87a;hb=47245166de02206389a0cb18aae7de35f8517c7d;hp=b9e7d6a640278e4ff0b120e9dd1e9b3d5f42d8b8;hpb=f15a469c036587a74d93fa14506eac87502d2b4c;p=dcpomatic.git diff --git a/wscript b/wscript index b9e7d6a64..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 @@ -549,6 +551,7 @@ def configure(conf): #include \n int main() { new boost::process::child("foo"); }\n """, + cxxflags='-Wno-unused-parameter', msg='Checking for boost process library', lib=deps, uselib_store='BOOST_PROCESS')