I can confirm that this affects Saucy as well (gcc 4.8.1-10ubuntu9, libpqxx3-dev 3.1-1.1). This is causing similar errors compiling other libpqxx client software with gcc 4.7 and newer. -fpermissive does not resolve all errors.
The problem was indeed properly fixed upstream in revision 1834 and released in libpqxx 3.1.1 with no need for the -fpermissive workaround, but libpqxx3-dev 3.1-1.1 does not incorporate this fix and in particular the #include "pqxx/strconv" in /usr/include/pqxx/util.hxx The libpqxx-dev version in Trusty (libpqxx3-dev_3.1.1-0ubuntu4) does have this fix. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1189252 Title: libpqxx3 tablereader doesn't compile with gcc 4.7 in C++11 mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libpqxx3/+bug/1189252/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
