Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated the MSVC version information (all versions of MSVC emit the diagnostic).

...

This noncompliant code example generates a warning in GCC. Microsoft Visual Studio 2008 generates a fatal diagnostic: error C2078: too many initializers.

...