diff options
author | Jose <jose@zeroc.com> | 2014-10-30 16:03:47 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2014-10-30 16:03:47 +0100 |
commit | da8c267316512436ba19f28fa42510be305093f6 (patch) | |
tree | 935f3eefd77e909c847a44883fef38fce4bda48d /cpp/src/IceUtil/ConvertUTF.cpp | |
parent | Merge branch 'master' of ssh://git/home/git/ice (diff) | |
download | ice-da8c267316512436ba19f28fa42510be305093f6.tar.bz2 ice-da8c267316512436ba19f28fa42510be305093f6.tar.xz ice-da8c267316512436ba19f28fa42510be305093f6.zip |
ICE-5804 - Warnings when building with GCC (Eliminate C style casts)
Diffstat (limited to 'cpp/src/IceUtil/ConvertUTF.cpp')
-rw-r--r-- | cpp/src/IceUtil/ConvertUTF.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/IceUtil/ConvertUTF.cpp b/cpp/src/IceUtil/ConvertUTF.cpp index 0797c332062..14b409bc622 100644 --- a/cpp/src/IceUtil/ConvertUTF.cpp +++ b/cpp/src/IceUtil/ConvertUTF.cpp @@ -57,6 +57,11 @@ using namespace IceUtil; +#ifdef __GNUC__ +//# pragma GCC diagnostic push +# pragma GCC diagnostic ignored "-Wold-style-cast" +#endif + namespace IceUtilInternal { |