From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9628 invoked by alias); 14 Jul 2014 15:13:20 -0000 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 Received: (qmail 9062 invoked by uid 48); 14 Jul 2014 15:13:12 -0000 From: "manu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/44317] ,##__VA_ARGS__ comma not eaten with -std=c++0x Date: Mon, 14 Jul 2014 15:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 4.4.4 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: manu at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: emsr at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-07/txt/msg00898.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D44317 Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2014-07-14 Ever confirmed|0 |1 --- Comment #5 from Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez --- Confirmed. Perhaps the locations are added after the warning is emitted. Or= the incorrect location is passed to the warning. Needs further debugging. >>From gcc-bugs-return-456308-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 14 15:18:16 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16086 invoked by alias); 14 Jul 2014 15:18:15 -0000 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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 15544 invoked by uid 48); 14 Jul 2014 15:18:07 -0000 From: "emsr at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/44317] ,##__VA_ARGS__ comma not eaten with -std=c++0x Date: Mon, 14 Jul 2014 15:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 4.4.4 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: emsr at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: emsr at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-07/txt/msg00899.txt.bz2 Content-length: 375 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44317 --- Comment #6 from emsr at gcc dot gnu.org --- Created attachment 33119 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33119&action=edit Patch to pedwarn. This doesn't have the right column pointed out. Also, the message (and that given by clang) is, in my opinion, obscure. At least this starts the ball rolling.