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]

corrupt diagnostic output from collect2




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

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