title: Cannot refer to declaration with a variably modified type inside block
body: <p>This is the snippet of my code and i am getting the above mentioned error.</p>
  
  <pre><code>dispatch_async(background_thread, ^{
      cameras camera[10];
      .
      .
      for(int i=0; i&lt;ncam; i++) {
          dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT,0),^{
              iPoint subPoints[10];
              subPoints[0].x = camera[i].x + ((int)camera[i].mindist)*cos(camera[i].dir + (camera[i].angle)/2);
              .
              .
              .
          });
      }
  });
  </code></pre>
  
  <p>cameras is actually a C-type structure and the error is with camera array. Someone please help me how to get rid off with this problem.</p>