This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/23147] Missing declaration of static const members
- From: "falk at debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jul 2005 13:35:06 -0000
- Subject: [Bug c++/23147] Missing declaration of static const members
- References: <20050730085712.23147.fw@deneb.enyo.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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