This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/23147] Missing declaration of static const members


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]