Re: [PostgreSQL+SOCI+BOOST] Compile error in core\exchange-traits.h with PG and SOCI on Windows

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Lawry, Brian" <blawry(at)cccglobal(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: [PostgreSQL+SOCI+BOOST] Compile error in core\exchange-traits.h with PG and SOCI on Windows
Date: 2015-12-10 15:10:13
Message-ID: 15230.1449760213@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Lawry, Brian" <blawry(at)cccglobal(dot)com> writes:
> This isnt really a PostgreSQL question but Ive gotten no response to the following
> issue posted on the SOCI-users list. Im posting here in the hope that someone has
> experience building SOCI for PostgreSQL with Boost type support on Windows.

> I can build an application that doesn't use boost::tuple without error.
> However, if I do use boosttuple, I get:
> c:\develop\soci-3.2.3\core\exchange-traits.h(40): error C2065: 'x_type' : undeclared identifier

x_type is not a name used anywhere in Postgres, and never has been AFAIK.

I'd speculate that the root of your problem is a version mismatch between
BOOST and SOCI, but it's only speculation.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2015-12-10 15:14:50 Re: [PostgreSQL+SOCI+BOOST] Compile error in core\exchange-traits.h with PG and SOCI on Windows
Previous Message Lawry, Brian 2015-12-10 14:55:04 [PostgreSQL+SOCI+BOOST] Compile error in core\exchange-traits.h with PG and SOCI on Windows