Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jun 1998 11:31:00 -0500
From:      Karl Denninger  <karl@mcs.net>
To:        current@FreeBSD.ORG
Subject:   Probelm with libskey and lpr continues
Message-ID:  <19980602113100.12385@mcs.net>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980602113100.12385>