From d8f6127bf821ba76fde14139f2bd2deafaba3de8 Mon Sep 17 00:00:00 2001 From: ThePhD Date: Wed, 7 Jun 2017 12:53:24 -0400 Subject: [PATCH] boosted pragmas --- single/sol/sol.hpp | 6 ++++-- sol.hpp | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/single/sol/sol.hpp b/single/sol/sol.hpp index 2d87a28f..80121bca 100644 --- a/single/sol/sol.hpp +++ b/single/sol/sol.hpp @@ -20,8 +20,8 @@ // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // This file was generated with a script. -// Generated 2017-06-07 16:34:30.866503 UTC -// This header was generated with sol v2.17.5 (revision 661386c) +// Generated 2017-06-07 16:52:57.840137 UTC +// This header was generated with sol v2.17.5 (revision 02110a5) // https://github.com/ThePhD/sol2 #ifndef SOL_SINGLE_INCLUDE_HPP @@ -47,7 +47,9 @@ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wshadow" #pragma GCC diagnostic ignored "-Wconversion" +#if __GNUC__ > 6 #pragma GCC diagnostic ignored "-Wnoexcept-type" +#endif #elif defined _MSC_VER #pragma warning( push ) #pragma warning( disable : 4324 ) // structure was padded due to alignment specifier diff --git a/sol.hpp b/sol.hpp index 14a398b0..3acefec9 100644 --- a/sol.hpp +++ b/sol.hpp @@ -37,7 +37,9 @@ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wshadow" #pragma GCC diagnostic ignored "-Wconversion" +#if __GNUC__ > 6 #pragma GCC diagnostic ignored "-Wnoexcept-type" +#endif #elif defined _MSC_VER #pragma warning( push ) #pragma warning( disable : 4324 ) // structure was padded due to alignment specifier