Strict alias undef around callbacks.
authorBrian Aker <brian@tangent.org>
Fri, 7 Oct 2011 12:19:17 +0000 (05:19 -0700)
committerBrian Aker <brian@tangent.org>
Fri, 7 Oct 2011 12:19:17 +0000 (05:19 -0700)
tests/callbacks.cc

index c490e002c005d27f90dc4fc8a9cd41fd64f5ad1d..206e60924db5358775fa5445f3136acb94115475 100644 (file)
 
 using namespace libtest;
 
+#ifndef __INTEL_COMPILER
+#pragma GCC diagnostic ignored "-Wstrict-aliasing"
+#endif
+
 static memcached_return_t delete_trigger(memcached_st *,
                                          const char *key,
                                          size_t key_length)