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


> I performed a compile and received the following:  I am using Red Hat 6.0
> Linux.  The compiler version is 2.7.  Ray

Thanks for your bug report. I very much doubt that you've been using
g++ 2.7, since that would not print the message you've reported.

> g++ -o myown -g myownstlq.c
> myownstlq.c: In function `int main(...)':
> myownstlq.c:19: Internal compiler error.
> myownstlq.c:19: Please submit a full bug report to
> `egcs-bugs@egcs.cygnus.com'.
> myownstlq.c:19: See <URL:http://egcs.cygnus.com/faq.html#bugreport> for
> details.

Thanks for your bug report. gcc-2.95.2 says

a.cc: In function `int main(...)':
a.cc:18: type/value mismatch at argument 1 in template parameter list for `template <class _Tp, class _Sequence = class deque<_Tp,allocator<_Tp1>,0> > queue<_Tp,_Sequence>'
a.cc:18:   expected a type, got `node_type'

which indeed is an error.

Regards,
Martin


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