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 980711


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.


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