From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25247 invoked by alias); 4 Dec 2004 06:24:26 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 24964 invoked from network); 4 Dec 2004 06:24:12 -0000 Received: from unknown (HELO mail.codesourcery.com) (65.74.133.9) by sourceware.org with SMTP; 4 Dec 2004 06:24:12 -0000 Received: (qmail 8982 invoked from network); 4 Dec 2004 06:24:11 -0000 Received: from localhost (HELO tazendra) (zack@127.0.0.1) by mail.codesourcery.com with SMTP; 4 Dec 2004 06:24:11 -0000 Received: by tazendra (sSMTP sendmail emulation); Fri, 3 Dec 2004 22:24:15 -0800 Date: Sat, 04 Dec 2004 06:24:00 -0000 Message-ID: <87vfbieg34.wl%zack@codesourcery.com> From: Zack Weinberg To: "Sam Lauber" Cc: gcc@gcc.gnu.org, gcc-help@gcc.gnu.org Mail-Followup-To: gcc-help@gcc.gnu.org Reply-To: gcc-help@gcc.gnu.org Subject: Re: Compilation broken? In-Reply-To: <20041204052815.20EF621AFF9@ws5-6.us4.outblaze.com> References: <20041204052815.20EF621AFF9@ws5-6.us4.outblaze.com> User-Agent: Wanderlust/2.11.30 (Wonderwall) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/21.3 (i386-pc-linux-gnu) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-SW-Source: 2004-12/txt/msg00048.txt.bz2 At Sat, 04 Dec 2004 06:28:15 +0100, Sam Lauber wrote: > > I was copying some programming out of a programming book I > have. When I compiled it with GCC 3.4.3, it said: > > dcl.c:5: error: two or more data types in declaration of `tkntype' > > The code at line 5 was: > > int tkntype; > > It was the first variable declared in the entire thing. Please show lines 1-4 of the program. > I consider this a bug. It isn't a regression. On my 3.4.0, 3.3.3, > and 1.3.6, it gave me the same error. I copyed it exactly out of my > book. I don't know any version of GCC numbered 1.3.6. This question is more appropriate for gcc-help; redirected. zw