From 4a7342e7dc48486d36a23d29961064a77a4b4cb3 Mon Sep 17 00:00:00 2001 From: Ethan Steinberg Date: Tue, 25 Oct 2022 16:35:31 +0000 Subject: [PATCH] Clang typo --- include/pybind11/detail/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pybind11/detail/common.h b/include/pybind11/detail/common.h index b29a8c037f4..beaed0b9135 100644 --- a/include/pybind11/detail/common.h +++ b/include/pybind11/detail/common.h @@ -52,7 +52,7 @@ #endif #ifdef PYBIND11_COMPILER_CLANG -# define PYBIND11_DISABLE_WARNING_CLANG(name) PYBIND11_PRAGMA(clang diagnostic push # name) +# define PYBIND11_DISABLE_WARNING_CLANG(name) PYBIND11_PRAGMA(clang diagnostic ignored # name) #else # define PYBIND11_DISABLE_WARNING_CLANG(name) #endif