Subject: Help with ED_UNASSIGNED
To: NetBSD-current Discussion List <firstname.lastname@example.org>
From: Peter A. Eisch <email@example.com>
Date: 01/22/2001 21:34:43
Let's suppose I'm set to src/lib/libedit and want to 'make' I get lots of
stuff that wants some definition for ED_UNASSIGNED.
cc -O -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Wno-uninitialized -Werror -I. -I/usr/src/lib/libedit -I.
-I/usr/src/lib/libedit -c editline.c
In file included from editline.c:4:
chared.c: In function `ch_init':
chared.c:465: `ED_UNASSIGNED' undeclared (first use in this function)
chared.c:465: (Each undeclared identifier is reported only once
chared.c:465: for each function it appears in.)
chared.c: In function `ch_reset':
chared.c:501: `ED_UNASSIGNED' undeclared (first use in this function)
cc1: warnings being treated as errors
chared.c: In function `c_gets':
chared.c:584: warning: implicit declaration of function `ed_end_of_file'
What didn't I do right?