------- Comment #2 from pinskia at gcc dot gnu dot org  2009-11-16 17:04 -------
Comeau online tester gives:

"ComeauTest.c", line 4: error: parameter "string" is not a type name
  int fn(string& string, string& head);

Which is only slightly better.

The trunk gives a column number:
t.cc:3:24: error: 'string' is not a type

Which shows where the problem is.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic


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

Reply via email to