Defect Report #320

Previous Defect Report < - > Next Defect Report


Submitter: Willem Wakker
Submission Date: 2005-05-02
Source:
Reference Document: N/A
Version: 1.0
Date: 2005-05-02
Subject: Scope of variably modified type.

Summary

The first sentence of 6.7.5.2p2 seems to suggest that any ordinary identifier both block scope or function prototype scope and no linkage has a variably modified type. This is clearly wrong.

Suggested Technical Corrigendum

Rewrite the first sentence of 6.7.5.2p2 to read:
An ordinary identifier (as defined in 6.2.3) that has a variably modified type shall have either block scope or function prototype scope, and no linkage.


Previous Defect Report < - > Next Defect Report