Internal compiler error 980711

llewelly@dbritsch.dsl.xmission.com llewelly@dbritsch.dsl.xmission.com
Thu Jul 27 07:54:00 GMT 2000


On Thu, 27 Jul 2000, Andy Henson wrote:

> I got this error (Internal compiler error 980711) when compiling a simple 
> class.  It appears to be the use of std::queue<> when the include file 
> <queue> had not been included.
> 
> I've simplfied the program down to 4 lines and I can still reproduce it:
> ---------------------------cut here----------------------------------
> class SerialStream
> {
> 	std::queue<int*> q;
> };
> ---------------------------cut here----------------------------------
> 
> Version stuff:
> 
> GNU C++ version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release) 
> (i386-redhat-linux) compiled by GNU C version egcs-2.91.66 19990314/Linux 
> (egcs-1.1.2 release).
> 
> actual error message:
> 
> tstie.cpp:3: Internal compiler error 980711.

gcc 2.95.2 says:

class_with_queue_inside.cc:3: syntax error before ';'

so I suggest you upgrade.

Thank you for your bug report.



More information about the Gcc-bugs mailing list