[Libpqxx-general] Retrieving data from large integers fields
Jeroen Vermeulen
jtv at xs4all.nl
Thu Feb 5 17:19:07 UTC 2009
João Pedro Alves P. do Nascimento wrote:
> c:\Libpqxx-win32\win32\msvc2003\libpqxx\pqxx\util.hxx(225): error C2027: use
> of undefined type 'pqxx::string_traits<T>'
> with
> [
> T=unsigned __int64
> ]
>
> It appears to me that there are no valid conversions from string to int64.
> I've also tried activating the compiler flag PQXX_HAVE_LONG_LONG but then I
> get problems at runtime (problems with pqxxd.dll entryoint)
Make sure that PQXX_HAVE_LONG_LONG is enabled in
pqxx/include/config-public-compiler.h. This will tell the library to
include support for the semi-standard "long long" types, which should
include this one.
Jeroen
More information about the Libpqxx-general
mailing list