From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11395 invoked by alias); 19 Jul 2006 11:04:40 -0000 Received: (qmail 11025 invoked by uid 48); 19 Jul 2006 11:04:13 -0000 Date: Wed, 19 Jul 2006 11:04:00 -0000 Message-ID: <20060719110413.11023.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/27211] Bogus error "template definition of non-template" when there is no non-template In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "reichelt at gcc dot gnu dot org" 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 X-SW-Source: 2006-07/txt/msg01496.txt.bz2 List-Id: ------- Comment #3 from reichelt at gcc dot gnu dot org 2006-07-19 11:04 ------- Because of Steve's patch for PR28304 we now get the following message for the second testcase: bug.cc:3: error: no 'void A::foo()' member function declared in class 'A' bug.cc:3: error: no 'void A::foo()' member function declared in class 'A' bug.cc:3: error: declaration of 'void A::foo()' outside of class is not definition bug.cc:3: error: template definition of non-template 'void A::foo()' I.e. the bogus "candidate" part is now gone. :-) Alas we now get a duplicate message right at the beginning. :-( This is tracked in PR 28432. All that remains in this PR is the bogus "template definition of non-template" message. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27211