From owner-freebsd-hackers Tue Mar 21 18:22:56 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id SAA16345 for hackers-outgoing; Tue, 21 Mar 1995 18:22:56 -0800 Received: from Snoopy.UCIS.Dal.Ca (Snoopy.UCIS.Dal.Ca [129.173.1.10]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id SAA16339 for ; Tue, 21 Mar 1995 18:22:55 -0800 Received: (from digdon@localhost) by Snoopy.UCIS.Dal.Ca (8.6.9/8.6.6) id WAA08065 for freebsd-hackers@freebsd.org; Tue, 21 Mar 1995 22:21:41 -0400 From: Mike Digdon Message-Id: <199503220221.WAA08065@Snoopy.UCIS.Dal.Ca> Subject: gcc include files To: freebsd-hackers@FreeBSD.org Date: Tue, 21 Mar 1995 22:21:41 -0400 (AST) X-Mailer: ELM [version 2.4 PL21] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 609 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[]; 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