Created on 2011-11-13.00:00:00 last changed 131 months ago
[Moved to DR at the October, 2012 meeting.]
Proposed resolution (February, 2012):
Add the following as a new paragraph following 9.4 [dcl.init] paragraph 4:
[Note: Default arguments are more restricted; see 9.3.4.7 [dcl.fct.default].
The order of initialization of variables with static storage duration is described in 6.9.3 [basic.start] and 8.8 [stmt.dcl]. —end note]
A declaration of a block-scope variable with external or internal linkage that has an initializer is ill-formed.
To zero-initialize an object...
There does not appear to be wording that prohibits a block-scope extern object declaration from being a definition.
History | |||
---|---|---|---|
Date | User | Action | Args |
2014-03-03 00:00:00 | admin | set | status: drwp -> cd3 |
2013-05-03 00:00:00 | admin | set | status: dr -> drwp |
2012-11-03 00:00:00 | admin | set | messages: + msg4118 |
2012-11-03 00:00:00 | admin | set | status: ready -> dr |
2012-02-27 00:00:00 | admin | set | messages: + msg3689 |
2012-02-27 00:00:00 | admin | set | status: open -> ready |
2011-11-13 00:00:00 | admin | create |