Ignore this I'll resend with a new title, was replying just to get the email
address and didn't change the subject.
-Chris
-----Original Message-----
From: Chris Gagnon [mailto:chris-gagnon@stripped]
Sent: Saturday, March 19, 2005 6:08 PM
To: 'plusplus@stripped'
Subject: RE: libmysqlpp.so minor version numbers?
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