find_package(PythonInterp) has been deprecated since cmake 3.5 and is
throwing a warning as of 3.27 (maybe earlier). Since the minimum
required version is 3.5 for this repo, added a branch to use the
appropriate find_package depending on the version.
Tested with 3.27 (above the split) and 3.10.x (below the split). Both
were successful for me (ubuntu:18.04 & 22.04).
Fix#481 23 test fails under FreeBSD 14.1 builtin SQLite library 3.45.1
The SQLITE_DQS compile-time option activates or deactivates the legacy
double-quoted string literal misfeature.
Legacy behavior is that double-quoted string literals are allowed
anywhere.
Fix#481 23 test fails under FreeBSD 14.1 builtin SQLite library
The SQLITE_DQS compile-time option activates or deactivates the legacy double-quoted string literal misfeature.
Legacy behavior is that double-quoted string literals are allowed anywhere.
Rvalues are inherently unsuitable for no-copy binding, because their
lifetime cannot be guaranteed. Separately declare, and delete, all
overloads of bindNoCopy() that take a std::string rvalue.
makes the following changes
- update meson wrap dependencies
- update gtest 1.14.0 -> 1.15.0
- update sqlite 3.42.0 -> 3.46.1
- removed redundant variables that pointed to the same sources in
example executables
fixes a CI issue in OSX due to
[PEP-668](https://peps.python.org/pep-0668/)
pip3 was used to install meson and ninja build, pipx is a drop in
replacement for this use case.
Rvalues are inherently unsuitable for no-copy binding, because their lifetime cannot be guarnateed.
Separately declare, and delete, all overloads of bindNoCopy() that take a std::string rvalue.
this PR only affects meson, however a later change could be made for
CMake
updates the following depenencies:
- GTests to 1.14.0
- sqlite to 3.42.0
makes
sets the recommended version to C++14 as Gtest now requires C++14,
additionally shows a warning and sets it to c++14 if
- C++11 is set and is on windows (this was #354 but now checks if is
C++11 and shows a warning instead of setting it to C++14 so it does not
revert when using a newer version)
- C++11 is set and uses [GTest
1.14.0](https://github.com/google/googletest/releases/tag/v1.14.0) or
greater, for more information check [Google's Foundational C++ Support
Policy](https://opensource.google/documentation/policies/cplusplus-support)
error: function ‘SQLite::Statement& SQLite::Statement::operator=(SQLite::Statement&&)’ defaulted on its first declaration with an exception-specification that differs from the implicit declaration