From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14884 invoked by alias); 30 Jul 2005 13:35:10 -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 14874 invoked by uid 48); 30 Jul 2005 13:35:06 -0000 Date: Sat, 30 Jul 2005 13:45:00 -0000 Message-ID: <20050730133506.14873.qmail@sourceware.org> From: "falk at debian dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050730085712.23147.fw@deneb.enyo.de> References: <20050730085712.23147.fw@deneb.enyo.de> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/23147] Missing declaration of static const members X-Bugzilla-Reason: CC X-SW-Source: 2005-07/txt/msg03968.txt.bz2 List-Id: ------- Additional Comments From falk at debian dot org 2005-07-30 13:35 ------- Well, the behavior is undefined here, so what we currently do is just fine. Moreover, this can only be detected at link time, so there's no way for us to give a warning; at best, we could emit a fake reference and have the linker hard fail. I don't think we want that, since it wastes space in the binary for no really good reason other than being pedantic. So I'd say WONTFIX. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23147