diff options
author | Bernard Normier <bernard@zeroc.com> | 2018-10-28 14:24:01 -0400 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2018-10-28 14:24:01 -0400 |
commit | b581ee5001b4d58c47372d2c5c62b5be9a41b941 (patch) | |
tree | fd689878ed05c0562c45d0cc2f8a4c7f6b824e38 /php/src | |
parent | Disable -Werror on macOS (temporary) (diff) | |
download | ice-b581ee5001b4d58c47372d2c5c62b5be9a41b941.tar.bz2 ice-b581ee5001b4d58c47372d2c5c62b5be9a41b941.tar.xz ice-b581ee5001b4d58c47372d2c5c62b5be9a41b941.zip |
Disable shadow warnings with clang 3.x
Diffstat (limited to 'php/src')
-rw-r--r-- | php/src/php5/Util.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/php/src/php5/Util.cpp b/php/src/php5/Util.cpp index 1a65e092256..8cdbbe1e1e0 100644 --- a/php/src/php5/Util.cpp +++ b/php/src/php5/Util.cpp @@ -13,6 +13,11 @@ #include <algorithm> #include <ctype.h> +#if defined(__GNUC__) +// False warning with older GCC +# pragma GCC diagnostic ignored "-Wclobbered" +#endif + using namespace std; using namespace IcePHP; using namespace Slice::PHP; |