- 积分
- 29
- 威望
-
- 金钱
-
- 注册时间
- 2019-5-3
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
楼主 |
发表于 2023-7-20 17:13:27
|
显示全部楼层
In function 'memcached_return_t unix_socket_connect(memcached_instance_st*)',
inlined from 'memcached_return_t _memcached_connect(memcached_instance_st*, bool)' at libmemcached/connect.cc:781:28:
libmemcached/connect.cc:469:12: warning: 'char* strncpy(char*, const char*, size_t)' output may be truncated copying 108 bytes from a string of length 1024 [-Wstringop-truncation]
469 | strncpy(servAddr.sun_path, server->hostname(), sizeof(servAddr.sun_path)); /* Copy filename */
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CXX libmemcached/libmemcachedinternal_libmemcachedinternal_la-delete.lo
CXX libmemcached/libmemcachedinternal_libmemcachedinternal_la-do.lo
CXX libmemcached/libmemcachedinternal_libmemcachedinternal_la-dump.lo
CXX libmemcached/libmemcachedinternal_libmemcachedinternal_la-error.lo
CXX libmemcached/libmemcachedinternal_libmemcachedinternal_la-exist.lo
CXX libmemcached/libmemcachedinternal_libmemcachedinternal_la-fetch.lo
CXX libmemcached/libmemcachedinternal_libmemcachedinternal_la-flag.lo
CXX libmemcached/libmemcachedinternal_libmemcachedinternal_la-flush.lo
CXX libmemcached/libmemcachedinternal_libmemcachedinternal_la-flush_buffers.lo
CXX libmemcached/libmemcachedinternal_libmemcachedinternal_la-get.lo
CXX libmemcached/libmemcachedinternal_libmemcachedinternal_la-hash.lo
CXX libmemcached/libmemcachedinternal_libmemcachedinternal_la-hosts.lo
CXX libmemcached/libmemcachedinternal_libmemcachedinternal_la-initialize_query.lo
CXX libmemcached/libmemcachedinternal_libmemcachedinternal_la-io.lo
libmemcached/io.cc: In function 'memcached_return_t io_wait(memcached_instance_st*, short int)':
libmemcached/io.cc:275:26: warning: this statement may fall through [-Wimplicit-fallthrough=]
275 | memcached_set_error(*instance, MEMCACHED_MEMORY_ALLOCATION_FAILURE, MEMCACHED_AT);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libmemcached/io.cc:277:5: note: here
277 | case EINVAL:
| ^~~~
libmemcached/io.cc:278:26: warning: this statement may fall through [-Wimplicit-fallthrough=]
278 | memcached_set_error(*instance, MEMCACHED_MEMORY_ALLOCATION_FAILURE, MEMCACHED_AT, memcached_literal_param("RLIMIT_NOFILE exceeded, or if OSX the timeout value was invalid"));
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libmemcached/io.cc:280:5: note: here
280 | default:
| ^~~~~~~
CXX libmemcached/libmemcachedinternal_libmemcachedinternal_la-key.lo
CXX libmemcached/libmemcachedinternal_libmemcachedinternal_la-memcached.lo
CXX libmemcached/libmemcachedinternal_libmemcachedinternal_la-encoding_key.lo
CXX libmemcached/libmemcachedinternal_libmemcachedinternal_la-namespace.lo
CXX libmemcached/libmemcachedinternal_libmemcachedinternal_la-options.lo
CXX libmemcached/libmemcachedinternal_libmemcachedinternal_la-parse.lo
CXX libmemcached/libmemcachedinternal_libmemcachedinternal_la-poll.lo
CXX libmemcached/libmemcachedinternal_libmemcachedinternal_la-purge.lo
CXX libmemcached/libmemcachedinternal_libmemcachedinternal_la-quit.lo
CXX libmemcached/libmemcachedinternal_libmemcachedinternal_la-response.lo
CXX libmemcached/libmemcachedinternal_libmemcachedinternal_la-result.lo
CXX libmemcached/libmemcachedinternal_libmemcachedinternal_la-sasl.lo
libmemcached/sasl.cc: In function 'memcached_return_t memcached_set_sasl_auth_data(memcached_st*, const char*, const char*)':
libmemcached/sasl.cc:365:22: warning: cast between incompatible function types from 'int (*)(void*, int, const char**, unsigned int*)' to 'int (*)()' [-Wcast-function-type]
365 | callbacks[0].proc= (int (*)())get_username;
| ^~~~~~~~~~~~~~~~~~~~~~~
libmemcached/sasl.cc:368:22: warning: cast between incompatible function types from 'int (*)(void*, int, const char**, unsigned int*)' to 'int (*)()' [-Wcast-function-type]
368 | callbacks[1].proc= (int (*)())get_username;
| ^~~~~~~~~~~~~~~~~~~~~~~
libmemcached/sasl.cc:371:22: warning: cast between incompatible function types from 'int (*)(sasl_conn_t*, void*, int, sasl_secret_t**)' {aka 'int (*)(sasl_conn*, void*, int, sasl_secret**)'} to 'int (*)()' [-Wcast-function-type]
371 | callbacks[2].proc= (int (*)())get_password;
| ^~~~~~~~~~~~~~~~~~~~~~~
libmemcached/sasl.cc: In function 'memcached_return_t memcached_clone_sasl(memcached_st*, const memcached_st*)':
libmemcached/sasl.cc:431:42: warning: cast between incompatible function types from 'int (*)(void*, int, const char**, unsigned int*)' to 'int (*)()' [-Wcast-function-type]
431 | source->sasl.callbacks[0].proc == (int (*)())get_username &&
| ^~~~~~~~~~~~~~~~~~~~~~~
libmemcached/sasl.cc:433:42: warning: cast between incompatible function types from 'int (*)(void*, int, const char**, unsigned int*)' to 'int (*)()' [-Wcast-function-type]
433 | source->sasl.callbacks[1].proc == (int (*)())get_username &&
| ^~~~~~~~~~~~~~~~~~~~~~~
libmemcached/sasl.cc:435:42: warning: cast between incompatible function types from 'int (*)(sasl_conn_t*, void*, int, sasl_secret_t**)' {aka 'int (*)(sasl_conn*, void*, int, sasl_secret**)'} to 'int (*)()' [-Wcast-function-type]
435 | source->sasl.callbacks[2].proc == (int (*)())get_password &&
| ^~~~~~~~~~~~~~~~~~~~~~~ |
|