Grant Limberg be7ce4110e Revert "Delete and re-add libpqxx-7.7.3 due to weird corruption." 3 år sedan
..
README.md be7ce4110e Revert "Delete and re-add libpqxx-7.7.3 due to weird corruption." 3 år sedan
charconv_float.cxx be7ce4110e Revert "Delete and re-add libpqxx-7.7.3 due to weird corruption." 3 år sedan
charconv_int.cxx be7ce4110e Revert "Delete and re-add libpqxx-7.7.3 due to weird corruption." 3 år sedan
cmp.cxx be7ce4110e Revert "Delete and re-add libpqxx-7.7.3 due to weird corruption." 3 år sedan
concepts.cxx be7ce4110e Revert "Delete and re-add libpqxx-7.7.3 due to weird corruption." 3 år sedan
cxa_demangle.cxx be7ce4110e Revert "Delete and re-add libpqxx-7.7.3 due to weird corruption." 3 år sedan
fs.cxx be7ce4110e Revert "Delete and re-add libpqxx-7.7.3 due to weird corruption." 3 år sedan
gcc_pure.cxx be7ce4110e Revert "Delete and re-add libpqxx-7.7.3 due to weird corruption." 3 år sedan
gcc_visibility.cxx be7ce4110e Revert "Delete and re-add libpqxx-7.7.3 due to weird corruption." 3 år sedan
likely.cxx be7ce4110e Revert "Delete and re-add libpqxx-7.7.3 due to weird corruption." 3 år sedan
multidim-subscript.cxx be7ce4110e Revert "Delete and re-add libpqxx-7.7.3 due to weird corruption." 3 år sedan
need_fslib.cxx be7ce4110e Revert "Delete and re-add libpqxx-7.7.3 due to weird corruption." 3 år sedan
poll.cxx be7ce4110e Revert "Delete and re-add libpqxx-7.7.3 due to weird corruption." 3 år sedan
sleep_for.cxx be7ce4110e Revert "Delete and re-add libpqxx-7.7.3 due to weird corruption." 3 år sedan
span.cxx be7ce4110e Revert "Delete and re-add libpqxx-7.7.3 due to weird corruption." 3 år sedan
strerror_r.cxx be7ce4110e Revert "Delete and re-add libpqxx-7.7.3 due to weird corruption." 3 år sedan
strerror_s.cxx be7ce4110e Revert "Delete and re-add libpqxx-7.7.3 due to weird corruption." 3 år sedan
thread_local.cxx be7ce4110e Revert "Delete and re-add libpqxx-7.7.3 due to weird corruption." 3 år sedan
year_month_day.cxx be7ce4110e Revert "Delete and re-add libpqxx-7.7.3 due to weird corruption." 3 år sedan

README.md

Configuration tests

Libpqxx comes with support for different build systems: the GNU autotools, CMake, Visual Studio's "nmake", and raw GNU "make" on Windows.

For several of these build systems, we need to test things like "does this compiler environment support std::to_chars for floating-point types?"

We test these things by trying to compile a particular snippet of code, and seeing whether that succeeds.

To avoid duplicating those snippets for multiple build systems, we put them here. Both the autotools configuration and the CMake configuration can refer to them that way.

It took a bit of nasty magic to read a C++ source file into m4 and treat it as a string literal, without macro expansion. There is every chance that I missed something, so be prepared for tests failing for unexpected reasons! Some C++ syntax may end up having an unforeseen meaning in m4, and screw up the handling of the code snippet. Re-configure, and read your logs carefully after editing these snippets.