[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"
- [lmi-commits] [lmi] master updated (d8a8b60 -> 3a77860), Greg Chicares, 2021/03/05
- [lmi-commits] [lmi] master 341c462 2/6: Install now required libunwind and libdw for the CI builds, Greg Chicares, 2021/03/05
- [lmi-commits] [lmi] master 8a96343 3/6: Link with libunwind and libdw if necessary in autotools build, Greg Chicares, 2021/03/05
- [lmi-commits] [lmi] master 6c161a0 5/6: Remove redundant test for __GNUC__, Greg Chicares, 2021/03/05
- [lmi-commits] [lmi] master 38a2a97 1/6: Permit a particular reserved name, Greg Chicares, 2021/03/05
- [lmi-commits] [lmi] master 3a77860 6/6: Remove pragma GCC diagnostic push without matching pop,
Greg Chicares <=
- [lmi-commits] [lmi] master 2cd4fe1 4/6: Only compile unwind.cpp when using libstdc++, Greg Chicares, 2021/03/05