Date: Fri, 20 Sep 1996 07:36:20 -0700 (PDT) From: Bruce Evans <bde> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/sys kernel.h Message-ID: <199609201436.HAA03299@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 96/09/20 07:36:18 Modified: sys/sys kernel.h Log: Fixed lots of warnings from gcc-2.7.x about "left-hand operand of comma expression has no effect" in the MAKE_SET() macro. This also fixes compiling with -O3 (which removes static functions unless there is a suitable reference to them). Declaring all the static symbols as __unused would also fix the warning, but would be bogus (they are used) and wouldn't fix -O3. However, the dummy pointers for the references waste about 1.5K text and 20K symbol space for GENERIC. This wastage hasn't changed - the dummy pointers are just nonzero now. Revision Changes Path 1.22 +2 -3 src/sys/sys/kernel.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609201436.HAA03299>
