diff options
Diffstat (limited to 'mysqlc')
-rw-r--r-- | mysqlc/source/mysqlc_general.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mysqlc/source/mysqlc_general.hxx b/mysqlc/source/mysqlc_general.hxx index 5d0b828c3e51..d3e12ee11c2c 100644 --- a/mysqlc/source/mysqlc_general.hxx +++ b/mysqlc/source/mysqlc_general.hxx @@ -29,7 +29,14 @@ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wdeprecated" #endif +#if defined __clang__ && __cplusplus > 201402L +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdynamic-exception-spec" +#endif #include <cppconn/exception.h> +#if defined __clang__ && __cplusplus > 201402L +#pragma clang diagnostic pop +#endif #if defined __GNUC__ #pragma GCC diagnostic pop #endif |