Bug with templates and operator[]
Brian Ryner
bryner@uiuc.edu
Thu May 13 17:47:00 GMT 1999
Oops--
Sooner or later I'll learn to read a FAQ.
But, the FAQ was a little unclear as to current status of things... is
there a switch in egcs 1.1.2 to enable automatic template
instantiation? Or is it a separate patch, or what?
Thanks.
Brian Ryner wrote:
>
> Here's the compiler output:
> test2.o: In function `main':
> test2.o(.text+0xd): undefined reference to `Array<int>::operator[](int)'
> collect2: ld returned 1 exit status
>
More information about the Gcc-bugs
mailing list