Subject: csh build error
To: current users <current-users@NetBSD.ORG>
From: Paul Goyette <paul@whooppee.com>
List: current-users
Date: 08/02/1997 06:27:15
>From sources supped just this morning (Sat, 2nd August), I get the
following error while making bin/csh:

cc -O -I/home/paul/src/bin/csh -I. -DBUILTIN -DFILEC -DNLS -DSHORT_STRINGS  
-Werror -Wall -Wstrict-prototypes -Wmissing-prototypes  -c 
/home/paul/src/bin/csh/../../usr.bin/printf/printf.c
cc1: warnings being treated as errors
/home/paul/src/bin/csh/../../usr.bin/printf/printf.c: In function `progprintf':
/home/paul/src/bin/csh/../../usr.bin/printf/printf.c:216: warning: implicit 
declaration of function `warnx'
*** Error code 1

Stop.

It appears that the definition of warnx occurs within a #ifdef SHELL/#endif
pair, and SHELL is not defined for csh.

-----------------------------------------------------------------------------
| Paul Goyette       | PGP Public Key fingerprint:  | E-mail addresses:     |
| Network Consultant |     0E 40 D2 FC 2A 13 74 A0  |  paul@whooppee.com    |
| and kernel hacker  |     E4 69 D5 BE 65 E4 56 C6  |  paul_goyette@ins.com |
-----------------------------------------------------------------------------