CVS update: samba/source

Luke Kenneth Casson Leighton lkcl at switchboard.net
Thu May 7 04:17:52 EST 1998


these are the warnings i get [files with no warnings removed], with a
makefile of: 


#LDAP_FLAGS = -DUSE_LDAP
#LDAP_LIBDIR = /usr/local/lib
#LDAP_LIBS = -L$(LDAP_LIBDIR) -lldap -llber

FLAGSM = -DSYSLOG -Wall -Wshadow -Wpointer-arith -Wcast-qual \
         -DLINUX \
         -DNETGROUP \
         -DSYNCDNS \
         -DAUTOMOUNT  \
         -DDEBUG_PASSWORD 

AWK = gawk
include Makefile
FLAGS1= -g -g


regent# make >& f &

Using CFLAGS = -g -g -I. -DSMBLOGFILE="/usr/local/samba/var/log.smb" -DNMBLOGFILE="/usr/local/samba/var/log.nmb" -DCONFIGFILE="/usr/local/samba/lib/smb.conf" -DLMHOSTSFILE="/usr/local/samba/lib/lmhosts" -DWEB_ROOT=""  -DSWATDIR="/usr/local/samba/swat" -DS
BINDIR="/usr/local/samba/bin" -DLOCKDIR="/usr/local/samba/var/locks" -DSMBRUN="/usr/local/samba/bin/smbrun" -DCODEPAGEDIR="/usr/local/samba/lib/codepages" -DWORKGROUP="WORKGROUP" -DGUEST_ACCOUNT="nobody" -DDRIVERFILE="/usr/local/samba/lib/printers.def" -D
SYSLOG -Wall -Wshadow -Wpointer-arith -Wcast-qual -DLINUX -DNETGROUP -DSYNCDNS -DAUTOMOUNT -DDEBUG_PASSWORD         -DSMB_PASSWD="/usr/local/samba/bin/smbpasswd" -DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd"  
Using LIBS =        

Compiling username.c
username.c: In function `user_in_list':
username.c:230: warning: implicit declaration of function `yp_get_default_domain'
username.c:242: warning: implicit declaration of function `innetgr'

Compiling password.c
password.c: In function `validate_group':
password.c:1356: warning: implicit declaration of function `setnetgrent'
password.c:1357: warning: implicit declaration of function `getnetgrent'
password.c:1361: warning: implicit declaration of function `endnetgrent'
password.c: In function `check_user_equiv':
password.c:1632: warning: implicit declaration of function `innetgr'

Compiling access.c
access.c: In function `string_match':
access.c:211: warning: implicit declaration of function `yp_get_default_domain'
access.c:222: warning: implicit declaration of function `innetgr'

Compiling clitar.c
clitar.c:152: warning: declaration of `dir_stack' shadows global declaration
clitar.c: In function `push_dir':
clitar.c:153: warning: declaration of `dir_stack' shadows global declaration
clitar.c: At top level:
clitar.c:162: warning: declaration of `dir_stack' shadows global declaration
clitar.c: In function `pop_dir':
clitar.c:163: warning: declaration of `dir_stack' shadows global declaration
clitar.c: At top level:
clitar.c:178: warning: declaration of `dir_stack' shadows global declaration
clitar.c: In function `top_dir_name':
clitar.c:179: warning: declaration of `dir_stack' shadows global declaration
clitar.c: In function `sub_dir':
clitar.c:188: warning: control reaches end of non-void function
clitar.c: At top level:
clitar.c:1485: warning: declaration of `tarbuf' shadows global declaration
clitar.c: In function `next_block':
clitar.c:1486: warning: declaration of `tarbuf' shadows global declaration
clitar.c:1491: warning: statement with no effect
clitar.c:1508: warning: control reaches end of non-void function
clitar.c: In function `skip_file':
clitar.c:1513: warning: control reaches end of non-void function
clitar.c: In function `get_file':
clitar.c:1519: warning: control reaches end of non-void function
clitar.c: In function `get_dir':
clitar.c:1524: warning: control reaches end of non-void function
clitar.c: In function `get_longfilename':
clitar.c:1529: warning: control reaches end of non-void function
clitar.c: In function `do_tarput':
clitar.c:1679: warning: declaration of `bufferp' shadows global declaration
clitar.c: At top level:
clitar.c:153: warning: `push_dir' defined but not used
clitar.c:163: warning: `pop_dir' defined but not used
clitar.c:179: warning: `top_dir_name' defined but not used
clitar.c:186: warning: `sub_dir' defined but not used
clitar.c:1534: warning: `do_tarput2' defined but not used

On Thu, 7 May 1998, Jeremy Allison wrote:

> 
> Date:	Thursday May 7, 1998 @ 3:54
> Author:	jra
> 
> Update of /data/cvs/samba/source
> In directory samba:/tmp/cvs-serv22210
> 
> Modified Files:
> 	clitar.c 
> Log Message:
> Rolling back again to the equivalent of revision 1.22, as the current
> CVS head branch will not compile.
> Jeremy.
> 
> 



More information about the samba-cvs mailing list