public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* template + mysql++
@ 2001-01-18 21:07 Pragneshkumar Gandhi
  0 siblings, 0 replies; only message in thread
From: Pragneshkumar Gandhi @ 2001-01-18 21:07 UTC (permalink / raw)
  To: gcc

Hi All
      	I am facing following compling as well linking
errors.
      	I am using gcc version egcs-2.91.66 19990314/Linux
(egcs-1.1.2 							release) 
     	plus using mysql++ api for database updation.
     
     	i am using template class for updating database
through 	mysql++.
     
 	And i am  getting the following errors

	/usr/include/g++-2/stl_algobase.h: In instantiation of 	
`min<size_t>(cons
	t size_t &, const size_t &)':
      	/usr/include/g++-2/stl_algobase.h:371:  
instantiated from here
      	In file included from
/usr/include/g++-2/algorithm:30,
      	                 from virtExch.hh:8,
      	                 from vServer.cc:3:
      	/usr/include/g++-2/stl_algobase.h:86: warning:
template `const 	T & min(c
	onst T &, const T &)' defined in file without #pragma
interface
      
        match.o: In function `mysql_dt_base type_info
function':
        /usr/include/g++-2/mysql++/null1.hh(.data+0x0):
multiple 	definition of `
	EXCH_TRANSACTIONS::names'
     	vServer.o(.data+0x0):vServer.cc: 	first de
	fined here
     	match.o: In function `mysql_dt_base type_info
function':
     	/usr/include/g++-2/mysql++/null1.hh(.data+0x14):
multiple 	definition of
	`EXCH_TRANSACTIONS::_table'
	vServer.o(.data+0x14):
	vServer.cc:
	 first d
	efined here
     	match.o: In function `mysql_dt_base type_info
function':
	
	PLUS MANY MORE...

	I did try out compling with -fexternal-templates but no
help.

	if anybody knows the solution to compling the template
class, 	please help.
	thanks for your help in advance.

        plus can anybody suggest me that how can i use 
	#pragma implementation'   (the   definition)   or 
`#pragma
        interface' (declarations).     
	in my code.

       bye and Have a nice time.                           
  
      	

=====
.....  Never ever Give Up .....AND .........
...............................Live Life Like King Size.....

FROM
PRAGNESHKUMAR GANDHI

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-01-18 21:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-18 21:07 template + mysql++ Pragneshkumar Gandhi

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).