From e29256424615a821d250c94898248425d21de5f0 Mon Sep 17 00:00:00 2001 From: mcbarton Date: Sun, 19 Jan 2025 07:37:07 +0000 Subject: [PATCH] Revert change to show error --- lib/Interpreter/CppInterOp.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/lib/Interpreter/CppInterOp.cpp b/lib/Interpreter/CppInterOp.cpp index 661265c52..032ec03d2 100644 --- a/lib/Interpreter/CppInterOp.cpp +++ b/lib/Interpreter/CppInterOp.cpp @@ -2828,14 +2828,9 @@ namespace Cpp { #define DEBUG_TYPE "exec" std::array buffer; -#if defined(__GNUC__) -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wignored-attributes" -#endif + std::unique_ptr pipe(popen(cmd, "r"), pclose); -#if defined(__GNUC__) -#pragma GCC diagnostic pop -#endif + LLVM_DEBUG(dbgs() << "Executing command '" << cmd << "'\n"); if (!pipe) {