Subject: botch on /usr/sbin/mount_smbfs
To: None <>
From: George Michaelson <>
List: current-users
Date: 08/12/2003 13:41:02
looks like two edits in the last 30 odd hours to src/dist/smbfs/lib/smb/mbuf.c
and nbns_rq.c have gone awry.

the CVS comment is "Remove unessecary intermediate void* casts."

but reports:

/usr/src/obj/tooldir.NetBSD-1.6W-i386/bin/i386--netbsdelf-gcc -O2  -Wall -Wstric
t-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-uniniti
alized -Wreturn-type -Wswitch -Wshadow  -Werror   -I/usr/src/sys -I/usr/src/dist
/smbfs/include -nostdinc -isystem
/usr/src/obj/destd/usr/src/sbin/mount_smbfsir.i386/usr/include  -c    /
usr/src/dist/smbfs/lib/smb/nbns_rq.c/usr/src/dist/smbfs/lib/smb/nbns_rq.c: In
function `nbns_rq_prepare':/usr/src/dist/smbfs/lib/smb/nbns_rq.c:244: warning:
dereferencing type-punned po inter will break strict-aliasing rules
*** Error code 1


during the make of /usr/src/sbin/mount_smbfs

I didn't send-pr this, I assume its a mis-interpretation of the gcc 3.3.1
changes for removing extra voids, except I think in *THIS* case they may not be

I got over it manually compiling without the -W options.


George Michaelson       |  APNIC
Email:    |  PO Box 2131 Milton QLD 4064
Phone: +61 7 3367 0490  |  Australia
  Fax: +61 7 3367 0482  |