Thread View: gnu.gcc.bug
1 messages
1 total messages
Started by Rik
Tue, 11 Aug 1992 18:31
g++ 2.1 bug
Author: Rik
Date: Tue, 11 Aug 1992 18:31
Date: Tue, 11 Aug 1992 18:31
25 lines
1110 bytes
1110 bytes
Hi again,
I don't know whether or not you received my last bug
report, anyway here is another one.
>From the C++ reference manual r.14.7 (Friends) :
template<class T> class task {
friend task<T>* preempt(task<T>*) ;
};
template<class T> task<T>* preempt(task<T>* t) { }
main () {
task<int> i ;
}
Compiler says " parse error before > " twice on line 2.
Take out the <T> bit, and it crashes, signal 11.
Am I missing something again ? Please tell me if this mail got through.
Thanks !
> Richard Eyre-Todd. Department of Computer Science, University of Edinburgh.
> Email: ret@uk.ac.ed.dcs | Solid fuel is for camp-fires,
> or ret%dcs.ed.ac.uk@nsfnet-relay.ac.uk | not boosting Space Shuttles. :-)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads