From 69c522b596528553fa981846b9ed82d7fa4a3d63 Mon Sep 17 00:00:00 2001 From: Vassil Vassilev Date: Sat, 2 Aug 2014 20:00:17 +0200 Subject: [PATCH] Ignore 'attribute declaration must precede definition' for fwd decl maps. --- lib/Interpreter/ForwardDeclPrinter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Interpreter/ForwardDeclPrinter.cpp b/lib/Interpreter/ForwardDeclPrinter.cpp index 0539d1d0..285d17c2 100644 --- a/lib/Interpreter/ForwardDeclPrinter.cpp +++ b/lib/Interpreter/ForwardDeclPrinter.cpp @@ -63,6 +63,7 @@ namespace cling { // Suppress some unfixable warnings. m_Out << "#pragma clang diagnostic ignored \"-Wkeyword-compat\"" << "\n"; + m_Out << "#pragma clang diagnostic ignored \"-Wignored-attributes\"" <<"\n"; std::vector macrodefs; if (printMacros) {