Date: Tue, 21 Mar 1995 22:21:41 -0400 (AST) From: Mike Digdon <digdon@Snoopy.UCIS.Dal.Ca> To: freebsd-hackers@FreeBSD.org Subject: gcc include files Message-ID: <199503220221.WAA08065@Snoopy.UCIS.Dal.Ca>
next 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[];
Obviously, the __const is causing the problem. What is this __const? Why
is it there? Why is it breaking?
--
Mike Digdon # Network Operation Centre # Dalhousie University
Phone: +1 902 494-1873 # E-mail: digdon@snoopy.ucis.dal.ca
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503220221.WAA08065>
