projects
/
awesomized
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
af0c436
)
Strict alias undef around callbacks.
author
Brian Aker
<brian@tangent.org>
Fri, 7 Oct 2011 12:19:17 +0000
(
05:19
-0700)
committer
Brian Aker
<brian@tangent.org>
Fri, 7 Oct 2011 12:19:17 +0000
(
05:19
-0700)
tests/callbacks.cc
patch
|
blob
|
history
diff --git
a/tests/callbacks.cc
b/tests/callbacks.cc
index c490e002c005d27f90dc4fc8a9cd41fd64f5ad1d..206e60924db5358775fa5445f3136acb94115475 100644
(file)
--- 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)