Date: Fri, 26 Dec 1997 10:17:09 -0500 (EST) From: "John S. Dyson" <toor@dyson.iquest.net> To: andreas@klemm.gtn.com (Andreas Klemm) Cc: current@freebsd.org Subject: Re: LINT breakage (/ufs/ufs/ufs_readwrite.c:296: `OBJ_OPT' undeclared) Message-ID: <199712261517.KAA00718@dyson.iquest.net> In-Reply-To: <19971226150735.36920@klemm.gtn.com> from Andreas Klemm at "Dec 26, 97 03:07:35 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Andreas Klemm said: > only wanted to let you know. > > /usr/bin/cc -c -pipe -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wuninitialized -nostdinc -I- -I. -I../.. -I../../../include -DSPX_HACK -DSIMPLELOCK_DEBUG -DSI_DEBUG -DSCSI_2_DEF -DNPX_DEBUG -DLOCKF_DEBUG -DDEBUG -DCLUSTERDEBUG -DBOOTP_COMPAT -DBOOTP_NFSV3 -DBOOTP_NFSROOT -DBOOTP -DPOWERFAIL_NMI -DNATM -DLINT_PCCARD_HACK -DFDSEEKWAIT=16 -DNSWAPDEV=20 -DMFS_AUTOLOAD -DMFS_ROOT=10 -DDEVFS -DLFS -DNQNFS -DNFS -DFFS -DTCP_COMPAT_42 -DNETATALK -DINET -DDIAGNOSTIC -DMD5 -DFAILSAFE -DKERNEL -include opt_global.h ../../ufs/lfs/lfs_vnops.c > ../../ufs/ufs/ufs_readwrite.c: In function `lfs_write': > In file included from ../../ufs/lfs/lfs_vnops.c:110: > ../../ufs/ufs/ufs_readwrite.c:296: dereferencing pointer to incomplete type > ../../ufs/ufs/ufs_readwrite.c:296: `OBJ_OPT' undeclared (first use this function) > ../../ufs/ufs/ufs_readwrite.c:296: (Each undeclared identifier is reported only once > ../../ufs/ufs/ufs_readwrite.c:296: for each function it appears in.) > ../../ufs/ufs/ufs_readwrite.c:297: dereferencing pointer to incomplete type > ../../ufs/ufs/ufs_readwrite.c:298: warning: implicit declaration of function `vm_freeze_copyopts' > ../../ufs/ufs/ufs_readwrite.c:299: warning: implicit declaration of function `OFF_TO_IDX' > *** Error code 1 > > Thanks, BDE has been bugging me about it also :-). -- John | Never try to teach a pig to sing, dyson@freebsd.org | it just makes you look stupid, jdyson@nc.com | and it irritates the pig.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712261517.KAA00718>