[Libpqxx-general] Fix for libpqxx-3.0.0 under Mac OSX 10.5.2 and Xcode 3.0

Jeroen Vermeulen jtv at xs4all.nl
Sat Aug 9 04:24:33 UTC 2008


Matthew Fanto wrote:

>  Rather then turning this feature off for each project, libpqxx can be built
> to correctly work with these flags enabled. I was able to reproduce the
> crash on the test apps (provided by libpqxx), and then by adding
> GLIBCXX_DEBUG=1 to the library build, the test apps worked correctly.

Thanks for following up on this.  What amazes me is that apparently the 
library was built with that option, and the tests were built without it!

Are both builds using the makefiles generated by the configure script? 
Or is the development environment making up its own compiler command 
lines for one of the two?  Normally you'd set an option like this in 
CXXFLAGS or LDFLAGS etc, run ./configure, and then build.  To change the 
option, you'd run ./configure again and everything would then build with 
the changed options.


Jeroen


More information about the Libpqxx-general mailing list