Skip to content

Comment on GCC 4.6 - Support for selectively enabling and disabling warnings via #pragma

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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.