public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: ammalik@cs.uwaterloo.ca
To: gcc@gcc.gnu.org
Subject: Need help
Date: Wed, 12 Jul 2006 01:52:00 -0000	[thread overview]
Message-ID: <1152669145.44b455d9984b0@www.nexusmail.uwaterloo.ca> (raw)
In-Reply-To: <56441CD2-D142-4E3E-9AA5-5D015FCFA670@apple.com>

Hi :

I am getting the following compilation error:

/tmp/ccIUvX3i.o(.gnu.linkonce.d._ZTV4ListIiE+0x8): undefined reference to
`List<int>::Find(int const&)'


the declaration is:

virtual int Find (const Etype &X);

and the definition is:

template <class Etype>



int 

List<Etype>::Find (const Etype &X){



	Node *P;



	for (P=List_Head; P!=NULL; P = P->Next)

		if (P->Element == X)

		{

			Current_Positioon = P;

			return 1;

		}



	 return 0;

}




Any suggestions!!!

Thanks
Abid

----------------------------------------
This mail sent through www.mywaterloo.ca

  reply	other threads:[~2006-07-12  1:52 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-28 21:54 ammalik
2006-06-28 23:27 ` Mike Stump
2006-07-12  1:52   ` ammalik [this message]
2006-07-12  4:41     ` Ian Lance Taylor
  -- strict thread matches above, loose matches on Subject: below --
2008-02-25 12:24 need help Mag cool
2008-02-25 13:13 ` Alexey Zaytsev
2008-02-25 12:24 Mag cool
2005-12-15  8:16 Need help Ivan Petrov
2004-08-31 12:49 Need Help Kolingba Arthur
2004-09-01 19:49 ` James E Wilson
2003-09-26 11:46 need help Eitan
2003-09-26 12:16 ` Jon Beniston
2003-07-22 13:39 ggbg ddfd
2003-07-22 13:48 ` ggbg ddfd
2003-07-22 13:55 ` Gerald Pfeifer
2000-01-27 18:46 Krishnan Palani
2000-01-27 20:22 ` Eric Christopher
1999-09-16 17:15 -MD behavior does not match documentation Tom Tromey
1999-12-03 14:02 ` Need Help pogde prashant
1999-12-03 15:34   ` Joern Rennecke
1999-12-31 23:54     ` Joern Rennecke
1999-12-31 23:54   ` pogde prashant

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1152669145.44b455d9984b0@www.nexusmail.uwaterloo.ca \
    --to=ammalik@cs.uwaterloo.ca \
    --cc=gcc@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).