lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 3a77860 6/6: Remove pragma GCC diagnostic pus


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 3a77860 6/6: Remove pragma GCC diagnostic push without matching pop
Date: Fri, 5 Mar 2021 08:58:48 -0500 (EST)

branch: master
commit 3a778604a0dc8e20dbb8acd19c2211841900cc68
Author: Vadim Zeitlin <vadim@tt-solutions.com>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Remove pragma GCC diagnostic push without matching pop
    
    This seems like a mistake and while it is currently harmless to have
    such an orphan push, it seems better not to have it at all.
    
    Alternatively, we could to add a pragma GCC diagnostic pop at the end of
    this file, but this change is simpler and doesn't seem to be any worse.
---
 unwind.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/unwind.cpp b/unwind.cpp
index ae0b429..8260cc9 100644
--- a/unwind.cpp
+++ b/unwind.cpp
@@ -37,7 +37,6 @@
 #include <libunwind.h>
 #include <typeinfo>                     // type_info
 
-#pragma GCC diagnostic push
 // Calls to low-level C functions may as well use "0" for
 // terseness instead of "nullptr".
 #pragma GCC diagnostic ignored "-Wzero-as-null-pointer-constant"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]