From owner-freebsd-current Wed Dec 17 11:28:39 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA05012 for current-outgoing; Wed, 17 Dec 1997 11:28:39 -0800 (PST) (envelope-from owner-freebsd-current) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA04991 for ; Wed, 17 Dec 1997 11:28:29 -0800 (PST) (envelope-from bde@zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.6.9) id GAA13445; Thu, 18 Dec 1997 06:24:27 +1100 Date: Thu, 18 Dec 1997 06:24:27 +1100 From: Bruce Evans Message-Id: <199712171924.GAA13445@godzilla.zeta.org.au> To: freebsd-current@FreeBSD.ORG, skynyrd@opus.cts.cwu.edu Subject: Re: ctype.h versus -Werror under usr.sbin/lpr Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >I'm not sure what the best thing to do about this would be aside from >addressing the root cause. > >"temporarily" not use -Werror (or perphaps -Wredundant-decls if that is >where the warning is coming from?) > >===> usr.sbin/lpr >===> usr.sbin/lpr/common_source >cc -nostdinc -g -pipe -Werror -Wall -Wnested-externs -Wmissing-prototypes >-Wstrict-prototypes -Wredundant-decls -I/usr/obj/usr/src/tmp/usr/include >-c /usr/src/usr.sbin/lpr/common_source/common.c -o common.o >... >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