diff options
Diffstat (limited to 'cpp/src')
| -rw-r--r-- | cpp/src/qpid/sys/SocketTransport.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/qpid/sys/SocketTransport.cpp b/cpp/src/qpid/sys/SocketTransport.cpp index 091851713e..cf0770f4ee 100644 --- a/cpp/src/qpid/sys/SocketTransport.cpp +++ b/cpp/src/qpid/sys/SocketTransport.cpp @@ -18,6 +18,11 @@ * under the License. * */ +// Turn off unintialised warnings as errors when compiling under Red Enterprise Linux 6 +// as an unitialised variable warning is unavoidable there. +#if __GNUC__ == 4 && __GNUC_MINOR__ == 4 && __GNUC_PATCHLEVEL__ == 7 +#pragma GCC diagnostic warning "-Wuninitialized" +#endif #include "qpid/sys/SocketTransport.h" |
