[Nagiosplug-devel] [ nagiosplug-Bugs-1532272 ] Warnings

SourceForge.net noreply at sourceforge.net
Tue Aug 1 10:48:49 CEST 2006


Bugs item #1532272, was opened at 2006-08-01 04:48
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1532272&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Compilation
Group: CVS
Status: Open
Resolution: None
Priority: 5
Submitted By: Ciro Iriarte (cyruspy)
Assigned to: Nobody/Anonymous (nobody)
Summary: Warnings

Initial Comment:
source='utils_base.c' object='utils_base.o' libtool=no
 DEPDIR=.deps depmode=tru64 /bin/ksh ../depcomp  cc
-DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl -I../plugins
    -g -c utils_base.c
cc: Warning: utils_base.c, line 108: In this statement,
"0" of type "int", is being converted to "pointer to
struct thresholds_struct". (cvtdiftypes)
	if (*my_thresholds > 0) {	/* Not sure why, but
sometimes could be -1 */
------------^ 

source='netutils.c' object='netutils.o' libtool=no 
DEPDIR=.deps depmode=tru64 /bin/ksh ../depcomp  cc
-DLOCALEDIR=\"/usr/local/nagios/share/locale\"
-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl  
-I/usr/include     -g -c netutils.c
cc: Warning: netutils.c, line 228: In this statement,
"0" of type "int", is being converted to "pointer to
int". (cvtdiftypes)
		if(sd < 0){
-------------------^
/bin/ksh ../libtool --tag=CC --mode=link cc  -g   -L.
-o check_http  check_http.o sslutils.o netutils.o
utils.o ../lib/libnagiosplug.a ../lib/libcoreutils.a 
-lresolv -lssl -lcrypto 
cc -g -o check_http check_http.o sslutils.o netutils.o
utils.o 
-L/usr/users/iriartec/src/nagios-plugins-HEAD-200607312352/plugins
../lib/libnagiosplug.a ../lib/libcoreutils.a -lresolv
-lssl -lcrypto 

source='check_ntp.c' object='check_ntp.o' libtool=no 
DEPDIR=.deps depmode=tru64 /bin/ksh ../depcomp  cc
-DLOCALEDIR=\"/usr/local/nagios/share/locale\"
-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl  
-I/usr/include     -g -c check_ntp.c
cc: Warning: check_ntp.c, line 524: In this statement,
performing pointer arithmetic on a pointer to void or a
pointer to function is not allowed.  The compiler will
treat the type as if it were pointer to char. (badptrarith)
		memcpy((void*)peers+peer_offset, (void*)req.data,
sizeof(ntp_assoc_status_pair)*npeers);
-----------------------^
/bin/ksh ../libtool --tag=CC --mode=link cc  -g   -L.
-o check_ntp  check_ntp.o netutils.o utils.o
../lib/libnagiosplug.a ../lib/libcoreutils.a  -lresolv
-lm -lssl -lcrypto 
cc -g -o check_ntp check_ntp.o netutils.o utils.o  

source='check_smtp.c' object='check_smtp.o' libtool=no
 DEPDIR=.deps depmode=tru64 /bin/ksh ../depcomp  cc
-DLOCALEDIR=\"/usr/local/nagios/share/locale\"
-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl  
-I/usr/include     -g -c check_smtp.c
cc: Warning: check_smtp.c, line 354: In this statement,
the referenced type of the pointer value "((const char
...)("no authuser specified, "))" is const, but the
referenced type of the target of this assignment is
not. (notconstqual)
						error_msg = _("no authuser specified, ");
------------------------------------------------^
cc: Warning: check_smtp.c, line 359: In this statement,
the referenced type of the pointer value "((const char
...)("no authpass specified, "))" is const, but the
referenced type of the target of this assignment is
not. (notconstqual)
						error_msg = _("no authpass specified, ");
