corrupt diagnostic output from collect2
Corey Kosak
kosak@cs.cmu.edu
Thu Jun 8 14:46:00 GMT 2000
Note the odd symbol name "1xZ1y"
$ cat b1.cc && g++ -v && g++ b1.cc
namespace cow_n {
template<class T, class U>
struct cow_t {
cow_t();
};
};
struct x { };
struct y { };
int main()
{
cow_n::cow_t<x, y> cow;
}
Reading specs from /usr/local/libexec/gcc-latest-snapshot/bin/../lib/gcc-lib/i686-pc-linux/2.96/specs
gcc version 2.96 20000605 (experimental)
/usr0/kosak/tmp/ccMhwevj.o: In function `main':
/usr0/kosak/tmp/ccMhwevj.o(.text+0xe): undefined reference to `cow_n::cow_t<x, y>::1xZ1y(void)'
collect2: ld returned 1 exit status
More information about the Gcc-bugs
mailing list