[Libpqxx-general] pqxx::connection crash under libpqxx 2.6.9 and 3.0.0, OSX Leopard

Jeroen Vermeulen jtv at xs4all.nl
Mon Jul 14 19:20:10 UTC 2008


Roger Leigh wrote:
> On Mon, Jul 14, 2008 at 01:51:53PM +0700, Jeroen Vermeulen wrote:
>>> The other strange thing I have notices is visibility warnings, which was
>>> fixed by selecting "GCC_SYMBOLS_PRIVATE_EXTERN"
>> That's interesting: I've just heard from the new Debian maintainer that 
>> a symbol doesn't seem to be exported from the shared library in gcc 4.3, 
>> so this could be the same problem.
> 
> This appears to just be a missing PQXX_LIBEXPORT in result.hxx:
> 
> void freemem_result_data(result_data *) throw ();

The LIBPQXX_EXPORT isn't missing in the development tree though, so that 
doesn't explain the problem building 3.0 snapshots.


> Also note that using --enable-maintainer-mode also fails with GCC 4.3
> due to some of the -W options set in configure.ac not being valid for
> the new GCC.

configure.ac is supposed to test those for compatibility with the 
compiler...  Which are the problem ones?


Jeroen


More information about the Libpqxx-general mailing list