1 message in com.mysql.lists.win32Link Error with simple1.cpp example
FromSent OnAttachments
Bran Kelly18 Apr 2002 12:33 
Subject:Link Error with simple1.cpp example
From:Bran Kelly (bke@tremor.net)
Date:04/18/2002 12:33:14 PM
List:com.mysql.lists.win32

Hi,

I'm getting multiple link errrors when compiling the sample, "simple1.cpp".

It's complaining that there items that are already defined elsewhere.

Here's an example: msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::~basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(void)" (??1?$basic_string@ DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ) already defined in mysql++.lib(connection.obj)

Anyone else run into this?

Thanks, Bran