5 messages in com.mysql.lists.plusplusRe: mysql++-1.7.9 under Win32
FromSent OnAttachments
Dan Rotar25 Jul 2003 13:00 
Troy Schrapel29 Jul 2003 23:50 
Dan Rotar31 Jul 2003 13:24 
Dan Rotar02 Aug 2003 11:09 
Sinisa Milivojevic04 Aug 2003 05:12 
Subject:Re: mysql++-1.7.9 under Win32
From:Dan Rotar (dan@t-online.de)
Date:08/02/2003 11:09:42 AM
List:com.mysql.lists.plusplus

Hi,

I compiled the project using Visual Net 2003 and for this version of the compiler "long long" is equal to "_int64". It seams that this does not apply for Visual Net 2002.

For the second error c:\mysql\mysql++-1.7.9\sqlplusint\resiter1.hh(30) I believe that the compiler is confused about the namespace it uses. I modified the line to read typedef const std::reverse_iterator<iterator> reverse_iterator; //: and the error was gone, but the project still not compiles with Visual Net 2002

Regards Dan

On Fri, 2003-08-01 at 16:52, KETA Engineering - Lukas Müller wrote:

Hi,

thanks a lot for your mysql++-1.7.9 under Windows, using Visual Studio.Net information. I was very happy !!!!!

After I adapted the project files for Visual Net 2002 (7.0) the project does not compile. Please see attachement BuildLog.htm, or see below the error messages.

Have you an Idea ?

regards Lukas

c:\mysql\mysql++-1.7.9\sqlplusint\defs(15) : error C2632: 'long' followed by 'long' is illegal

#if defined(NO_LONG_LONGS)

typedef unsigned long ulonglong;

typedef long longlong;

#elif defined (__WIN32__) && !defined(_WIN32)

typedef unsigned __int64 ulonglong;

typedef __int64 longlong;

#else

typedef unsigned long long ulonglong;

typedef long long longlong;

#endif

Next Error:

c:\mysql\mysql++-1.7.9\sqlplusint\resiter1.hh(30) : error C2059: syntax error : '<'

typedef const ::reverse_iterator<iterator> reverse_iterator; //: