title: Objective-C error: initializer element is not constant
body: <p>Why does the compiler give me the following error message on the provided code: "initializer element is not constant".  The corresponding C/C++ code compiles perfectly under gcc.</p>
  
  <pre><code>#import &lt;Foundation/Foundation.h&gt;
  
  const float a = 1;
  const float b = a + a; // &lt;- error here
  
  int main (int argc, const char * argv[]) {
      NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
  
      // insert code here...
      NSLog(@"Hello, World!");
      [pool drain];
      return 0;
  }
  </code></pre>