------- Comment #2 from dcb314 at hotmail dot com  2006-01-16 22:28 -------
(In reply to comment #1)
> Both of these are questionable, I don't see why there should be a different
> diagnostic.

Because the two different diagnostics make it easier to grep for.

For example, Intel C++ compiler finds case 1, but says nothing
about case 2. Easy to grep for.

GNU C++ produces the same message for case 1 and case 2, leading
to a lot of time wasting manual checking of diagnostics.

Surely case 1 is much more likely to be programmer error than case 2 ?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25808


Reply via email to