[Bug c++/32190] bad diagnostic

2007-06-02 Thread igodard at pacbell dot net
--- Comment #2 from igodard at pacbell dot net 2007-06-02 23:40 --- Either way, it is reporting on the first line after the point of actual error that contains a use of a template. The space between error and report is thus arbitrarily large and may cross files, and the flagged line has

[Bug c++/32190] bad diagnostic

2007-06-02 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-06-02 20:57 --- On the mainline I just get: t.cc: In function 'int main()': t.cc:7: error: template argument 1 is invalid -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32190