dbTalk Databases Forums  

Re : Re: VS 2003 / Mysql++ 1.7(or 2.0 b) =>__int64 followed by

mailing.database.mysql-plusplus mailing.database.mysql-plusplus


Discuss Re : Re: VS 2003 / Mysql++ 1.7(or 2.0 b) =>__int64 followed by in the mailing.database.mysql-plusplus forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
np@sfr.fr
 
Posts: n/a

Default Re : Re: VS 2003 / Mysql++ 1.7(or 2.0 b) =>__int64 followed by - 07-18-2005 , 08:52 AM






Hello, Is it possible to put mysqlpp::Connection * con in a class (and a =
..h) ?

I've tried already and then theses previous errors appears under=
VS 2003 ...

Sample code (.h):

#include <mysql++.h>
class VDO_Trac=
k_DM_Main {
public :
mysqlpp::Connection * con; // each object contai=
ns a single connection
mysqlpp::Query * qry;
....
};

Have you alrea=
dy a sample compiled under VS 2003 and coded like this ?


Thanks for =
your help.


NP.




Quote:
---------- Message d'origine -----------
=
Exp=E9diteur : np (AT) sfr (DOT) fr
A : mysqlpp (AT) etr-usa (DOT) com
CC : plusplus@li=
sts.mysql.com
Date : Tue, 12 Jul 2005 15:40:04 +0200
Objet : Re : R=
e: VS 2003 / Mysql++ 1.7(or 2.0 b) =3D>__int64 followed by 'long'is illeg=
al ???
Quote:
...\mysql++\lib\defs.h(53): error C2632: '__int64' followed by =
'long' is illegal

...\mysql++\lib\defs.h(53): warning C4091: 'type=
def ' : ignored on left of 'unsigned __int64' when no variable is declare=
d
Quote:
compiling command line found in C++ project properties is :
/=
Od /G7 "Application_MS\mysql_src\include" /I "Application_MS\mysql++\lib=
" /I "Application_MS\jasper\include" /I "C:\test\SRC\Application_MS\mysql=
_src\include" /I "C:\test\SRC\Application_MS\mysql++\lib" /I "C:\test\SRC=
\Application_MS\jasper\include" /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "=
_AFXDLL" /D "_MBCS" /Gm /EHsc /RTC1 /MDd /Yu"stdafx.h" /Fp"Debug/testApp.=
pch" /Fo"Debug/" /Fd"Debug/vc70.pdb" /W3 /nologo /c /ZI /TP
Quote:


=
NP.



---------- Message d'origine -----------
Exp=E9=
diteur : Warren Young <mysqlpp (AT) etr-usa (DOT) com
A : MySQL++ Mailing List=
plusplus (AT) lists (DOT) mysql.com
CC :
Date : Mon, 11 Jul 2005 16:47=
:11 -0600
Objet : Re: VS 2003 / Mysql++ 1.7(or 2.0 b) =3D> __int64 f=
ollowed by 'long'is illegal ???
np (AT) sfr (DOT) fr wrote:

i hav=
e a compile error in defs.h :

Please post the text of the comp=
iler error.

If i try to force NO_LONG_LONGS macro,

=
Why would you do that? For standard platforms, NO_LONG_LONGS should b=
e
defined correctly from within platform.h. There should be no goo=
d
reason to change it manually.

--
MySQL++ Mailing=
List
For list archives: http://lists.mysql.com/plusplus
To uns=
ubscribe: http://lists.mysql.com/plusplus?unsu...) sfr (DOT) fr

=


Nicolas PERRIN


--
MySQL++ Mailing List
For lis=
t archives: http://lists.mysql.com/plusplus
To unsubscribe: http://=
lists.mysql.com/plusplus?unsub=3Dnp (AT) sfr (DOT) fr


Nicolas PERRIN


--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.