On 4 April 2014 11:24, Andrew Grafham <andrew.graf...@gmail.com> wrote:
> Hi,
>
> I'm not sure if this has been mentioned before (except in passing on the
> Wiki), but SOCI 3.2.2 compiles OK on MingW (the 32 bit version).

Andy, good to hear.

> I used a pre-compiled version of CMake (cmake-2.8.12.1-win32-x86.zip) and
> ran it from the MSYS shell that comes with MingW. The only issue was that
> the compiler objected to std::strtoll and std::strtoull, but replacing these
> with strtoll and strtoull fixed the problems, and I've successfully compiled
> the Oracle, MySQL and ODBC backends using boost.

The problem sounds similar to Cygwin.
Could you check if this patch fixes this problem?
https://github.com/SOCI/soci/pull/246

I don't use Cygwin or MinGW myself, so help appreciated.

Best regards,
-- 
Mateusz  Łoskot, http://mateusz.loskot.net

------------------------------------------------------------------------------
_______________________________________________
soci-users mailing list
soci-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to