title: Ignoring GCC "error: braces around scalar initializer for type" errors. Make them warnings
body: <p>I have a nagging problem with GCC compiler errors "error: braces around scalar initializer for type". I have seen others complaining about this, although they describe it as a warning (<a href="https://stackoverflow.com/questions/3462513/gcc-warning-braces-around-scalar-initializer">gcc warning: braces around scalar initializer</a>)</p>
  
  <p>I am compiling code which is not mine to edit, and I get a lot of these errors throughout the code.</p>
  
  <p>Basic Pattern is:</p>
  
  <pre><code>struct t_
  {
      float f;
      int i;
  };
  
  float f = { 0.3 };      //Compiler is all happy with this.
  int i = {0};            //Compiler is all happy with this too.
  t_ t1 = { 0.3, 0 };     //Compiler is all happy with this too.
  t_ t2 = { {0.3}, 0 };   //Compiler ERROR: braces around scalar initializer for type 'float' 
  </code></pre>
  
  <p>I know I can remove the braces {} around the float scaler to remove this error, but I do not want to modify the code in any way. Is there a flag I can give to GCC (currently using MinGW gcc 4.8.1). i.e. "std=c++03", or something to get these errors at least displayed as warnings.</p>
  
  <p>Thanks</p>