Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | Daniel Krügler<daniel.kruegler@googlemail.com> |
|---|---|
| Newsgroups | comp.std.c++ |
| Subject | Re: Defect report: variables with linkage defined in block scope |
| Date | 2011-11-13 15:26 -0800 |
| Organization | A noiseless patient Spider |
| Message-ID | <j9olqn$ef1$1@dont-email.me> (permalink) |
| References | <54715.10.0.7.182.1321064656.squirrel@webmail.secure.aluminati.net> |
Am 12.11.2011 20:33, schrieb Richard Smith: > C89 6.5.7 and C99 6.7.8/5 say "If the declaration of an identifier has block > scope, and the identifier has external or internal linkage, the declaration > shall have no initializer for the identifier." Just for the record: The recent C11 draft has above quoted wording in 6.7.9/5. > C++ appears to have no such restriction (though if someone can point out where > such a restriction lives, I'll happily stand corrected). I haven't found corresponding words either in C++, I therefore forwarded your report to CWG. Greetings from Bremen, Daniel Krügler -- [ comp.std.c++ is moderated. To submit articles, try posting with your ] [ newsreader. If that fails, use mailto:std-cpp-submit@vandevoorde.com ] [ --- Please see the FAQ before posting. --- ] [ FAQ: http://www.comeaucomputing.com/csc/faq.html ]
Back to comp.std.c++ | Previous | Next — Previous in thread | Find similar
Defect report: variables with linkage defined in block scope "Richard Smith" <richard@metafoo.co.uk> - 2011-11-12 11:33 -0800 Re: Defect report: variables with linkage defined in block scope Daniel Krügler<daniel.kruegler@googlemail.com> - 2011-11-13 15:26 -0800
csiph-web