From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1714 invoked by alias); 25 Feb 2013 16:20:46 -0000 Received: (qmail 1649 invoked by uid 48); 25 Feb 2013 16:20:23 -0000 From: "d.frey at gmx dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/55576] Fails to compile a call to template member function Date: Mon, 25 Feb 2013 16:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: d.frey at gmx dot de X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2013-02/txt/msg02380.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55576 Daniel Frey changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |d.frey at gmx dot de --- Comment #13 from Daniel Frey 2013-02-25 16:20:20 UTC --- Since it wasn't pointed out explicitly: The behaviour should depend on the presence or absence of -std=c++0x/c++11/gnu++0x/gnu++11. The OPs example wasn't compiled without any of these options, so it should be an error and GCC is correct. With C++11 enabled, GCC's behaviour should be changed.