g++ implicit template instantiation problem on V5.1
From: Shiva Gowda (shivrajang_at_yahoo.com)
Date: 09/22/03
- Previous message: Chad W Baker: "SUMMARY: Permission problem with NFS mounts"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 22 Sep 2003 12:32:43 -0700 (PDT) To: tru64-unix-managers@ornl.gov
Hello Gurus,
It seems on V5.1 there is no implicit template instantiation.
Our code has tons of definations as shown in example. How could
fix this problem?
Thank you!
//Shiva
$ cat boo.cc
#include <iostream>
#include <string>
using namespace std;
int
main(int argc, char *argv[])
{
string foo="bla bla";
cout << foo << endl;
return(0);
}
$
$ g++ --version
g++ (GCC) 3.3.1
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ sizer -v
Compaq Tru64 UNIX V5.1 (Rev. 732); Fri Jul 11 14:36:24 MEST 2003
$ g++ -o boo boo.cc
std::allocator<char>::allocator[in-charge]()
collect2: ld returned 1 exit status
$
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
- Previous message: Chad W Baker: "SUMMARY: Permission problem with NFS mounts"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|