internal compiler error

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Sat Apr 1 22:33:00 GMT 2000


> Although I think this bug is the same as mentioned on the 'Freq.
> reported bugs-page' concerning 'Using declarations in classes do not
> work', I send this bug, JFYI.

Thanks for your bug report. I've put it into GNATS. Since you are not
using the keyword using, it is a different bug.

> All I did was adding the line 
> 	typedef enum { ID_SANE_DEBUG, ID_QT_IMGIO } VirtScanMode;
> to a simple C++ class definition:

The problem is caused by the declaration

...

enum

ScanParams::ScanParams( QWidget *parent, KSANEDev *sanedev ):
	QFrame( parent)
...

Removing the extra keyword solves this problem.

Regards,
Martin


More information about the Gcc-bugs mailing list