From owner-freebsd-current Wed Dec 17 11:41:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA06335 for current-outgoing; Wed, 17 Dec 1997 11:41:58 -0800 (PST) (envelope-from owner-freebsd-current) Received: from opus.cts.cwu.edu (opus.cts.cwu.edu [198.104.92.71]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA06291 for ; Wed, 17 Dec 1997 11:41:40 -0800 (PST) (envelope-from skynyrd@opus.cts.cwu.edu) Received: from localhost (skynyrd@localhost) by opus.cts.cwu.edu (8.8.8/8.8.7) with SMTP id LAA12390; Wed, 17 Dec 1997 11:41:32 -0800 (PST) (envelope-from skynyrd@opus.cts.cwu.edu) Date: Wed, 17 Dec 1997 11:41:32 -0800 (PST) From: Chris Timmons To: Bruce Evans cc: freebsd-current@FreeBSD.ORG Subject: Re: ctype.h versus -Werror under usr.sbin/lpr In-Reply-To: <199712171924.GAA13445@godzilla.zeta.org.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Well wouldn't you know it. At some point I had tweaked /etc/make.conf for something I was working on and wound up leaving -O out of the default CFLAGS. I kept looking at my sources to see why I was having the problem on one machine and not another :) -Chris On Thu, 18 Dec 1997, Bruce Evans wrote: > >cc1: warnings being treated as errors > >/usr/obj/usr/src/tmp/usr/include/ctype.h:146: warning: `__maskrune' > >defined but not used > > It's a normal warning for compiling without -O. -O is the default, so > hardly anyone notices the problem. > > Bruce >