Fix Ubuntu compile find.
authorBrian Aker <brian@tangent.org>
Thu, 6 Oct 2011 19:20:37 +0000 (12:20 -0700)
committerBrian Aker <brian@tangent.org>
Thu, 6 Oct 2011 19:20:37 +0000 (12:20 -0700)
tests/pool.cc

index 002dac82e40f90fb7dae9316608ebf76bf32d03b..f6214e0d3b5b5f103de029d2d9f35d9bc7b2b1bf 100644 (file)
@@ -51,6 +51,11 @@ using namespace libtest;
 #include <libmemcached/util.h>
 #include <tests/pool.h>
 
+#ifndef __INTEL_COMPILER
+#pragma GCC diagnostic ignored "-Wstrict-aliasing"
+#endif
+
+
 test_return_t memcached_pool_test(memcached_st *)
 {
   memcached_return_t rc;