From owner-freebsd-hackers Tue Mar 21 18:41:46 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id SAA16710 for hackers-outgoing; Tue, 21 Mar 1995 18:41:46 -0800 Received: from star-gate.com (hasty.vip.best.com [204.156.141.143]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id SAA16704 for ; Tue, 21 Mar 1995 18:41:43 -0800 Received: from localhost (localhost [127.0.0.1]) by star-gate.com (8.6.9/8.6.9) with SMTP id SAA02924; Tue, 21 Mar 1995 18:37:13 GMT Message-Id: <199503211837.SAA02924@star-gate.com> X-Authentication-Warning: star-gate.com: Host localhost didn't use HELO protocol X-Mailer: exmh version 1.6alpha 2/16/95 To: Mike Digdon cc: freebsd-hackers@FreeBSD.org Subject: Re: gcc include files In-reply-to: Your message of "Tue, 21 Mar 1995 22:21:41 -0400." <199503220221.WAA08065@Snoopy.UCIS.Dal.Ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 21 Mar 1995 18:37:11 +0000 From: Amancio Hasty Sender: hackers-owner@FreeBSD.org Precedence: bulk > I am running 2.0R, which includes gcc 2.6.2. I am trying to compile > tin-1.22, but I am having a problem. > > In line 73 of screen.c, I get an error because sys_errlist is redefined as a > different type. In stdio.h, line 244, sys_errlist is defined as: > extern __const char *__const sys_errlist[]; > > In screen.c, it is defined as: > extern char *sys_errlist[]; > Is just the most annoying declaration in BSD4.4, the correct fix is to use strerror. I never do over here, I just go thru the files and delete any extern char *sys_errlist[]; Amancio