Hi guys,
Compiling HEAD on with Compaq C Compiler on my Alpha running RHL 7.0,
I get the following warnings that are not detected from gcc (this is not
the first time ....) :
source='smblib-util.c' object='smblib-util.o' libtool=no \
depfile='.deps/smblib-util.Po' tmpdepfile='.deps/smblib-util.TPo' \
depmode=tru64 /bin/sh ../../../../../../cfgaux/depcomp \
ccc -DHAVE_CONFIG_H -I. -I. -I../../../../../../include -I.
-I../../../../../../include -I
../../../../../../include -I../../../../../../src/ -s -c `test -f
smblib-util.c || echo
'./'`smblib-util.c
cc: Warning: smblib-util.c, line 34: In this declaration, "SMB_Types" is
declared with bot
h internal and external linkage. The previous declaration is at line
number 518 in file s
mblib-priv.h. (mixlinkage)
static int SMB_Types[] =
-----------^
cc: Warning: smblib-util.c, line 49: In this declaration, "SMB_Prots" is
declared with bot
h internal and external linkage. The previous declaration is at line
number 501 in file s
mblib-priv.h. (mixlinkage)
static char *SMB_Prots[] =
------------^
source='libntlmssp.c' object='libntlmssp.o' libtool=no \
depfile='.deps/libntlmssp.Po' tmpdepfile='.deps/libntlmssp.TPo' \
depmode=tru64 /bin/sh ../../../../../cfgaux/depcomp \
ccc -DHAVE_CONFIG_H -I. -I. -I../../../../../include -I.
-I../../../../../include -I../../
../../../include -I../../../../../src/ -I./smbval -s -c `test -f
libntlmssp.c || echo '
./'`libntlmssp.c
cc: Warning: libntlmssp.c, line 45: In this declaration, "SMB_Prots" is
declared with both
internal and external linkage. The previous declaration is at line
number 501 in file ./
smbval/smblib-priv.h. (mixlinkage)
static char *SMB_Prots[] =
------------^
cc: Warning: libntlmssp.c, line 142: In this statement, the referenced type
of the pointer
value """" is "char", which is not compatible with "unsigned char"
because they differ by
signed/unsigned attribute. (ptrmismatch1)
SMBencrypt("",challenge,lmencoded_empty_pass);
---------------------------^
cc: Warning: libntlmssp.c, line 142: In this statement, the referenced type
of the pointer
value "challenge" is "char", which is not compatible with "unsigned char"
because they di
ffer by signed/unsigned attribute. (ptrmismatch1)
SMBencrypt("",challenge,lmencoded_empty_pass);
------------------------------^
cc: Warning: libntlmssp.c, line 142: In this statement, the referenced type
of the pointer
value "lmencoded_empty_pass" is "char", which is not compatible with
"unsigned char" beca
use they differ by signed/unsigned attribute. (ptrmismatch1)
SMBencrypt("",challenge,lmencoded_empty_pass);
----------------------------------------^
cc: Warning: libntlmssp.c, line 143: In this statement, the referenced type
of the pointer
value """" is "char", which is not compatible with "unsigned char"
because they differ by
signed/unsigned attribute. (ptrmismatch1)
SMBNTencrypt("",challenge,ntencoded_empty_pass);
-----------------------------^
cc: Warning: libntlmssp.c, line 143: In this statement, the referenced type
of the pointer
value "challenge" is "char", which is not compatible with "unsigned char"
because they di
ffer by signed/unsigned attribute. (ptrmismatch1)
SMBNTencrypt("",challenge,ntencoded_empty_pass);
--------------------------------^
cc: Warning: libntlmssp.c, line 143: In this statement, the referenced type
of the pointer
value "ntencoded_empty_pass" is "char", which is not compatible with
"unsigned char" beca
use they differ by signed/unsigned attribute. (ptrmismatch1)
SMBNTencrypt("",challenge,ntencoded_empty_pass);
------------------------------------------^
cc: Info: libntlmssp.c, line 242: In this statement, an array is being
accessed outside th
e bounds specified for the array type. (subscrbounds)
pass[25] = '\0';
---------^
Regards
Guido
-
=======================================================
Serassio Guido
Via Albenga, 11/4 10134 - Torino - ITALY
E-mail: serassio@interfree.it
serassio@libero.it
WWW: http://www.serassio.it
Received on Sat Jan 12 2002 - 14:46:43 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:45 MST