Henrik Lassen
2000-Oct-17 12:21 UTC
Make output OSF1 4.0F (AlphaServer DS20E) - Only warnings
Using FLAGS = -O -Iinclude -I./include -I./ubiqx -I./smbwrapper -DLOGFILEBASE="/usr/local/samba/var" -DCONFIGFILE="/usr/local/samba/lib/smb.conf" -DLMHOSTSFILE="/usr/local/samba/lib/lmhosts" -DSWATDIR="/usr/local/samba/swat" -DSBINDIR="/usr/local/samba/bin" -DLOCKDIR="/usr/local/samba/var/locks" -DSMBRUN="/usr/local/samba/bin/smbrun" -DCODEPAGEDIR="/usr/local/samba/lib/codepages" -DDRIVERFILE="/usr/local/samba/lib/printers.def" -DBINDIR="/usr/local/samba/bin" -DFORMSFILE="" -DNTDRIVERSDIR="" -DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/bin/passwd" -DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd" Using FLAGS32 = -O -Iinclude -I./include -I./ubiqx -I./smbwrapper -DLOGFILEBASE="/usr/local/samba/var" -DCONFIGFILE="/usr/local/samba/lib/smb.conf" -DLMHOSTSFILE="/usr/local/samba/lib/lmhosts" -DSWATDIR="/usr/local/samba/swat" -DSBINDIR="/usr/local/samba/bin" -DLOCKDIR="/usr/local/samba/var/locks" -DSMBRUN="/usr/local/samba/bin/smbrun" -DCODEPAGEDIR="/usr/local/samba/lib/codepages" -DDRIVERFILE="/usr/local/samba/lib/printers.def" -DBINDIR="/usr/local/samba/bin" -DFORMSFILE="" -DNTDRIVERSDIR="" -DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/bin/passwd" -DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd" Using LIBS = -lsecurity Compiling smbd/server.c Compiling smbd/files.c Compiling smbd/chgpasswd.c Compiling smbd/connection.c Compiling smbd/dfree.c Compiling smbd/dir.c Compiling smbd/password.c Compiling smbd/conn.c Compiling smbd/fileio.c Compiling smbd/ipc.c Compiling smbd/lanman.c Compiling smbd/mangle.c Compiling smbd/negprot.c Compiling smbd/message.c Compiling smbd/nttrans.c Compiling smbd/pipes.c Compiling smbd/reply.c Compiling smbd/trans2.c Compiling smbd/uid.c Compiling smbd/dosmode.c Compiling smbd/filename.c Compiling smbd/open.c Compiling smbd/close.c Compiling smbd/blocking.c Compiling smbd/sec_ctx.c Compiling smbd/vfs.c Compiling smbd/vfs-wrap.c Compiling smbd/statcache.c Compiling smbd/unix_acls.c Compiling lib/msrpc-client.c Compiling lib/msrpc_use.c Compiling smbd/process.c Compiling smbd/service.c Compiling smbd/error.c Compiling printing/printfsp.c Compiling nsswitch/wb_common.c Compiling lib/util_seaccess.c Compiling nsswitch/wb_client.c Compiling msdfs/msdfs.c Compiling param/loadparm.c Compiling param/params.c Compiling libsmb/clientgen.c Compiling libsmb/cliconnect.c Compiling libsmb/clifile.c Compiling libsmb/clirap.c Compiling libsmb/clierror.c Compiling libsmb/climessage.c Compiling libsmb/clireadwrite.c Compiling libsmb/clilist.c Compiling libsmb/cliprint.c Compiling libsmb/clitrans.c Compiling libsmb/namequery.c Compiling libsmb/nmblib.c Compiling libsmb/nterr.c Compiling libsmb/smbdes.c Compiling libsmb/smbencrypt.c Compiling libsmb/smberr.c Compiling libsmb/credentials.c Compiling libsmb/pwd_cache.c Compiling libsmb/passchange.c Compiling libsmb/unexpected.c Compiling ubiqx/ubi_BinTree.c Compiling ubiqx/ubi_Cache.c Compiling ubiqx/ubi_SplayTree.c Compiling ubiqx/ubi_dLinkList.c Compiling ubiqx/ubi_sLinkList.c Compiling ubiqx/debugparse.c Compiling rpc_server/srv_lsa.c Compiling rpc_server/srv_lsa_hnd.c Compiling rpc_server/srv_netlog.c Compiling rpc_server/srv_pipe_hnd.c Compiling rpc_server/srv_reg.c Compiling rpc_server/srv_samr.c Compiling rpc_server/srv_srvsvc.c Compiling rpc_server/srv_util.c Compiling rpc_server/srv_wkssvc.c Compiling rpc_server/srv_pipe.c Compiling rpc_server/srv_dfs.c Compiling rpc_server/srv_spoolss.c Compiling rpc_server/srv_spoolss_nt.c cc: Warning: rpc_server/srv_spoolss_nt.c, line 386: In this statement, & before array "(Printer->dev.printerservername)" is ignored. (addrarray) ZERO_STRUCT(Printer->dev.printerservername); ----------------^ cc: Warning: rpc_server/srv_spoolss_nt.c, line 386: In this statement, & before array "(Printer->dev.printerservername)" is ignored. (addrarray) ZERO_STRUCT(Printer->dev.printerservername); ----------------^ cc: Warning: rpc_server/srv_spoolss_nt.c, line 483: In this statement, & before array "(Printer->dev.handlename)" is ignored. (addrarray) ZERO_STRUCT(Printer->dev.handlename); --------^ cc: Warning: rpc_server/srv_spoolss_nt.c, line 483: In this statement, & before array "(Printer->dev.handlename)" is ignored. (addrarray) ZERO_STRUCT(Printer->dev.handlename); --------^ cc: Warning: rpc_server/srv_spoolss_nt.c, line 2882: In this statement, & before array "nullstr" is ignored. (addrarray) memset(&nullstr, '\0', sizeof(fstring)); ---------------^ cc: Warning: rpc_server/srv_spoolss_nt.c, line 2882: In this statement, & before array "nullstr" is ignored. (addrarray) memset(&nullstr, '\0', sizeof(fstring)); ---------------^ cc: Warning: rpc_server/srv_spoolss_nt.c, line 2908: In this statement, & before array "nullstr" is ignored. (addrarray) init_unistr_array(&info->previousdrivernames, &nullstr, servername); ------------------------------------------------------^ cc: Warning: rpc_server/srv_spoolss_nt.c, line 2908: In this statement, the referenced type of the pointer value "&nullstr" is "signed char", which is not compatible with "array [128] of signed char". (ptrmismatch) init_unistr_array(&info->previousdrivernames, &nullstr, servername); ------------------------------------------------------^ Compiling rpc_client/cli_login.c Compiling rpc_client/cli_netlogon.c Compiling rpc_client/cli_pipe.c Compiling rpc_client/cli_lsarpc.c Compiling rpc_client/cli_wkssvc.c Compiling rpc_client/cli_srvsvc.c Compiling rpc_client/cli_samr.c Compiling rpc_client/cli_reg.c Compiling rpc_client/cli_spoolss_notify.c Compiling rpc_parse/parse_lsa.c Compiling rpc_parse/parse_misc.c Compiling rpc_parse/parse_net.c Compiling rpc_parse/parse_prs.c Compiling rpc_parse/parse_reg.c Compiling rpc_parse/parse_rpc.c Compiling rpc_parse/parse_samr.c Compiling rpc_parse/parse_srv.c Compiling rpc_parse/parse_wks.c Compiling rpc_parse/parse_sec.c Compiling rpc_parse/parse_spoolss.c Compiling rpc_parse/parse_dfs.c Compiling rpc_parse/parse_creds.c cc: Warning: rpc_parse/parse_creds.c, line 258: In this statement, & before array "pwd->smb_lm_pwd" is ignored. (addrarray) prs_uint8s(False, "smb_lm_pwd", ps, depth, (unsigned char*)&pwd->smb_lm_pwd, sizeof(pwd->smb_lm_pwd)); -------------------------------------------------------------------^ cc: Warning: rpc_parse/parse_creds.c, line 260: In this statement, & before array "pwd->smb_nt_pwd" is ignored. (addrarray) prs_uint8s(False, "smb_nt_pwd", ps, depth, (unsigned char*)&pwd->smb_nt_pwd, sizeof(pwd->smb_nt_pwd)); -------------------------------------------------------------------^ cc: Warning: rpc_parse/parse_creds.c, line 263: In this statement, & before array "pwd->smb_lm_owf" is ignored. (addrarray) prs_uint8s(False, "smb_lm_owf", ps, depth, (unsigned char*)&pwd->smb_lm_owf, sizeof(pwd->smb_lm_owf)); -------------------------------------------------------------------^ cc: Warning: rpc_parse/parse_creds.c, line 265: In this statement, the referenced type of the pointer value "&(pwd->nt_owf_len)" is "unsigned long", which is not compatible with "unsigned int". (ptrmismatch) prs_uint32("nt_owf_len", ps, depth, &(pwd->nt_owf_len)); --------------------------------------------^ cc: Warning: rpc_parse/parse_creds.c, line 270: In this statement, & before array "pwd->smb_nt_owf" is ignored. (addrarray) prs_uint8s(False, "smb_nt_owf", ps, depth, (unsigned char*)&pwd->smb_nt_owf, pwd->nt_owf_len); -------------------------------------------------------------------^ cc: Warning: rpc_parse/parse_creds.c, line 273: In this statement, & before array "pwd->lm_cli_chal" is ignored. (addrarray) prs_uint8s(False, "lm_cli_chal", ps, depth, (unsigned char*)&pwd->lm_cli_chal, sizeof(pwd->lm_cli_chal)); --------------------------------------------------------------------^ cc: Warning: rpc_parse/parse_creds.c, line 275: In this statement, the referenced type of the pointer value "&(pwd->nt_cli_chal_len)" is "unsigned long", which is not compatible with "unsigned int". (ptrmismatch) prs_uint32("nt_cli_chal_len", ps, depth, &(pwd->nt_cli_chal_len)); -------------------------------------------------^ cc: Warning: rpc_parse/parse_creds.c, line 281: In this statement, & before array "pwd->nt_cli_chal" is ignored. (addrarray) prs_uint8s(False, "nt_cli_chal", ps, depth, (unsigned char*)&pwd->nt_cli_chal, pwd->nt_cli_chal_len); --------------------------------------------------------------------^ cc: Warning: rpc_parse/parse_creds.c, line 357: In this statement, & before array "r_u->usr_sess_key" is ignored. (addrarray) prs_uint8s(False, "usr_sess_key", ps, depth, (unsigned char*)&r_u->usr_sess_key, sizeof(r_u->usr_sess_key)); ---------------------------------------------------------------------------- -^ Compiling locking/locking.c Compiling locking/brlock.c Compiling locking/posix.c Compiling passdb/passdb.c Compiling passdb/smbpassfile.c Compiling passdb/smbpass.c Compiling passdb/secrets.c Compiling passdb/pass_check.c Compiling passdb/ldap.c Compiling passdb/nispass.c Compiling passdb/smbpasschange.c Compiling printing/pcap.c Compiling printing/print_svid.c Compiling printing/print_cups.c Compiling printing/load.c Compiling profile/profile.c Compiling lib/charcnv.c Compiling lib/charset.c Compiling lib/debug.c Compiling lib/fault.c Compiling lib/getsmbpass.c Compiling lib/interface.c Compiling lib/kanji.c Compiling lib/md4.c Compiling lib/interfaces.c Compiling lib/pidfile.c Compiling lib/replace.c Compiling lib/signal.c Compiling lib/slprintf.c Compiling lib/system.c Compiling lib/doscalls.c Compiling lib/time.c Compiling lib/ufc.c Compiling lib/genrand.c Compiling lib/username.c Compiling lib/access.c Compiling lib/smbrun.c Compiling lib/bitmap.c Compiling lib/crc32.c Compiling lib/snprintf.c Compiling lib/wins_srv.c Compiling lib/util_array.c Compiling lib/util_str.c Compiling lib/util_sid.c Compiling lib/util_unistr.c cc: Warning: lib/util_unistr.c, line 305: In this statement, the expression "ucs2_val=(((unsigned)(((unsigned char ...)(src++))[0]))|((unsigned)(((unsigned char ...)(src++))[(0)+1]))<<8)" modifies the variable "src" more than once without an intervening sequence point. This behavior is undefined. (undefvarmod) ucs2_val = SVAL(src++,0); ----------------^ Compiling lib/util_file.c Compiling lib/util.c Compiling lib/util_sock.c Compiling lib/util_sec.c Compiling smbd/ssl.c Compiling lib/talloc.c Compiling lib/hash.c Compiling lib/substitute.c Compiling lib/fsusage.c Compiling lib/ms_fnmatch.c Compiling lib/select.c Compiling lib/error.c Compiling lib/messages.c Compiling tdb/tdb.c Compiling tdb/tdbutil.c Compiling printing/printing.c Compiling printing/lpq_parse.c Compiling printing/nt_printing.c cc: Warning: printing/nt_printing.c, line 893: In this statement, & before array "driver.dependentfiles[i]" is ignored. (addrarray) &driver.dependentfiles[i]); ----------------------------------^ Compiling smbd/noquotas.c Compiling smbd/oplock.c Compiling smbd/oplock_irix.c Compiling smbd/oplock_linux.c Compiling smbd/notify.c Compiling smbd/notify_hash.c Compiling smbd/notify_kernel.c Linking bin/smbd Compiling nmbd/asyncdns.c Compiling nmbd/nmbd.c Compiling nmbd/nmbd_become_dmb.c Compiling nmbd/nmbd_become_lmb.c Compiling nmbd/nmbd_browserdb.c Compiling nmbd/nmbd_browsesync.c Compiling nmbd/nmbd_elections.c Compiling nmbd/nmbd_incomingdgrams.c Compiling nmbd/nmbd_incomingrequests.c Compiling nmbd/nmbd_lmhosts.c Compiling nmbd/nmbd_logonnames.c Compiling nmbd/nmbd_mynames.c Compiling nmbd/nmbd_namelistdb.c Compiling nmbd/nmbd_namequery.c Compiling nmbd/nmbd_nameregister.c Compiling nmbd/nmbd_namerelease.c Compiling nmbd/nmbd_nodestatus.c Compiling nmbd/nmbd_packets.c Compiling nmbd/nmbd_processlogon.c Compiling nmbd/nmbd_responserecordsdb.c Compiling nmbd/nmbd_sendannounce.c Compiling nmbd/nmbd_serverlistdb.c Compiling nmbd/nmbd_subnetdb.c Compiling nmbd/nmbd_winsproxy.c Compiling nmbd/nmbd_winsserver.c Compiling nmbd/nmbd_workgroupdb.c Compiling nmbd/nmbd_synclists.c Linking bin/nmbd Compiling web/cgi.c Compiling web/diagnose.c Compiling web/startstop.c Compiling web/statuspage.c Compiling web/swat.c Linking bin/swat Compiling client/client.c Compiling client/clitar.c Linking bin/smbclient Compiling client/smbspool.c Linking bin/smbspool Compiling utils/testparm.c Linking bin/testparm Compiling utils/testprns.c Linking bin/testprns Compiling utils/status.c Linking bin/smbstatus Compiling utils/smbcontrol.c Linking bin/smbcontrol Compiling utils/smbpasswd.c Linking bin/smbpasswd Compiling utils/make_smbcodepage.c Linking bin/make_smbcodepage Compiling utils/make_unicodemap.c Linking bin/make_unicodemap Compiling rpcclient/rpcclient.c Compiling lib/cmd_interp.c cc: Warning: lib/cmd_interp.c, line 831: In this statement, & before array "(password)" is ignored. (addrarray) ZERO_STRUCT(password); ----------------^ cc: Warning: lib/cmd_interp.c, line 831: In this statement, & before array "(password)" is ignored. (addrarray) ZERO_STRUCT(password); ----------------^ cc: Warning: lib/cmd_interp.c, line 874: In this statement, & before array "(password)" is ignored. (addrarray) ZERO_STRUCT(password); --------^ cc: Warning: lib/cmd_interp.c, line 874: In this statement, & before array "(password)" is ignored. (addrarray) ZERO_STRUCT(password); --------^ cc: Warning: lib/cmd_interp.c, line 1205: In this statement, & before array "(password)" is ignored. (addrarray) ZERO_STRUCT(password); --------^ cc: Warning: lib/cmd_interp.c, line 1205: In this statement, & before array "(password)" is ignored. (addrarray) ZERO_STRUCT(password); --------^ cc: Warning: lib/cmd_interp.c, line 1287: In this statement, & before array "(password)" is ignored. (addrarray) ZERO_STRUCT(password); --------^ cc: Warning: lib/cmd_interp.c, line 1287: In this statement, & before array "(password)" is ignored. (addrarray) ZERO_STRUCT(password); --------^ Compiling lib/util_list.c Compiling rpc_client/cli_connect.c Compiling rpc_client/cli_use.c Compiling rpc_client/ncacn_np_use.c Compiling rpcclient/spoolss_cmds.c Compiling rpcclient/cmd_spoolss.c Compiling rpcclient/display_spool.c Compiling rpcclient/display_sec.c Compiling rpc_client/msrpc_spoolss.c cc: Warning: rpc_client/msrpc_spoolss.c, line 511: The scalar variable "value" is fetched but not initialized. (uninit1) status = spoolss_enum_printerdata(&hnd, idx, &valuelen, value, ----------------------------------------------------------------^ cc: Warning: rpc_client/msrpc_spoolss.c, line 513: The scalar variable "data" is fetched but not initialized. (uninit1) data, &rdatalen); ------------------------------------------^ Compiling rpc_client/cli_spoolss.c Linking bin/rpcclient Compiling utils/nmblookup.c Linking bin/nmblookup Compiling utils/make_printerdef.c Linking bin/make_printerdef