Date: Sat, 03 Apr 1999 09:17:37 -0500 From: Benjamin George <BenG@thekeyboard.com> To: freebsd-questions@freebsd.org Subject: gcc (g++) 2.7 and templates? Message-ID: <37062301.5ED2D081@thekeyboard.com>
next in thread | raw e-mail | index | archive | help
I'm trying to compile a C++ program that uses templates, and I keep on getting errors, but I can't figure find anything wrong with the code. Is there a problem with gcc 2.7 and templates? I'm compliling it with this command: g++ -o progname main.o token.o stack.o (after compiling the three ".o" files using "g++ -c main.cpp", etc). The error I get is: "in main.o: undefined symbol 'stack<int> :: push(int)' in text segment". Any ideas? Thanks, Toby P.S. I tried to send this before, but I don't think it got sent. Sorry if you get it twice. -- My Waterskiing Pages (Barefoot & Wakeboarding): http://waterski.pharamond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37062301.5ED2D081>