From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15443 invoked by alias); 9 Jul 2003 05:44:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 15432 invoked from network); 9 Jul 2003 05:44:38 -0000 Received: from unknown (HELO monkey.daikokuya.co.uk) (213.152.55.49) by sources.redhat.com with SMTP; 9 Jul 2003 05:44:38 -0000 Received: from neil by monkey.daikokuya.co.uk with local (Exim 3.36 #1 (Debian)) id 19a7kr-00033V-00; Wed, 09 Jul 2003 06:44:37 +0100 Date: Wed, 09 Jul 2003 05:44:00 -0000 From: Neil Booth To: pinskia at physics dot uc dot edu Cc: gcc-bugs@gcc.gnu.org Subject: Re: [Bug c/11459] -stdc=c90 -pedantic -ansi warns about C90's non long-long support when in C99 mode Message-ID: <20030709054437.GK29961@daikokuya.co.uk> References: <20030708045637.11459.debian-gcc@lists.debian.org> <20030708201111.25942.qmail@sources.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030708201111.25942.qmail@sources.redhat.com> User-Agent: Mutt/1.5.4i X-SW-Source: 2003-07/txt/msg00883.txt.bz2 List-Id: pinskia at physics dot uc dot edu wrote:- > pinskia at physics dot uc dot edu changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Summary|-stdc=c90 -pedantic warns |-stdc=c90 -pedantic -ansi > |about C90's non long-long |warns about C90's non long- > |support when in C99 mode |long support when in C99 > | |mode > > > ------- Additional Comments From pinskia at physics dot uc dot edu 2003-07-08 20:11 ------- > The bug report is wrong because with those options, I do not get the warning but reading > the bug report which is this is forward from, I see that the option -ansi is there, I do not > know what is should happen when you say '-std=c99 -ansi' or '-ansi -std=c99', should gcc > put into c89 or c99? Could some else look at this bug and say what should gcc do? -ansi means -std=c89. Which ever comes later of -ansi and -std=c99 should win; this is the general rule (sadly some exceptions are insisted on). Neil.