------------------------------------------------^
cc: Warning: check_smtp.c, line 369: In this statement,
the referenced type of the pointer value "((const char
...)("recv() failed after AUTH LOGIN, 
"))" is const, but the referenced type of the target of
this assignment is not. (notconstqual)
						error_msg = _("recv() failed after AUTH LOGIN, \n");
------------------------------------------------^
cc: Warning: check_smtp.c, line 379: In this statement,
the referenced type of the pointer value "((const char
...)("invalid response received after AUTH LOGIN, "))"
is const, but the referenced type of the target of this
assignment is not. (notconstqual)
						error_msg = _("invalid response received after
AUTH LOGIN, ");
------------------------------------------------^
cc: Warning: check_smtp.c, line 392: In this statement,
the referenced type of the pointer value "((const char
...)("recv() failed after sending authuser, "))" is
const, but the referenced type of the target of this
assignment is not. (notconstqual)
						error_msg = _("recv() failed after sending
authuser, ");
------------------------------------------------^
cc: Warning: check_smtp.c, line 401: In this statement,
the referenced type of the pointer value "((const char
...)("invalid response received after authuser, "))" is
const, but the referenced type of the target of this
assignment is not. (notconstqual)
						error_msg = _("invalid response received after
authuser, ");
------------------------------------------------^
cc: Warning: check_smtp.c, line 413: In this statement,
the referenced type of the pointer value "((const char
...)("recv() failed after sending authpass, "))" is
const, but the referenced type of the target of this
assignment is not. (notconstqual)
						error_msg = _("recv() failed after sending
authpass, ");
------------------------------------------------^
cc: Warning: check_smtp.c, line 422: In this statement,
the referenced type of the pointer value "((const char
...)("invalid response received after authpass, "))" is
const, but the referenced type of the target of this
assignment is not. (notconstqual)
						error_msg = _("invalid response received after
authpass, ");
------------------------------------------------^
cc: Warning: check_smtp.c, line 429: In this statement,
the referenced type of the pointer value "((const char
...)("only authtype LOGIN is supported, "))" is const,
but the referenced type of the target of this
assignment is not. (notconstqual)
				error_msg = _("only authtype LOGIN is supported, ");
--------------------------------^
/bin/ksh ../libtool --tag=CC --mode=link cc  -g   -L.
-o check_smtp  check_smtp.o sslutils.o netutils.o
utils.o ../lib/libnagiosplug.a ../lib/libcoreutils.a 
-lresolv  -lssl -lcrypto 
cc -g -o check_smtp check_smtp.o sslutils.o netutils.o
utils.o 
-L/usr/users/iriartec/src/nagios-plugins-HEAD-200607312352/plugins
../lib/libnagiosplug.a ../lib/libcoreutils.a -lresolv
-lssl -lcrypto
source='check_ssh.c' object='check_ssh.o' libtool=no 
DEPDIR=.deps depmode=tru64 /bin/ksh ../depcomp  cc
-DLOCALEDIR=\"/usr/local/nagios/share/locale\"
-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl  
-I/usr/include     -g -c check_ssh.c
/bin/ksh ../libtool --tag=CC --mode=link cc  -g   -L.
-o check_ssh  check_ssh.o netutils.o utils.o
../lib/libnagiosplug.a ../lib/libcoreutils.a  -lresolv
-lssl -lcrypto 
cc -g -o check_ssh check_ssh.o netutils.o utils.o 
-L/usr/users/iriartec/src/nagios-plugins-HEAD-200607312352/plugins
../lib/libnagiosplug.a ../lib/libcoreutils.a -lresolv
-lssl -lcrypto
source='check_tcp.c' object='check_tcp.o' libtool=no 
DEPDIR=.deps depmode=tru64 /bin/ksh ../depcomp  cc
-DLOCALEDIR=\"/usr/local/nagios/share/locale\"
-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl  
-I/usr/include     -g -c check_tcp.c
cc: Warning: check_tcp.c, line 498: In this statement,
"np_escaped_string(...)" of type "int", is being
converted to "pointer to char". (cvtdiftypes)
				server_send = np_escaped_string(optarg);
--------------------------------^
cc: Warning: check_tcp.c, line 518: In this statement,
"np_escaped_string(...)" of type "int", is being
converted to "pointer to char". (cvtdiftypes)
				server_quit = np_escaped_string(optarg);
--------------------------------^
/bin/ksh ../libtool --tag=CC --mode=link cc  -g   -L.
-o check_tcp  check_tcp.o sslutils.o netutils.o utils.o
../lib/libnagiosplug.a ../lib/libcoreutils.a  -lresolv
-lssl -lcrypto 
cc -g -o check_tcp check_tcp.o sslutils.o netutils.o
utils.o 
-L/usr/users/iriartec/src/nagios-plugins-HEAD-200607312352/plugins
../lib/libnagiosplug.a ../lib/libcoreutils.a -lresolv
-lssl -lcrypto 


source='check_procs.c' object='check_procs.o'
libtool=no  DEPDIR=.deps depmode=tru64 /bin/ksh
../depcomp  cc
-DLOCALEDIR=\"/usr/local/nagios/share/locale\"
-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl  
-I/usr/include     -g -c check_procs.c
cc: Warning: check_procs.c, line 192: In this
statement, "base_name(...)" of type "int", is being
converted to "pointer to char". (cvtdiftypes)
			procprog = base_name(procprog);
------------------------^
/bin/ksh ../libtool --tag=CC --mode=link cc  -g   -L.
-o check_procs  check_procs.o utils.o
../lib/libnagiosplug.a ../lib/libcoreutils.a popen.o
-lssl -lcrypto 
cc -g -o check_procs check_procs.o utils.o popen.o 
-L/usr/users/iriartec/src/nagios-plugins-HEAD-200607312352/plugins
../lib/libnagiosplug.a ../lib/libcoreutils.a -lssl
-lcrypto 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1532272&group_id=29880




More information about the Devel mailing list