From 1adc4180ede92a8edd03be385272a66be6090766 Mon Sep 17 00:00:00 2001 From: Brian Aker Date: Fri, 7 Oct 2011 05:19:17 -0700 Subject: [PATCH] Strict alias undef around callbacks. --- tests/callbacks.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/callbacks.cc b/tests/callbacks.cc index c490e002..206e6092 100644 --- a/tests/callbacks.cc +++ b/tests/callbacks.cc @@ -42,6 +42,10 @@ 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) -- 2.30.2