4 messages in com.mysql.lists.plusplusRe: Need help for compilation
FromSent OnAttachments
Delphine Pin30 Jan 2004 02:22 
Sinisa Milivojevic30 Jan 2004 04:39 
Delphine Pin30 Jan 2004 05:05 
Sinisa Milivojevic31 Jan 2004 04:21 
Subject:Re: Need help for compilation
From:Sinisa Milivojevic (sin@mysql.com)
Date:01/30/2004 04:39:44 AM
List:com.mysql.lists.plusplus

Delphine Pin wrote:

Hi,

I have downloaded mysql++-1.7.1-1-win32-vc++.zip.

I have Microsoft Visual C++ 5.0.

When I try to compile the provided "mysqlpp.dsp" project, I have several identical errors. For example in "const_string1.hh" file :

const_reference at(size_type pos) const //: { if (pos >= size()) throw out_of_range(""); else return str_data[pos]; }

generates error : "error C2202: 'at' : not all control paths return a value".

Could you tell me what to do ?

Thanks for your help.

Hi!

The above MySQL++ version is made for VC++ 6.0 or higher.

--

Sincerely,

Want to swim with the dolphins? (April 14-16, 2004) http://www.mysql.com/uc2004/