title: gcc's extended initializer lists warning
body: <p><code>gcc</code> will warn about the following example code:</p>
  
  <pre><code>struct someStruct {
      char c;
      int i;
  };
  
  int main() {
      someStruct s { 'a', 3 };
  
      return 0;
  }
  </code></pre>
  
  <blockquote>
    <p>warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x</p>
  </blockquote>
  
  <p>I want to make my code compatible to older compilers having no C++11 support.
  Now when I try to compile it with either <code>-std=c++98</code> or even <code>-ansi -pedantic</code> it still issues the same warning and compiles.</p>
  
  <p>Is this a compiler bug or am I missing something?</p>