Bugzilla – Attachment 293 Details for
Bug 565
gcc 3.2.3 compiler warnings for openssh-3.6.1p2 on Solaris 7
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
gcc warnings messages issued while making openssh-3.6.1p2
openssh-make.log (text/plain), 14.46 KB, created by
Mark D Baushke
on 2003-05-14 16:22:30 AEST
(
hide
)
Description:
gcc warnings messages issued while making openssh-3.6.1p2
Filename:
MIME Type:
Creator:
Mark D Baushke
Created:
2003-05-14 16:22:30 AEST
Size:
14.46 KB
patch
obsolete
>gcc: 3.2.3 >OS: Solaris 7 >hardware: sun4u >OpenSSH: 3.6.1p2 > >comparison of distinct pointer types lacks a cast > > cipher_get_keycontext() openssh-3.6.1p2/cipher.c > line 721 > > cipher_set_keycontext() openssh-3.6.1p2/cipher.c > line 736 > > >initialization from incompatible pointer type > > ciphers[] openssh-3.6.1p2/cipher.c > lines 65, 66, 70, 71, 72, 73 > > macs[] openssh-3.6.1p2/mac.c > lines 42, 43, 44, 45, 46, 47 > > >int format, nlink_t arg (arg 5) > > ls_file() openssh-3.6.1p2/sftp-common.c > line 211 > > >int format, pid_t arg (arg 4) > > mm_session_close() openssh-3.6.1p2/monitor.c line 1038 > > >int format, uid_t arg (arg 2) > > prng_write_seedfile() openssh-3.6.1p2/ssh-rand-helper.c > line 553 > > prng_read_seedfile() openssh-3.6.1p2/ssh-rand-helper.c > lines 592 > > >int format, uid_t arg (arg 3) > > seed_rng() openssh-3.6.1p2/entropy.c line 93 > > prng_check_seedfile() openssh-3.6.1p2/ssh-rand-helper.c > line 535 > > >subscript has type char > > inet_aton() openssh-3.6.1p2/openbsd-compat/inet_aton.c > lines 117, 128, 131, 133, 155 > > _gettemp() openssh-3.6.1p2/openbsd-compat/mktemp.c > line 168 > > readpassphrase() openssh-3.6.1p2/openbsd-compat/readpassphrase.c > line 130 > > get_remote_hostname() openssh-3.6.1p2/canohost.c > line 96 > > match_pattern_list() openssh-3.6.1p2/match.c > line 138 > > process_cmdline() openssh-3.6.1p2/clientloop.c > lines 488, 503 > > ssh_login() openssh-3.6.1p2/sshconnect.c > line 834 > > sink() openssh-3.6.1p2/scp.c > line 830 > >unsigned int format, gid_t arg (arg 2) > > privsep_preauth_child() openssh-3.6.1p2/sshd.c > line 572 > > >unsigned int format, long unsigned int arg (arg 2) > > key_perm_ok() openssh-3.6.1p2/authfile.c > line 517 > > >unsigned int format, mode_t arg (arg 3) > > pty_setowner() openssh-3.6.1p2/sshpty.c > lines 412, 415 > > --------------- compiler log --------------- > >gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I../../openssh-3.6.1p2/openbsd-compat -I../../openssh-3.6.1p2/openbsd-compat/.. -I/usr/local/ssl/include -I/usr/local/include -DHAVE_CONFIG_H -c ../../openssh-3.6.1p2/openbsd-compat/inet_aton.c >../../openssh-3.6.1p2/openbsd-compat/inet_aton.c: In function `inet_aton': >../../openssh-3.6.1p2/openbsd-compat/inet_aton.c:117: warning: subscript has type `char' >../../openssh-3.6.1p2/openbsd-compat/inet_aton.c:128: warning: subscript has type `char' >../../openssh-3.6.1p2/openbsd-compat/inet_aton.c:131: warning: subscript has type `char' >../../openssh-3.6.1p2/openbsd-compat/inet_aton.c:133: warning: subscript has type `char' >../../openssh-3.6.1p2/openbsd-compat/inet_aton.c:155: warning: subscript has type `char' > >gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I../../openssh-3.6.1p2/openbsd-compat -I../../openssh-3.6.1p2/openbsd-compat/.. -I/usr/local/ssl/include -I/usr/local/include -DHAVE_CONFIG_H -c ../../openssh-3.6.1p2/openbsd-compat/mktemp.c >../../openssh-3.6.1p2/openbsd-compat/mktemp.c: In function `_gettemp': >../../openssh-3.6.1p2/openbsd-compat/mktemp.c:168: warning: subscript has type `char' > >gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I../../openssh-3.6.1p2/openbsd-compat -I../../openssh-3.6.1p2/openbsd-compat/.. -I/usr/local/ssl/include -I/usr/local/include -DHAVE_CONFIG_H -c ../../openssh-3.6.1p2/openbsd-compat/readpassphrase.c >../../openssh-3.6.1p2/openbsd-compat/readpassphrase.c: In function `readpassphrase': >../../openssh-3.6.1p2/openbsd-compat/readpassphrase.c:130: warning: subscript has type `char' > >gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I../openssh-3.6.1p2 -I/usr/local/ssl/include -I/usr/local/include -DSSHDIR=\"/usr/local/etc\" -D_PATH_SSH_PROGRAM=\"/usr/local/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/local/libexec/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/local/libexec/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/usr/local/etc\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/local/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c ../openssh-3.6.1p2/authfile.c >../openssh-3.6.1p2/authfile.c: In function `key_perm_ok': >../openssh-3.6.1p2/authfile.c:517: warning: unsigned int format, long unsigned int arg (arg 2) > >gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I../openssh-3.6.1p2 -I/usr/local/ssl/include -I/usr/local/include -DSSHDIR=\"/usr/local/etc\" -D_PATH_SSH_PROGRAM=\"/usr/local/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/local/libexec/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/local/libexec/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/usr/local/etc\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/local/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c ../openssh-3.6.1p2/canohost.c >../openssh-3.6.1p2/canohost.c: In function `get_remote_hostname': >../openssh-3.6.1p2/canohost.c:96: warning: subscript has type `char' > >gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I../openssh-3.6.1p2 -I/usr/local/ssl/include -I/usr/local/include -DSSHDIR=\"/usr/local/etc\" -D_PATH_SSH_PROGRAM=\"/usr/local/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/local/libexec/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/local/libexec/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/usr/local/etc\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/local/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c ../openssh-3.6.1p2/cipher.c >../openssh-3.6.1p2/cipher.c:65: warning: initialization from incompatible pointer type >../openssh-3.6.1p2/cipher.c:66: warning: initialization from incompatible pointer type >../openssh-3.6.1p2/cipher.c:70: warning: initialization from incompatible pointer type >../openssh-3.6.1p2/cipher.c:71: warning: initialization from incompatible pointer type >../openssh-3.6.1p2/cipher.c:72: warning: initialization from incompatible pointer type >../openssh-3.6.1p2/cipher.c:73: warning: initialization from incompatible pointer type >../openssh-3.6.1p2/cipher.c: In function `cipher_get_keycontext': >../openssh-3.6.1p2/cipher.c:721: warning: comparison of distinct pointer types lacks a cast >../openssh-3.6.1p2/cipher.c: In function `cipher_set_keycontext': >../openssh-3.6.1p2/cipher.c:736: warning: comparison of distinct pointer types lacks a cast > >gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I../openssh-3.6.1p2 -I/usr/local/ssl/include -I/usr/local/include -DSSHDIR=\"/usr/local/etc\" -D_PATH_SSH_PROGRAM=\"/usr/local/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/local/libexec/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/local/libexec/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/usr/local/etc\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/local/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c ../openssh-3.6.1p2/match.c >../openssh-3.6.1p2/match.c: In function `match_pattern_list': >../openssh-3.6.1p2/match.c:138: warning: subscript has type `char' > >gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I../openssh-3.6.1p2 -I/usr/local/ssl/include -I/usr/local/include -DSSHDIR=\"/usr/local/etc\" -D_PATH_SSH_PROGRAM=\"/usr/local/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/local/libexec/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/local/libexec/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/usr/local/etc\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/local/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c ../openssh-3.6.1p2/mac.c >../openssh-3.6.1p2/mac.c:42: warning: initialization from incompatible pointer type >../openssh-3.6.1p2/mac.c:43: warning: initialization from incompatible pointer type >../openssh-3.6.1p2/mac.c:44: warning: initialization from incompatible pointer type >../openssh-3.6.1p2/mac.c:45: warning: initialization from incompatible pointer type >../openssh-3.6.1p2/mac.c:46: warning: initialization from incompatible pointer type >../openssh-3.6.1p2/mac.c:47: warning: initialization from incompatible pointer type > >gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I../openssh-3.6.1p2 -I/usr/local/ssl/include -I/usr/local/include -DSSHDIR=\"/usr/local/etc\" -D_PATH_SSH_PROGRAM=\"/usr/local/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/local/libexec/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/local/libexec/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/usr/local/etc\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/local/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c ../openssh-3.6.1p2/entropy.c >../openssh-3.6.1p2/entropy.c: In function `seed_rng': >../openssh-3.6.1p2/entropy.c:93: warning: int format, uid_t arg (arg 3) > >gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I../openssh-3.6.1p2 -I/usr/local/ssl/include -I/usr/local/include -DSSHDIR=\"/usr/local/etc\" -D_PATH_SSH_PROGRAM=\"/usr/local/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/local/libexec/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/local/libexec/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/usr/local/etc\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/local/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c ../openssh-3.6.1p2/clientloop.c >../openssh-3.6.1p2/clientloop.c: In function `process_cmdline': >../openssh-3.6.1p2/clientloop.c:488: warning: subscript has type `char' >../openssh-3.6.1p2/clientloop.c:503: warning: subscript has type `char' > >gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I../openssh-3.6.1p2 -I/usr/local/ssl/include -I/usr/local/include -DSSHDIR=\"/usr/local/etc\" -D_PATH_SSH_PROGRAM=\"/usr/local/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/local/libexec/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/local/libexec/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/usr/local/etc\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/local/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c ../openssh-3.6.1p2/sshconnect.c >../openssh-3.6.1p2/sshconnect.c: In function `ssh_login': >../openssh-3.6.1p2/sshconnect.c:834: warning: subscript has type `char' > >gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I../openssh-3.6.1p2 -I/usr/local/ssl/include -I/usr/local/include -DSSHDIR=\"/usr/local/etc\" -D_PATH_SSH_PROGRAM=\"/usr/local/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/local/libexec/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/local/libexec/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/usr/local/etc\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/local/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c ../openssh-3.6.1p2/sshd.c >../openssh-3.6.1p2/sshd.c: In function `privsep_preauth_child': >../openssh-3.6.1p2/sshd.c:572: warning: unsigned int format, gid_t arg (arg 2) > >gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I../openssh-3.6.1p2 -I/usr/local/ssl/include -I/usr/local/include -DSSHDIR=\"/usr/local/etc\" -D_PATH_SSH_PROGRAM=\"/usr/local/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/local/libexec/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/local/libexec/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/usr/local/etc\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/local/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c ../openssh-3.6.1p2/sshpty.c >../openssh-3.6.1p2/sshpty.c: In function `pty_setowner': >../openssh-3.6.1p2/sshpty.c:412: warning: unsigned int format, mode_t arg (arg 3) >../openssh-3.6.1p2/sshpty.c:415: warning: unsigned int format, mode_t arg (arg 3) > >gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I../openssh-3.6.1p2 -I/usr/local/ssl/include -I/usr/local/include -DSSHDIR=\"/usr/local/etc\" -D_PATH_SSH_PROGRAM=\"/usr/local/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/local/libexec/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/local/libexec/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/usr/local/etc\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/local/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c ../openssh-3.6.1p2/monitor.c >../openssh-3.6.1p2/monitor.c: In function `mm_session_close': >../openssh-3.6.1p2/monitor.c:1038: warning: int format, pid_t arg (arg 4) > >gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I../openssh-3.6.1p2 -I/usr/local/ssl/include -I/usr/local/include -DSSHDIR=\"/usr/local/etc\" -D_PATH_SSH_PROGRAM=\"/usr/local/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/local/libexec/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/local/libexec/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/usr/local/etc\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/local/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c ../openssh-3.6.1p2/scp.c >../openssh-3.6.1p2/scp.c: In function `sink': >../openssh-3.6.1p2/scp.c:830: warning: subscript has type `char' > >gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I../openssh-3.6.1p2 -I/usr/local/ssl/include -I/usr/local/include -DSSHDIR=\"/usr/local/etc\" -D_PATH_SSH_PROGRAM=\"/usr/local/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/local/libexec/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/local/libexec/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/usr/local/etc\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/local/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c ../openssh-3.6.1p2/ssh-rand-helper.c >../openssh-3.6.1p2/ssh-rand-helper.c: In function `prng_check_seedfile': >../openssh-3.6.1p2/ssh-rand-helper.c:535: warning: int format, uid_t arg (arg 3) >../openssh-3.6.1p2/ssh-rand-helper.c: In function `prng_write_seedfile': >../openssh-3.6.1p2/ssh-rand-helper.c:553: warning: int format, uid_t arg (arg 2) >../openssh-3.6.1p2/ssh-rand-helper.c: In function `prng_read_seedfile': >../openssh-3.6.1p2/ssh-rand-helper.c:592: warning: int format, uid_t arg (arg 2) > >gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I../openssh-3.6.1p2 -I/usr/local/ssl/include -I/usr/local/include -DSSHDIR=\"/usr/local/etc\" -D_PATH_SSH_PROGRAM=\"/usr/local/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/local/libexec/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/local/libexec/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/usr/local/etc\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/local/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c ../openssh-3.6.1p2/sftp-common.c >../openssh-3.6.1p2/sftp-common.c: In function `ls_file': >../openssh-3.6.1p2/sftp-common.c:211: warning: int format, nlink_t arg (arg 5) > > --------------- end report ---------------
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 565
: 293 |
304
|
310
|
337