tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Shiva Gowda <shivrajang@yahoo.com>
Subject: g++ implicit template instantiation problem on V5.1
Date: Mon, 22 Sep 2003 12:32:43 -0700 (PDT)	[thread overview]
Message-ID: <20030922193243.85468.qmail@web11204.mail.yahoo.com> (raw)

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


                 reply	other threads:[~2003-09-22 19:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox