From owner-freebsd-current Tue Jun 2 09:31:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA25403 for freebsd-current-outgoing; Tue, 2 Jun 1998 09:31:10 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from Kitten.mcs.com (Kitten.mcs.com [192.160.127.90]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA25380 for ; Tue, 2 Jun 1998 09:31:02 -0700 (PDT) (envelope-from karl@Mars.mcs.net) Received: from Mars.mcs.net (karl@Mars.mcs.net [192.160.127.85]) by Kitten.mcs.com (8.8.7/8.8.2) with ESMTP id LAA07012 for ; Tue, 2 Jun 1998 11:31:02 -0500 (CDT) Received: (from karl@localhost) by Mars.mcs.net (8.8.7/8.8.2) id LAA21798; Tue, 2 Jun 1998 11:31:01 -0500 (CDT) Message-ID: <19980602113100.12385@mcs.net> Date: Tue, 2 Jun 1998 11:31:00 -0500 From: Karl Denninger To: current@FreeBSD.ORG Subject: Probelm with libskey and lpr continues Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The following problem has been in make world's now for months, and still continues. bash# cc -pipe -DPERMIT_CONSOLE -D_SKEY_INTERNAL -I/usr/src/lib/libskey -W -Wall -Werror -I/usr/obj/usr/src/tmp/usr/include -c /usr/src/lib/libskey/skeyaccess.c -o skeyaccess.o cc1: warnings being treated as errors /usr/obj/usr/src/tmp/usr/include/stdio.h:365: warning: `__sputc' defined but not used /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 The "problem" is not real, since these warnings are spurious (its caused by the definitions themselves; nobody ever references them in the file in question). The -Wall causes this. The lpr package suffers from the same problem. Removing the -Wall "cures" this. I understand this is a workaround, but this is preventing a "make world" on a clean disk structure from working. Will someone please commit either a real fix, or a removal of the -Wall in the Makefiles affected? - -- Karl Denninger (karl@MCS.Net)| MCSNet - Serving Chicagoland and Wisconsin http://www.mcs.net/ | T1's from $600 monthly / All Lines K56Flex/DOV | NEW! Corporate ISDN Prices dropped by up to 50%! Voice: [+1 312 803-MCS1 x219]| EXCLUSIVE NEW FEATURE ON ALL PERSONAL ACCOUNTS Fax: [+1 312 803-4929] | *SPAMBLOCK* Technology now included at no cost To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message