diff options
author | Bernard Normier <bernard@zeroc.com> | 2012-12-26 19:08:48 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2012-12-26 19:08:48 +0000 |
commit | ee483bab1e0d0e6acdb0310007757c00d10f64c2 (patch) | |
tree | 425ca084bce7c1b016c4a9f64e24a0e8cbc7542d /cpp/test/Ice/operations/Twoways.cpp | |
parent | Fixed (ICE-5035) - Added check to detect mingw compiler (diff) | |
download | ice-ee483bab1e0d0e6acdb0310007757c00d10f64c2.tar.bz2 ice-ee483bab1e0d0e6acdb0310007757c00d10f64c2.tar.xz ice-ee483bab1e0d0e6acdb0310007757c00d10f64c2.zip |
Fixed GCC warnings; added -Werror to GCC builds
Diffstat (limited to 'cpp/test/Ice/operations/Twoways.cpp')
-rw-r--r-- | cpp/test/Ice/operations/Twoways.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cpp/test/Ice/operations/Twoways.cpp b/cpp/test/Ice/operations/Twoways.cpp index d59e18810d8..bfdff90c137 100644 --- a/cpp/test/Ice/operations/Twoways.cpp +++ b/cpp/test/Ice/operations/Twoways.cpp @@ -22,6 +22,13 @@ # undef max #endif +// +// Work-around for GCC warning bug +// +#if defined(__GNUC__) +# pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif + using namespace std; namespace |