From f8d746464b2d3e7ba669065f08cb695146a65f4f Mon Sep 17 00:00:00 2001 From: Bertrand Bellenot Date: Tue, 17 Oct 2017 13:13:14 +0200 Subject: [PATCH] Silent many warnings on Windows --- lib/Interpreter/CIFactory.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/Interpreter/CIFactory.cpp b/lib/Interpreter/CIFactory.cpp index ae5332ae..052895b6 100644 --- a/lib/Interpreter/CIFactory.cpp +++ b/lib/Interpreter/CIFactory.cpp @@ -256,6 +256,12 @@ namespace { sArguments.addArgument("-Wno-microsoft-enum-value"); sArguments.addArgument("-Wno-expansion-to-defined"); + // silent many warnings (mostly during ROOT compilation) + sArguments.addArgument("-Wno-constant-conversion"); + sArguments.addArgument("-Wno-unknown-escape-sequence"); + sArguments.addArgument("-Wno-microsoft-unqualified-friend"); + sArguments.addArgument("-Wno-deprecated-declarations"); + //sArguments.addArgument("-Wno-dllimport-static-field-def"); //sArguments.addArgument("-Wno-microsoft-template");