This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: internal compiler error


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]