From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29670 invoked by alias); 7 Nov 2005 13:37:07 -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 29632 invoked by uid 48); 7 Nov 2005 13:36:58 -0000 Date: Mon, 07 Nov 2005 13:37:00 -0000 Message-ID: <20051107133658.29631.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/24702] Koenig found functoid ref, but "cannot be used as a function" In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" X-SW-Source: 2005-11/txt/msg00936.txt.bz2 List-Id: ------- Comment #1 from pinskia at gcc dot gnu dot org 2005-11-07 13:36 ------- Actually IIRC Koenig lookup only finds functions and not variables. If that is the case we have two issues here. One is we accept invalid and another is that error message is wrong. Note ICC rejects this: t.cc(26): error: identifier "dummyFunct" is undefined std::cout<<"dummyFunct(d) = "<