Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Mar 1995 18:37:11 +0000
From:      Amancio Hasty <hasty@star-gate.com>
To:        Mike Digdon <digdon@Snoopy.UCIS.Dal.Ca>
Cc:        freebsd-hackers@FreeBSD.org
Subject:   Re: gcc include files 
Message-ID:  <199503211837.SAA02924@star-gate.com>
In-Reply-To: Your message of "Tue, 21 Mar 1995 22:21:41 -0400." <199503220221.WAA08065@Snoopy.UCIS.Dal.Ca> 

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




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