From 40893c8499010d8e243db8f36c03789102e85838 Mon Sep 17 00:00:00 2001 From: Scott McMillan Date: Tue, 28 Jul 2026 11:29:00 -0500 Subject: [PATCH] Remove now unneeded register warning exception --- src/python/check.cpp | 10 +--------- src/python/data.cpp | 9 +-------- src/python/enum.cpp | 9 +-------- src/python/pybind.cpp | 9 +-------- src/python/result.cpp | 9 +-------- 5 files changed, 5 insertions(+), 41 deletions(-) diff --git a/src/python/check.cpp b/src/python/check.cpp index 53f89ce..522b868 100644 --- a/src/python/check.cpp +++ b/src/python/check.cpp @@ -5,19 +5,11 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -/* warning: ISO C++1z does not allow ‘register’ storage class specifier - [-Wregister] */ -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wregister" -#include - #include #include +#include #include -#pragma GCC diagnostic pop - #include - #include #include diff --git a/src/python/data.cpp b/src/python/data.cpp index 4ceddfc..fc4f264 100644 --- a/src/python/data.cpp +++ b/src/python/data.cpp @@ -5,16 +5,9 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -/* warning: ISO C++1z does not allow ‘register’ storage class specifier - [-Wregister] */ -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wregister" -#include - #include +#include #include -#pragma GCC diagnostic pop - #include #include diff --git a/src/python/enum.cpp b/src/python/enum.cpp index 563a030..df544ba 100644 --- a/src/python/enum.cpp +++ b/src/python/enum.cpp @@ -5,16 +5,9 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -/* warning: ISO C++1z does not allow ‘register’ storage class specifier - [-Wregister] */ -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wregister" -#include - #include +#include #include -#pragma GCC diagnostic pop - #include #include diff --git a/src/python/pybind.cpp b/src/python/pybind.cpp index a311bf6..b51d286 100644 --- a/src/python/pybind.cpp +++ b/src/python/pybind.cpp @@ -5,16 +5,9 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -/* warning: ISO C++1z does not allow ‘register’ storage class specifier - [-Wregister] */ -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wregister" -#include - #include +#include #include -#pragma GCC diagnostic pop - #include #include #include diff --git a/src/python/result.cpp b/src/python/result.cpp index 90189ea..9f15a37 100644 --- a/src/python/result.cpp +++ b/src/python/result.cpp @@ -5,17 +5,10 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -/* warning: ISO C++1z does not allow ‘register’ storage class specifier - [-Wregister] */ -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wregister" -#include - #include #include +#include #include -#pragma GCC diagnostic pop - #include #include