From 90e4ab38cff84b07874fc2135bab30458c084efa Mon Sep 17 00:00:00 2001 From: Tom Henderson Date: Sat, 11 Jun 2016 14:25:29 -0700 Subject: [PATCH] mpi: (fixes #2437) disable literal-suffix warning when MPI enabled --- src/mpi/wscript | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mpi/wscript b/src/mpi/wscript index 24d483fe1..1454eb524 100644 --- a/src/mpi/wscript +++ b/src/mpi/wscript @@ -24,6 +24,10 @@ def configure(conf): for libpath in conf.env.LIBPATH_MPI: if 'mpi' in libpath: conf.env.append_value('LINKFLAGS_MPI', '-Wl,-rpath,'+libpath) + # Bug #2437, using OpenMPI 1.6.5 (possibly later versions) + # if upstream OpenMPI bug clears at some point, this + # can be removed + conf.env.append_value('CXXFLAGS', '-Wno-literal-suffix') conf.report_optional_feature("mpi", "MPI Support", True, '') else: conf.report_optional_feature("mpi", "MPI Support", False, 'mpic++ not found')