------- Additional Comments From pinskia at physics dot uc dot edu 2005-08-10 02:49 ------- Subject: Re: can't compile self defined void distance(std::vector<T>, std::vector<T>)
On Aug 9, 2005, at 10:41 PM, adah at netstd dot com wrote: > > Passing this information to the user is difficult, unless GCC emits a > diagnostic message to help users do so, as GCC is currently doing on > the > missing of `typename'. even then as I said before when it comes down to it, nobody reads those messages as they think their code is correct. See my example when sequence points, we do warn about it in 4.0.0 and above (for C++; for C, we have warned since at least 3.0.4) and people still file bugs. Another example of where people don't read is the changes page, which describes changes to the compiler which could hinder (or benefit) them. One example is the change in the namelookup for templates to be more towards the standard. That example shows that we still get bug reports so even with a better error message, people will have something to complain about. -- Pinski -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15910