Comment on GCC 4.6 - Support for selectively enabling and disabling warnings via #pragmaComments−jameskilton15yI'm amazed it took this long but these changes are very VERY welcome:G++ now issues clearer diagnostics for missing semicolons after class, struct, and union definitions.G++ now issues clearer diagnostics for missing semicolons after class member declarations.G++ now issues clearer diagnostics when a colon is used in a place where a double-colon was intended.−Someone15yI guess that partly is because they got competition that showed such things are possible at all (http://clang.llvm.org/diagnostics.html).C++ is notoriously hard to parse, and even harder to produce useful error messages for.
Comments
I'm amazed it took this long but these changes are very VERY welcome:
G++ now issues clearer diagnostics for missing semicolons after class, struct, and union definitions.
G++ now issues clearer diagnostics for missing semicolons after class member declarations.
G++ now issues clearer diagnostics when a colon is used in a place where a double-colon was intended.
I guess that partly is because they got competition that showed such things are possible at all (http://clang.llvm.org/diagnostics.html).
C++ is notoriously hard to parse, and even harder to produce useful error messages for.