From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12391 invoked by alias); 23 Feb 2008 13:54:20 -0000 Received: (qmail 12260 invoked by uid 48); 23 Feb 2008 13:53:34 -0000 Date: Sat, 23 Feb 2008 13:54:00 -0000 Subject: [Bug preprocessor/35313] New: Valid pp-expression rejected in C99 mode X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "neil at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-02/txt/msg02416.txt.bz2 The following obeys the syntax, semantics and constraints of C99, but is rejected with -pedantic-errors extern int x; #if 0 ? 2,3 : 2 #endif -- Summary: Valid pp-expression rejected in C99 mode Product: gcc Version: 4.1.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: preprocessor AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: neil at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35313