From owner-freebsd-current Wed Dec 17 10:43:22 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA01080 for current-outgoing; Wed, 17 Dec 1997 10:43:22 -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 KAA00998 for ; Wed, 17 Dec 1997 10:41:13 -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 KAA11673 for ; Wed, 17 Dec 1997 10:41:12 -0800 (PST) (envelope-from skynyrd@opus.cts.cwu.edu) Date: Wed, 17 Dec 1997 10:41:12 -0800 (PST) From: Chris Timmons To: freebsd-current@freebsd.org Subject: ctype.h versus -Werror under usr.sbin/lpr 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 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 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/displayq.c -o displayq.o cc1: warnings being treated as errors /usr/obj/usr/src/tmp/usr/include/ctype.h:146: warning: `__maskrune' defined but not used /usr/obj/usr/src/tmp/usr/include/ctype.h:160: warning: `__toupper' defined but not used /usr/obj/usr/src/tmp/usr/include/ctype.h:167: warning: `__tolower' defined but not used *** Error code 1 Stop.