On 1/23/2013 9:03 PM, Russell Shaw wrote:
> In gcc-4.7 C99, this gets accepted in a block scope:
> static int a = 1;
> ISO/IEC 9899:201x 6.7.8p5 says:
> 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.
The identifier `a' has no linkage (6.2.2p6).
|All times are GMT. The time now is 06:41 AM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.