From: NG Chi Fai Newsgroups: comp.os.msdos.djgpp Subject: Help: Templates - debugging and linking Date: Sat, 15 May 1999 21:31:27 -0700 Organization: oronet, Penn Valley, C Lines: 14 Message-ID: <373E4A1F.536C01D0@netvigator.com> NNTP-Posting-Host: gv1-252.oro.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Server-Date: 16 May 1999 04:32:10 GMT X-Mailer: Mozilla 4.51 [en] (Win95; I) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello, I have two questions on templates. Any pointers to FAQ or solutions are highly appreciated. Thanks in advance. Q1. How can I debug templates functions/classes in gdb? Q2. I have a template class A which is instantiated in several pieces of source code. Then, when I compile and link the pieces together, linker report duplicated codes for the template. How can I get rid of this? Thanks again. best regards, NG Chi Fai