From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7574 invoked by alias); 17 Jun 2005 11:26:43 -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 7519 invoked by uid 48); 17 Jun 2005 11:26:37 -0000 Date: Fri, 17 Jun 2005 11:26:00 -0000 Message-ID: <20050617112637.7517.qmail@sourceware.org> From: "redi at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20041128004431.18698.reichelt@gcc.gnu.org> References: <20041128004431.18698.reichelt@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/18698] [3.4/4.0/4.1 regression] Error message using "using" for code not using "using" ;-) X-Bugzilla-Reason: CC X-SW-Source: 2005-06/txt/msg02253.txt.bz2 List-Id: ------- Additional Comments From redi at gcc dot gnu dot org 2005-06-17 11:26 ------- Not sure if this is the same bug or if it should be a new PR: struct A { NS::y b; }; gives the same "using-declaration" diagnostic if compiled with -DNS= or -DNS=std, but not otherwise. This can be caused simply by failing to declare NS::y, e.g. by forgetting to include a header. The diagnostic is pretty unhelpful. -- What |Removed |Added ---------------------------------------------------------------------------- CC| |redi at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18698