From owner-freebsd-hackers Mon Oct 7 17:16:50 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA11968 for hackers-outgoing; Mon, 7 Oct 1996 17:16:50 -0700 (PDT) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id RAA11890 for ; Mon, 7 Oct 1996 17:15:38 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id BAA13501; Tue, 8 Oct 1996 01:21:10 +0200 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id BAA19317; Tue, 8 Oct 1996 01:21:10 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.7.5/8.6.9) id AAA17051; Tue, 8 Oct 1996 00:56:56 +0200 (MET DST) From: J Wunsch Message-Id: <199610072256.AAA17051@uriah.heep.sax.de> Subject: Re: Oh oh To: freebsd-hackers@freebsd.org (FreeBSD hackers) Date: Tue, 8 Oct 1996 00:56:56 +0200 (MET DST) Cc: karl@Mcs.Net (Karl Denninger) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199610072228.RAA28945@Jupiter.Mcs.Net> from Karl Denninger at "Oct 7, 96 05:28:26 pm" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As Karl Denninger wrote: > Uh, folks, did something serious break in the -current release? Yes, the compiler. ;-) > > Check out all these warnings! > > FAILSAFE -DCOMPAT_43 -DCD9660 -DNFS -DFFS -DINET -DI586_FAST_BCOPY > -DIPFORWARDSR > CRT=0 -DIPFORWARDING=0 -DKKEEPALIVE -DMAXSYSGID=200 -DMAXSYSUID=200 > -DGR_INET=60 > 0 -DMCSNET -DKERNEL ../../isofs/cd9660/cd9660_rrip.c > ../../isofs/cd9660/cd9660_rrip.c: In function `cd9660_rrip_reldir': > ../../isofs/cd9660/cd9660_rrip.c:341: warning: unused parameter `p' > ../../isofs/cd9660/cd9660_rrip.c: In function `cd9660_rrip_stop': > ../../isofs/cd9660/cd9660_rrip.c:475: warning: unused parameter `p' If you look into the code, these parameters have never been used before. So i figure it's the first time you're compiling your kernel with gcc 2.7 now. ;-) Well, if the warnings scare you, simply remove the -W stuff from the Makefile... You are, of course, also welcome to fix warnings. However, as for unused parameters in `generic' function interfaces, this might become a problem. It has already been discussed on the mailing lists, something like ``__unused'' might be of some help. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)