[comp.lang.c++] BUG REPORT

schmidt@crimee.ics.uci.edu (Doug Schmidt) (02/25/90)

The following short example either illustrates a bug in cfront 2.0
or g++ 1.36.4:

----------------------------------------
class foo
{
public:
  foo::foo ();
  foo::~foo ();
};
----------------------------------------

cfront 2.0 reports (somewhat misleadingly...):
----------------------------------------
"test.c", line 5: error: foo ::~foo () with return type
----------------------------------------

g++ does not complain.

Doug
--
The grave's a fine and private place,     | schmidt@ics.uci.edu (ARPA)
but none, I think, do there embrace.      | office: (714) 856-4043
                  -- Andrew Marvell