g++ implicit template instantiation problem on V5.1

From: Shiva Gowda (shivrajang_at_yahoo.com)
Date: 09/22/03

  • Next message: Jeff Foster, CCS Open System Group: "utmp and wtmp, not updating"
    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


  • Next message: Jeff Foster, CCS Open System Group: "utmp and wtmp, not updating"

    Relevant Pages

    • [git patches] net driver fixes
      ... tokenring: fix module_init error handling ... skge, sky2, et all. ... This program is free software; you can redistribute it and/or modify ... it under the terms of the GNU General Public License as published by ...
      (Linux-Kernel)
    • Re: SBCL just turned 1.0!
      ... and can often fix a piece of software that has minor bugs in a short ... I don't like the way it works, and that has onerous license ... "I'm an expert at installing free software. ...
      (comp.lang.lisp)
    • Re: If the Mets fire Willie.....
      ... there and have not been able to fix it either. ... Wagner, or maybe Al Leiter.... ... http://www.nylxs.com - Leadership Development in Free Software ... You must be a stupid engineer then, because politcs and technology have been attached at the hip since the 1st dynasty in Ancient Egypt. ...
      (alt.sports.baseball.ny-mets)
    • SUMMARY: Using Free Software Bigbrother on a cluster
      ... > but last time I checked Big Brother was commercial ... > Free Software ... >> Do you Yahoo!? ... > Steve Feehan ...
      (Tru64-UNIX-Managers)
    • Re: [Fwd: Re: SOS for Free Software Knowldg]
      ... >> Some of you know the Free Software Group Marco Scoffier, ... Evan though we can figure out an probably get debian running ... Do you Yahoo!? ... Finance Tax Center - File online. ...
      (Debian-User)