diff options
Diffstat (limited to 'generic/tclGetDate.y')
| -rw-r--r-- | generic/tclGetDate.y | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclGetDate.y b/generic/tclGetDate.y index a86250f..2b71af4 100644 --- a/generic/tclGetDate.y +++ b/generic/tclGetDate.y @@ -45,7 +45,8 @@ #ifdef _MSC_VER #pragma warning( disable : 4102 ) -#elif defined (__clang__) +#elif defined (__clang__) && (__clang_major__ > 14) +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" #elif (__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ > 5))) #pragma GCC diagnostic ignored "-Wunused-but-set-variable" #endif |
