From owner-freebsd-questions@FreeBSD.ORG Wed May 3 23:47:51 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 660C916A400 for ; Wed, 3 May 2006 23:47:51 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout7.cac.washington.edu (mxout7.cac.washington.edu [140.142.32.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08ED643D46 for ; Wed, 3 May 2006 23:47:51 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout7.cac.washington.edu (8.13.6+UW06.03/8.13.6+UW06.03) with ESMTP id k43NloDW011748 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 3 May 2006 16:47:50 -0700 X-Auth-Received: from [128.208.4.96] (dzihan.cs.washington.edu [128.208.4.96]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.6+UW06.03/8.13.6+UW06.03) with ESMTP id k43NlnUt030441 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 3 May 2006 16:47:50 -0700 Message-ID: <44594125.2060503@u.washington.edu> Date: Wed, 03 May 2006 16:47:49 -0700 From: Garrett Cooper User-Agent: Mozilla Thunderbird 1.0.8-1.1.1.1vy+fc4 (X11/20060419) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20060503.162456.1466.871851@webmail22.nyc.untd.com> In-Reply-To: <20060503.162456.1466.871851@webmail22.nyc.untd.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __STOCK_CRUFT 0, __USER_AGENT 0' Subject: Re: gcc "doesn't work" (was:(no subject)) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 May 2006 23:47:51 -0000 gs_stoller@juno.com wrote: >The unames are: >FreeBSD 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Sat Apr 21 10:54:49 GMT 2001 jkh@narf.osd.bsdi.com:/usr/src/sys/compile/GENERIC i386 >FreeBSD 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Wed Oct 9 15:08:34 GMT 2002 root@builder.freebsdmall.com:/usr/obj/usr/src/sys/GENERIC i386 > When I first encountered a problem with gcc in 4.3 , I copied the gcc from 4.7 into 4.3 and tried it. The program and .h file are attached, as is a file containing the first 4 lines of error messages (once the compiler discovers errors, you can't believe those after the first, they may be accurate, and maybe not). > > >------------------------------------------------------------------------ > That is strange syntax for a struct declaration in an arguments list; usually it seems like just the identifier name is sufficient, and I think I see why gcc errored out and bailed. -Garrett