From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28524 invoked by alias); 31 Aug 2004 03:58:46 -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 28517 invoked from network); 31 Aug 2004 03:58:46 -0000 Received: from unknown (HELO psmtp.com) (12.158.35.211) by sourceware.org with SMTP; 31 Aug 2004 03:58:46 -0000 Received: from source ([192.150.22.7]) by exprod6ob1.obsmtp.com ([12.158.35.250]) with SMTP; Mon, 30 Aug 2004 20:58:45 PDT Received: from inner-relay-3.corp.adobe.com (inner-relay-3 [153.32.251.51]) by smtp-relay-7.sea.adobe.com (8.12.10/8.12.10) with ESMTP id i7V3wiNf003077; Mon, 30 Aug 2004 20:58:44 -0700 (PDT) Received: from iplan-mn (iplan-mn.corp.adobe.com [130.248.25.5]) by inner-relay-3.corp.adobe.com (8.12.9/8.12.9) with ESMTP id i7V3wikq008493; Mon, 30 Aug 2004 20:58:44 -0700 (PDT) Received: from mn-eljay-a51m.adobe.com ([130.248.178.90]) by iplan-mn.corp.adobe.com (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0I3A00BENLPTLE@iplan-mn.corp.adobe.com>; Mon, 30 Aug 2004 22:58:42 -0500 (CDT) Date: Tue, 31 Aug 2004 05:22:00 -0000 From: Eljay Love-Jensen Subject: Re: function calls before variable declarations does not give error in gcc? In-reply-to: <3aa41a650408302022774d7486@mail.gmail.com> X-Sender: eljay@iplan-mn.corp.adobe.com To: Oza Dhairesh , gcc-help@gcc.gnu.org Message-id: <6.1.2.0.2.20040830225651.01f46e20@iplan-mn.corp.adobe.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT References: <3aa41a650408302022774d7486@mail.gmail.com> X-SW-Source: 2004-08/txt/msg00292.txt.bz2 Hi Oza, I believe that's actually not an error, according to C99. GCC 2.96 (a misnomer for a maverick non-GCC release, since there wasn't a GCC 2.96, GCC went from 2.95 to 3.0) is probably following C89 standards. HTH, --Eljay