Defect Report #237

Previous Defect Report < - > Next Defect Report


Submitter: WG14 Convener (J. Benito)
Submission Date:2001-04-25
Source:
Reference Document: N/A
Version: 1.0
Date: 2001-09-18 17:12:00
Subject: Declarations using [static]

Summary Given the following declarations:


   void f(int n, int x[static n]);
   void f(int n, int x[n]) {}
  
An example at the end of 6.7.5.3 (p21) indicates that these declarations are compatible, but it seems like there should also be something about this in composite types.
  1. If some declarations include "static" and some don't, what is the effect?
  2. Does static only count if it is on the definition?
  3. Does it count if it is on the declaration visible for a given call?


Previous Defect Report < - > Next Defect Report