http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31489
Paolo Carlini changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
CC|gcc-bugs at g
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31489
--- Comment #4 from paolo at gcc dot gnu.org
2011-09-27 21:52:23 UTC ---
Author: paolo
Date: Tue Sep 27 21:52:19 2011
New Revision: 179293
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179293
Log:
/cp
2011-09-27 Paolo Carlini
PR
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31489
Paolo Carlini changed:
What|Removed |Added
Status|NEW |ASSIGNED
AssignedTo|unassigned at
--- Comment #2 from bangerth at dealii dot org 2007-04-07 16:23 ---
Confirmed.
I think a patch would be of interest. Maybe one could just tweak
the error to read
x.cc:5: error: invalid use of undefined type 'foobar'
x.cc:1: error: forward declaration of struct or class 'foobar'
--
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-04-06 00:09 ---
I don't think this matters anyways as class == struct and can be used
interchangably for tags.
if you summit a patch, see what this shows you:
struct foobar;
int main()
{
foobar * o = new foobar;
}
Or even