List:MySQL++« Previous MessageNext Message »
From:Chris Gagnon Date:March 19 2005 11:07pm
Subject:RE: libmysqlpp.so minor version numbers?
View as plain text  
I and trying to use the structure creation macros and get many(10 or so)
multiple definition errors when linking all reference the EOSUserData I'm
tryin to create.

This is the file it's created in, I'm use I don't use the name EOSUserData
name anywhere else. 


#ifndef EOS_PLAYER_H
#define EOS_PLAYER_H 1

#include <string>
#include <mysql++.h>
#include <custom.h>

using namespace std;
using namespace mysqlpp;

sql_create_9(EOSUserData,
  1, 9,
  longlong, user_id,
  string, user_name,
  string, user_family_name,
  string, user_firstname,
  string, user_lastname,
  string, password,
  string, email,
  string, ipaddress,
  DateTime, signupdate)


class EOSPlayer{
public:
  
	EOSPlayer(char *un, char *pass);
	~EOSPlayer();

     .  .  .  
private:
  
  EOSUserData databaseData;
  EOSUserData currentData;
  
  .  .  .
	
};

#endif


Any help would be great... Thanks

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.7.4 - Release Date: 3/18/2005
 

Thread
libmysqlpp.so minor version numbers?Warren Young12 Mar
  • Re: libmysqlpp.so minor version numbers?Chris Frey12 Mar
    • Re: libmysqlpp.so minor version numbers?Warren Young15 Mar
  • Re: libmysqlpp.so minor version numbers?Chris Frey12 Mar
    • Re: libmysqlpp.so minor version numbers?Warren Young15 Mar
      • Re: libmysqlpp.so minor version numbers?Chris Frey19 Mar
        • RE: libmysqlpp.so minor version numbers?Chris Gagnon20 Mar
RE: libmysqlpp.so minor version numbers?Chris Gagnon20 Mar