Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Dec 1997 06:24:27 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        freebsd-current@FreeBSD.ORG, skynyrd@opus.cts.cwu.edu
Subject:   Re: ctype.h versus -Werror under usr.sbin/lpr
Message-ID:  <199712171924.GAA13445@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>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



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