[Reconnoiter-devel] GCC 4.6.1 -Werror

Igor Galić i.galic at brainsware.org
Tue Nov 29 06:21:21 EST 2011


Hey folks,

Ubuntu 11.10 comes with GCC 4.6.1 which is a bit more strict
so when compiling with -Wall -Werror the results is that
reconnoiter doesn't build. I removed -Werror from configure.in
and here's the output of stderr:

eventer_epoll_impl.c: In function ‘eventer_epoll_impl_trigger’:
eventer_epoll_impl.c:187:11: warning: variable ‘oldmask’ set but not used [-Wunused-but-set-variable]
noit_log.c: In function ‘posix_logio_rename’:
noit_log.c:209:7: warning: variable ‘rv’ set but not used [-Wunused-but-set-variable]
noit_log.c: In function ‘noit_log_jlog_err’:
noit_log.c:443:7: warning: variable ‘rv’ set but not used [-Wunused-but-set-variable]
noit_watchdog.c: In function ‘run_glider’:
noit_watchdog.c:106:19: warning: variable ‘unused’ set but not used [-Wunused-but-set-variable]
In file included from noit_console.c:64:0:
/usr/include/libutil.h:33:2: warning: #warning "Deprecated header, use <bsd/libutil.h> or libbsd-overlay.pc instead." [-Wcpp]
noit_console_state.c: In function ‘noit_console_state_initial’:
noit_console_state.c:515:34: warning: variable ‘no_state’ set but not used [-Wunused-but-set-variable]
noit_check_rest.c: In function ‘rest_delete_check’:
noit_check_rest.c:437:15: warning: variable ‘error’ set but not used [-Wunused-but-set-variable]
stratcon_jlog_streamer.c: In function ‘noit_connection_schedule_reattempt’:
stratcon_jlog_streamer.c:244:30: warning: variable ‘cn_expected’ set but not used [-Wunused-but-set-variable]
stratcon_jlog_streamer.c:244:19: warning: variable ‘feedtype’ set but not used [-Wunused-but-set-variable]
stratcon_jlog_streamer.c: In function ‘stratcon_jlog_recv_handler’:
stratcon_jlog_streamer.c:395:29: warning: variable ‘feedtype’ set but not used [-Wunused-but-set-variable]
stratcon_jlog_streamer.c:395:15: warning: variable ‘cn_expected’ set but not used [-Wunused-but-set-variable]
stratcon_jlog_streamer.c: In function ‘noit_connection_ssl_upgrade’:
stratcon_jlog_streamer.c:560:44: warning: variable ‘feedtype’ set but not used [-Wunused-but-set-variable]
stratcon_jlog_streamer.c: In function ‘noit_connection_complete_connect’:
stratcon_jlog_streamer.c:612:70: warning: variable ‘feedtype’ set but not used [-Wunused-but-set-variable]
stratcon_jlog_streamer.c:612:56: warning: variable ‘cn_expected’ set but not used [-Wunused-but-set-variable]
stratcon_jlog_streamer.c: In function ‘noit_connection_initiate_connection’:
stratcon_jlog_streamer.c:690:29: warning: variable ‘feedtype’ set but not used [-Wunused-but-set-variable]
stratcon_jlog_streamer.c:690:15: warning: variable ‘cn_expected’ set but not used [-Wunused-but-set-variable]
collectd.c: In function ‘noit_collectd_handler’:
collectd.c:1420:26: warning: variable ‘conf’ set but not used [-Wunused-but-set-variable]
libstomp.c: In function ‘stomp_read’:
libstomp.c:419:6: warning: passing argument 3 of ‘apr_socket_recv’ from incompatible pointer type [enabled by default]
/opt/bw/include/apr/apr_network_io.h:591:27: note: expected ‘apr_size_t *’ but argument is of type ‘int *’


When I get around it I hope I'll be able to provide patches
for these

So long,
i

-- 
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.galic at brainsware.org
URL: http://brainsware.org/
GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE



More information about the Reconnoiter-devel mailing list