[ create a new paste ] login | about

Link: http://codepad.org/kv9e6VOi    [ raw code | fork ]

C, pasted on Jun 5:
[ 12%] Building C object mysys/CMakeFiles/mysys.dir/mf_format.c.o
/dev/shm/mysql55/src/mysql-5.5.31/mysys/md5.c: In function my_MD5Final:
/dev/shm/mysql55/src/mysql-5.5.31/mysys/md5.c:179:24: warning: argument to sizeof in memset call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
   memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */
                        ^
--
[ 19%] In file included from /dev/shm/mysql55/src/mysql-5.5.31/mysys/stacktrace.c:16:0:
/dev/shm/mysql55/src/mysql-5.5.31/mysys/stacktrace.c: In function safe_print_str:
/dev/shm/mysql55/src/mysql-5.5.31/include/my_global.h:394:18: warning: typedef compile_time_assert locally defined but not used [-Wunused-local-typedefs]
     typedef char compile_time_assert[(X) ? 1 : -1];             \
                  ^
--
In file included from /dev/shm/mysql55/src/mysql-5.5.31/mysys/lf_alloc-pin.c:102:0:
/dev/shm/mysql55/src/mysql-5.5.31/mysys/lf_alloc-pin.c: In function lf_pinbox_init:
/dev/shm/mysql55/src/mysql-5.5.31/include/my_global.h:394:18: warning: typedef compile_time_assert locally defined but not used [-Wunused-local-typedefs]
     typedef char compile_time_assert[(X) ? 1 : -1];             \
                  ^
--
In file included from /dev/shm/mysql55/src/mysql-5.5.31/mysys/my_atomic.c:16:0:
/dev/shm/mysql55/src/mysql-5.5.31/mysys/my_atomic.c: In function my_atomic_initialize:
/dev/shm/mysql55/src/mysql-5.5.31/include/my_global.h:394:18: warning: typedef compile_time_assert locally defined but not used [-Wunused-local-typedefs]
     typedef char compile_time_assert[(X) ? 1 : -1];             \
                  ^
--
[ 25%] Building C object storage/myisam/CMakeFiles/myisam.dir/mi_checksum.c.o
/dev/shm/mysql55/src/mysql-5.5.31/storage/myisam/mi_checksum.c: In function mi_checksum:
/dev/shm/mysql55/src/mysql-5.5.31/storage/myisam/mi_checksum.c:37:13: warning: argument to sizeof in memcpy call is the same pointer type char * as the destination; expected char or an explicit length [-Wsizeof-pointer-memaccess]
       sizeof(char*));
             ^
--
[ 27%] Building C object storage/myisammrg/CMakeFiles/myisammrg_embedded.dir/myrg_range.c.o
/dev/shm/mysql55/src/mysql-5.5.31/storage/myisam/mi_checksum.c: In function mi_checksum:
/dev/shm/mysql55/src/mysql-5.5.31/storage/myisam/mi_checksum.c:37:13: warning: argument to sizeof in memcpy call is the same pointer type char * as the destination; expected char or an explicit length [-Wsizeof-pointer-memaccess]
       sizeof(char*));
             ^
--
[ 32%] Building C object storage/myisam/CMakeFiles/myisam.dir/mi_keycache.c.o
/dev/shm/mysql55/src/mysql-5.5.31/storage/myisam/mi_key.c: In function _mi_put_key_in_record:
/dev/shm/mysql55/src/mysql-5.5.31/storage/myisam/mi_key.c:421:31: warning: argument to sizeof in memcpy call is the same pointer type char * as the source; expected char or an explicit length [-Wsizeof-pointer-memaccess]
       (char*) &blob_ptr,sizeof(char*));
                               ^
--
[ 32%] Building C object storage/myisam/CMakeFiles/myisam_embedded.dir/mi_keycache.c.o
/dev/shm/mysql55/src/mysql-5.5.31/storage/myisam/mi_key.c: In function _mi_put_key_in_record:
/dev/shm/mysql55/src/mysql-5.5.31/storage/myisam/mi_key.c:421:31: warning: argument to sizeof in memcpy call is the same pointer type char * as the source; expected char or an explicit length [-Wsizeof-pointer-memaccess]
       (char*) &blob_ptr,sizeof(char*));
                               ^
--
[ 33%] Building CXX object storage/perfschema/CMakeFiles/perfschema.dir/pfs_engine_table.cc.o
/dev/shm/mysql55/src/mysql-5.5.31/storage/myisam/mi_packrec.c: In function uf_blob:
/dev/shm/mysql55/src/mysql-5.5.31/storage/myisam/mi_packrec.c:1054:63: warning: argument to sizeof in memcpy call is the same pointer type char * as the destination; expected char or an explicit length [-Wsizeof-pointer-memaccess]
     memcpy((char*) to+pack_length, &bit_buff->blob_pos, sizeof(char*));
                                                               ^
--
[ 33%] Building C object storage/myisam/CMakeFiles/myisam.dir/mi_packrec.c.o
/dev/shm/mysql55/src/mysql-5.5.31/storage/myisam/mi_packrec.c: In function uf_blob:
/dev/shm/mysql55/src/mysql-5.5.31/storage/myisam/mi_packrec.c:1054:63: warning: argument to sizeof in memcpy call is the same pointer type char * as the destination; expected char or an explicit length [-Wsizeof-pointer-memaccess]
     memcpy((char*) to+pack_length, &bit_buff->blob_pos, sizeof(char*));
                                                               ^
--
[ 40%] In file included from /dev/shm/mysql55/src/mysql-5.5.31/storage/perfschema/table_events_waits.cc:21:0:
/dev/shm/mysql55/src/mysql-5.5.31/storage/perfschema/table_events_waits.cc: In member function virtual int table_events_waits_common::read_row_values(TABLE*, unsigned char*, Field**, bool):
/dev/shm/mysql55/src/mysql-5.5.31/include/my_global.h:394:18: warning: typedef compile_time_assert locally defined but not used [-Wunused-local-typedefs]
     typedef char compile_time_assert[(X) ? 1 : -1];             \
                  ^
--
In file included from /dev/shm/mysql55/src/mysql-5.5.31/storage/perfschema/table_events_waits.cc:21:0:
/dev/shm/mysql55/src/mysql-5.5.31/storage/perfschema/table_events_waits.cc: In member function virtual int table_events_waits_common::read_row_values(TABLE*, unsigned char*, Field**, bool):
/dev/shm/mysql55/src/mysql-5.5.31/include/my_global.h:394:18: warning: typedef compile_time_assert locally defined but not used [-Wunused-local-typedefs]
     typedef char compile_time_assert[(X) ? 1 : -1];             \
                  ^
--
In file included from /dev/shm/mysql55/src/mysql-5.5.31/extra/perror.c:21:0:
/dev/shm/mysql55/src/mysql-5.5.31/extra/perror.c: In function get_ha_error_msg:
/dev/shm/mysql55/src/mysql-5.5.31/include/my_global.h:394:18: warning: typedef compile_time_assert locally defined but not used [-Wunused-local-typedefs]
     typedef char compile_time_assert[(X) ? 1 : -1];             \
                  ^
--
[ 55%] Building C object libmysql/CMakeFiles/clientlib.dir/libmysql.c.o
/dev/shm/mysql55/src/mysql-5.5.31/extra/perror.c: In function my_handler_error_register:
/dev/shm/mysql55/src/mysql-5.5.31/include/my_global.h:394:18: warning: typedef compile_time_assert locally defined but not used [-Wunused-local-typedefs]
     typedef char compile_time_assert[(X) ? 1 : -1];             \
                  ^
--
In file included from /dev/shm/mysql55/src/mysql-5.5.31/sql-common/client.c:36:0:
/dev/shm/mysql55/src/mysql-5.5.31/sql-common/client.c: In function mysql_read_default_options:
/dev/shm/mysql55/src/mysql-5.5.31/include/my_global.h:394:18: warning: typedef compile_time_assert locally defined but not used [-Wunused-local-typedefs]
     typedef char compile_time_assert[(X) ? 1 : -1];             \
                  ^
--
   ^
/dev/shm/mysql55/src/mysql-5.5.31/sql-common/client.c: In function send_client_reply_packet:
/dev/shm/mysql55/src/mysql-5.5.31/include/my_global.h:394:18: warning: typedef compile_time_assert locally defined but not used [-Wunused-local-typedefs]
     typedef char compile_time_assert[(X) ? 1 : -1];             \
                  ^
--
   ^
/dev/shm/mysql55/src/mysql-5.5.31/sql-common/client.c: In function run_plugin_auth:
/dev/shm/mysql55/src/mysql-5.5.31/include/my_global.h:394:18: warning: typedef compile_time_assert locally defined but not used [-Wunused-local-typedefs]
     typedef char compile_time_assert[(X) ? 1 : -1];             \
                  ^
--
   compile_time_assert(CR_OK == -1);
   ^
/dev/shm/mysql55/src/mysql-5.5.31/include/my_global.h:394:18: warning: typedef compile_time_assert locally defined but not used [-Wunused-local-typedefs]
     typedef char compile_time_assert[(X) ? 1 : -1];             \
                  ^
--
                 from /dev/shm/mysql55/src/mysql-5.5.31/libmysqld/lib_sql.cc:31:
/dev/shm/mysql55/src/mysql-5.5.31/libmysqld/../sql/mysqld.cc: In function my_bool mysqld_get_one_option(int, const my_option*, char*):
/dev/shm/mysql55/src/mysql-5.5.31/include/my_global.h:394:18: warning: typedef compile_time_assert locally defined but not used [-Wunused-local-typedefs]
     typedef char compile_time_assert[(X) ? 1 : -1];             \
                  ^
--
     WARN_DEPRECATED(NULL, 7, 0, "--log", "'--general-log'/'--general-log-file'");
     ^
/dev/shm/mysql55/src/mysql-5.5.31/include/my_global.h:394:18: warning: typedef compile_time_assert locally defined but not used [-Wunused-local-typedefs]
     typedef char compile_time_assert[(X) ? 1 : -1];             \
                  ^
--
     WARN_DEPRECATED(NULL, 7, 0, "--log-slow-queries", "'--slow-query-log'/'--slow-query-log-file'");
     ^
/dev/shm/mysql55/src/mysql-5.5.31/include/my_global.h:394:18: warning: typedef compile_time_assert locally defined but not used [-Wunused-local-typedefs]
     typedef char compile_time_assert[(X) ? 1 : -1];             \
                  ^
--
In file included from /dev/shm/mysql55/src/mysql-5.5.31/sql-common/client.c:36:0:
/dev/shm/mysql55/src/mysql-5.5.31/sql-common/client.c: In function mysql_read_default_options:
/dev/shm/mysql55/src/mysql-5.5.31/include/my_global.h:394:18: warning: typedef compile_time_assert locally defined but not used [-Wunused-local-typedefs]
     typedef char compile_time_assert[(X) ? 1 : -1];             \
                  ^
--
   ^
[ 61%] /dev/shm/mysql55/src/mysql-5.5.31/sql-common/client.c: In function send_client_reply_packet:
/dev/shm/mysql55/src/mysql-5.5.31/include/my_global.h:394:18: warning: typedef compile_time_assert locally defined but not used [-Wunused-local-typedefs]
     typedef char compile_time_assert[(X) ? 1 : -1];             \
                  ^
--
Building C object storage/innobase/CMakeFiles/innobase_embedded.dir/os/os0thread.c.o
/dev/shm/mysql55/src/mysql-5.5.31/sql-common/client.c: In function run_plugin_auth:
/dev/shm/mysql55/src/mysql-5.5.31/include/my_global.h:394:18: warning: typedef compile_time_assert locally defined but not used [-Wunused-local-typedefs]
     typedef char compile_time_assert[(X) ? 1 : -1];             \
                  ^
--
   compile_time_assert(CR_OK == -1);
   ^
/dev/shm/mysql55/src/mysql-5.5.31/include/my_global.h:394:18: warning: typedef compile_time_assert locally defined but not used [-Wunused-local-typedefs]
     typedef char compile_time_assert[(X) ? 1 : -1];             \
                  ^
--
                 from /dev/shm/mysql55/src/mysql-5.5.31/sql/field.cc:30:
/dev/shm/mysql55/src/mysql-5.5.31/sql/field.cc: In member function virtual int Field_blob::store(const char*, uint, CHARSET_INFO*):
/dev/shm/mysql55/src/mysql-5.5.31/sql/field.cc:7383:48: warning: argument to sizeof in void* memmove(void*, const void*, size_t) call is the same pointer type char* as the source; expected char or an explicit length [-Wsizeof-pointer-memaccess]
       bmove(ptr+packlength,(char*) &from,sizeof(char*));
                                                ^
--
                                             ^
/dev/shm/mysql55/src/mysql-5.5.31/sql/field.cc: In member function virtual int Field_geom::store(const char*, uint, CHARSET_INFO*):
/dev/shm/mysql55/src/mysql-5.5.31/sql/field.cc:7900:50: warning: argument to sizeof in void* memmove(void*, const void*, size_t) call is the same pointer type char* as the source; expected char or an explicit length [-Wsizeof-pointer-memaccess]
     bmove(ptr + packlength, (char*) &from, sizeof(char*));
                                                  ^
--
In file included from /dev/shm/mysql55/src/mysql-5.5.31/sql-common/client.c:36:0:
/dev/shm/mysql55/src/mysql-5.5.31/sql-common/client.c: In function mysql_read_default_options:
/dev/shm/mysql55/src/mysql-5.5.31/include/my_global.h:394:18: warning: typedef compile_time_assert locally defined but not used [-Wunused-local-typedefs]
     typedef char compile_time_assert[(X) ? 1 : -1];             \
                  ^
--
   ^
/dev/shm/mysql55/src/mysql-5.5.31/sql-common/client.c: In function send_client_reply_packet:
/dev/shm/mysql55/src/mysql-5.5.31/include/my_global.h:394:18: warning: typedef compile_time_assert locally defined but not used [-Wunused-local-typedefs]
     typedef char compile_time_assert[(X) ? 1 : -1];             \
                  ^
--
   ^
/dev/shm/mysql55/src/mysql-5.5.31/sql-common/client.c: In function run_plugin_auth:
/dev/shm/mysql55/src/mysql-5.5.31/include/my_global.h:394:18: warning: typedef compile_time_assert locally defined but not used [-Wunused-local-typedefs]
     typedef char compile_time_assert[(X) ? 1 : -1];             \
                  ^
--
   compile_time_assert(CR_OK == -1);
   ^
/dev/shm/mysql55/src/mysql-5.5.31/include/my_global.h:394:18: warning: typedef compile_time_assert locally defined but not used [-Wunused-local-typedefs]
     typedef char compile_time_assert[(X) ? 1 : -1];             \
                  ^
--
                 from /dev/shm/mysql55/src/mysql-5.5.31/sql/field.cc:30:
/dev/shm/mysql55/src/mysql-5.5.31/sql/field.cc: In member function virtual int Field_blob::store(const char*, uint, CHARSET_INFO*):
/dev/shm/mysql55/src/mysql-5.5.31/sql/field.cc:7383:48: warning: argument to sizeof in void* memmove(void*, const void*, size_t) call is the same pointer type char* as the source; expected char or an explicit length [-Wsizeof-pointer-memaccess]
       bmove(ptr+packlength,(char*) &from,sizeof(char*));
                                                ^
--
                                             ^
[ 76%] [ 76%] /dev/shm/mysql55/src/mysql-5.5.31/sql/field.cc: In member function virtual int Field_geom::store(const char*, uint, CHARSET_INFO*):
/dev/shm/mysql55/src/mysql-5.5.31/sql/field.cc:7900:50: warning: argument to sizeof in void* memmove(void*, const void*, size_t) call is the same pointer type char* as the source; expected char or an explicit length [-Wsizeof-pointer-memaccess]
     bmove(ptr + packlength, (char*) &from, sizeof(char*));
                                                  ^
--
In file included from /dev/shm/mysql55/src/mysql-5.5.31/sql/sql_acl.cc:27:0:
/dev/shm/mysql55/src/mysql-5.5.31/sql/sql_acl.cc: In function bool acl_authenticate(THD*, uint, uint):
/dev/shm/mysql55/src/mysql-5.5.31/include/my_global.h:394:18: warning: typedef compile_time_assert locally defined but not used [-Wunused-local-typedefs]
     typedef char compile_time_assert[(X) ? 1 : -1];             \
                  ^
--
In file included from /dev/shm/mysql55/src/mysql-5.5.31/sql/mysqld.cc:16:0:
/dev/shm/mysql55/src/mysql-5.5.31/sql/mysqld.cc: In function my_bool mysqld_get_one_option(int, const my_option*, char*):
/dev/shm/mysql55/src/mysql-5.5.31/include/my_global.h:394:18: warning: typedef compile_time_assert locally defined but not used [-Wunused-local-typedefs]
     typedef char compile_time_assert[(X) ? 1 : -1];             \
                  ^
--
     WARN_DEPRECATED(NULL, 7, 0, "--log", "'--general-log'/'--general-log-file'");
     ^
/dev/shm/mysql55/src/mysql-5.5.31/include/my_global.h:394:18: warning: typedef compile_time_assert locally defined but not used [-Wunused-local-typedefs]
     typedef char compile_time_assert[(X) ? 1 : -1];             \
                  ^
--
     WARN_DEPRECATED(NULL, 7, 0, "--log-slow-queries", "'--slow-query-log'/'--slow-query-log-file'");
     ^
/dev/shm/mysql55/src/mysql-5.5.31/include/my_global.h:394:18: warning: typedef compile_time_assert locally defined but not used [-Wunused-local-typedefs]
     typedef char compile_time_assert[(X) ? 1 : -1];             \
                  ^
--
In file included from /dev/shm/mysql55/src/mysql-5.5.31/sql/sql_acl.cc:27:0:
/dev/shm/mysql55/src/mysql-5.5.31/sql/sql_acl.cc: In function bool acl_authenticate(THD*, uint, uint):
/dev/shm/mysql55/src/mysql-5.5.31/include/my_global.h:394:18: warning: typedef compile_time_assert locally defined but not used [-Wunused-local-typedefs]
     typedef char compile_time_assert[(X) ? 1 : -1];             \
                  ^
--
In file included from /dev/shm/mysql55/src/mysql-5.5.31/sql/sys_vars.cc:30:0:
/dev/shm/mysql55/src/mysql-5.5.31/sql/sys_vars.cc: In function bool fix_optimizer_search_depth(sys_var*, THD*, enum_var_type):
/dev/shm/mysql55/src/mysql-5.5.31/include/my_global.h:394:18: warning: typedef compile_time_assert locally defined but not used [-Wunused-local-typedefs]
     typedef char compile_time_assert[(X) ? 1 : -1];             \
                  ^
--
In file included from /dev/shm/mysql55/src/mysql-5.5.31/sql/sys_vars.cc:30:0:
/dev/shm/mysql55/src/mysql-5.5.31/sql/sys_vars.cc: In function bool fix_optimizer_search_depth(sys_var*, THD*, enum_var_type):
/dev/shm/mysql55/src/mysql-5.5.31/include/my_global.h:394:18: warning: typedef compile_time_assert locally defined but not used [-Wunused-local-typedefs]
     typedef char compile_time_assert[(X) ? 1 : -1];             \
                  ^


Create a new paste based on this one


Comments: