Comment #7 on issue 60 by maxim.volkov: Compile error with gcc-4.4
http://code.google.com/p/memcached/issues/detail?id=60
I am still seen this error building from memcached 1.4.4 and from trunk as
well.
-------------------------------------------------------------------
make[2]: Entering directory `/home/local/memcached-1.4.4'
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DNDEBUG -g -O2 -pthread -Wall
-Werror -pedantic -Wmissing-
prototypes -Wmissing-declarations -Wredundant-decls -MT
memcached-memcached.o -MD -MP -MF
.deps/memcached-memcached.Tpo -c -o memcached-memcached.o `test
-f 'memcached.c' || echo
'./'`memcached.c
cc1: warnings being treated as errors
memcached.c: In function ‘complete_incr_bin’:
memcached.c:1022: error: dereferencing type-punned pointer will break
strict-aliasing rules
memcached.c:1043: error: dereferencing type-punned pointer will break
strict-aliasing rules
memcached.c:1060: error: dereferencing type-punned pointer will break
strict-aliasing rules
memcached.c: In function ‘process_bin_get’:
memcached.c:1192: error: dereferencing type-punned pointer will break
strict-aliasing rules
memcached.c: In function ‘process_bin_update’:
memcached.c:1888: error: dereferencing type-punned pointer will break
strict-aliasing rules
memcached.c:1904: error: dereferencing type-punned pointer will break
strict-aliasing rules
memcached.c: In function ‘process_bin_append_prepend’:
memcached.c:1948: error: dereferencing type-punned pointer will break
strict-aliasing rules
memcached.c: In function ‘process_bin_delete’:
memcached.c:2013: error: dereferencing type-punned pointer will break
strict-aliasing rules
memcached.c: In function ‘do_store_item’:
memcached.c:2126: error: dereferencing type-punned pointer will break
strict-aliasing rules
memcached.c:2126: error: dereferencing type-punned pointer will break
strict-aliasing rules
memcached.c:2143: error: dereferencing type-punned pointer will break
strict-aliasing rules
memcached.c:2144: error: dereferencing type-punned pointer will break
strict-aliasing rules
memcached.c:2157: error: dereferencing type-punned pointer will break
strict-aliasing rules
memcached.c:2159: error: dereferencing type-punned pointer will break
strict-aliasing rules
memcached.c:2159: error: dereferencing type-punned pointer will break
strict-aliasing rules
memcached.c:2201: error: dereferencing type-punned pointer will break
strict-aliasing rules
memcached.c:2213: error: dereferencing type-punned pointer will break
strict-aliasing rules
memcached.c: In function ‘process_get_command’:
memcached.c:2591: error: dereferencing type-punned pointer will break
strict-aliasing rules
memcached.c: In function ‘process_update_command’:
memcached.c:2750: error: dereferencing type-punned pointer will break
strict-aliasing rules
memcached.c: In function ‘do_add_delta’:
memcached.c:2869: error: dereferencing type-punned pointer will break
strict-aliasing rules
make[2]: *** [memcached-memcached.o] Error 1
make[2]: Leaving directory `/home/local/memcached-1.4.4'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/local/memcached-1.4.4'
make: *** [all] Error 2
-------------------------------------------------------------------
Does it mean it still not fixed? WIll be the same patch be applicable?
OS: Suse 11.1
gcc: 4.4.1
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings