| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
| |
This adds the MSVC files in MSVC_NMake/ that are generated during
Meson's configure step to the generated release tarball.
The NMake Makefiles are updated so that they will be able to find files
that are now in untracked/MSVC_NMake, when a release tarball is
generated with Meson.
|
|
|
|
|
| |
This ensures that on Windows, the version info resources are indeed
linked into the libsigc++ DLL.
|
|
|
|
|
|
|
|
|
| |
It appears that Meson did not construct the paths properly for
shutil.copy2() when building in a build directory that is a
subdirectory of the sources, when using meson.current_build_dir(),
possibly due how path separators are handled.
Fix this by constructing the paths using project_build_root / 'MSVC_NMake'.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since we are assured that we are using Python 3.x on when we run Meson, we
do not really need to look for the 'python3' executable, but we could
just use whatever Python interpreter that is used to run Meson.
This will fix situations where it is commonly the case where we may have
multiple Python 3.x installations on Windows (www.python.org, and those
from Cygwin/mingw-w64), so that Meson really uses one and only one
Python installation to run everything that is Python-related, which will
thus fix '[meson|ninja] dist' on Visual Studio builds.
|
| |
|
| |
|
|
|
|
|
|
| |
This avoids warnings and mis-compilations on certain system locales when
building on Visual Studio, in particular Chinese, Japanese and Korean
versions of Windows.
|
|
|
|
|
| |
Instead of showing that 'mm-common-get' is not found, state that it is
required for maintainer-mode.
|
|
|
|
|
| |
We need to make sure that SIGC_BUILD and _WINDLL are defined when
building the libsigc++ DLL, so that it gets build properly.
|
|
|
|
| |
libsigc++-3.0 can be built with either Autotools or Meson.
|
|
|
|
| |
Fix errors reported by "xmllint --postvalid".
|
|
|
|
|
|
| |
This was apparently related to some long-since removed libsigc++ support
for a non-standard a gcc typeof() extension.
https://gcc.gnu.org/onlinedocs/gcc/Typeof.html
|
|
|
|
|
|
| |
But, as with test_ptr_fun(), we need to specify the types.
The compiler doesn't seem to be able to figure it out based on the
values passed.
|
| |
|
|
|
|
|
| |
./autogen.sh already runs configure, passing the arguments.
This is why the builds didn't fail when there were compiler errors.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"= delete" Bases's move operations because the defaulted one
would call non-trivial assignment operators in the virtual bases.
This avoids this compiler warning, at least with g++ 9.2:
test_limit_reference.cc:12:7: error: defaulted move assignment for ‘{anonymous}::Base’ calls a non-trivial move assignment operator for virtual base ‘sigc::trackable’ [-Werror=virtual-move-assign]
12 | class Base : virtual public sigc::trackable
| ^~~~
test_limit_reference.cc:22:7: error: defaulted move assignment for ‘{anonymous}::Derived’ calls a non-trivial move assignment operator for virtual base ‘{anonymous}::Base’ [-Werror=virtual-move-assign]
22 | class Derived : virtual public Base, public Base2
It would be nice if this test had a comment saying what it is testing.
|
|
|
|
|
| |
This expected a result_type type alias. Luckily, in the few places where
we use this, we always specify the type, ignoring the default.
|
|
|
|
| |
This was necessary with older pre-C++11 versions of libsigc++.
|
| |
|
|
|
|
| |
This lets us do "make format" to reformat the code.
|
|
|
|
|
| |
As in the build step. Otherwise, the distcheck's configure run will
just pick up the default compiler again.
|
|
|
|
|
| |
This uses a newer Ubuntu version by specifying a different docker image.
Because of that, we no longer need to use sudo with apt.
|
|
|
|
|
|
| |
The uses: line was actually a separate step that didn't influence the
following step. Ubuntu 18.04 (what GitHub actions uses for
"ubuntu-latest") actually has clang-8 anyway.
|
|
|
|
|
|
| |
It's used by sigc::visitor::do_visit_each().
Add a test case in tests/test_bind.cc.
Fixes #26
|
|
|
| |
CMake 3.15 removes /W3 as a default flag for MSVC, so we no longer need to remove it.
|
| |
|
|
|
| |
Added 'static_cast<void>(parameter-name)' in all paths where the parameter isn't used
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Use 'cmake -E env ... <test-executable>' to execute the test executable.
The '-E env' option allows the environment to be altered for the executed test.
Use generator expressions to retrieve the build directory/file for the
sigc++ & test targets
|
| |
|
|
|
|
| |
This enables more warnings and makes the build fail if they happen.
|
|
|
|
| |
Using Ubuntu 19.10 (Eoan) instead of Ubuntu 18.04.
|
|
|
|
| |
Using Ubuntu 19.10 (Eoan) instead of Ubuntu 18.04.
|
|
|
|
|
| |
We only try compiler versions that are known to have C++17 support.
There is no point in trying older compiler versions.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
For now, this just confirms that we can now copy empty sigc::connection
instances. (See the previous commit.)
|
|
|
|
|
|
|
|
|
|
|
|
| |
Copy constructor and `operator=` could fail if `src` was empty.
```
sigc::connection con1;
sigc::connection con2(con1); // failed
```
```
sigc::connection con3;
sigc::connection con4;
con3 = con4; // failed
```
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Tuples which are input data to std::tuple_cat() are not declared const.
Some versions of libc++ has a bug in std::tuple_cat(): All output
elements coming from a const tuple become const.
It can break 'make check' when using clang++ and -stdlib=libc++.
Fixes issue #25
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
The number of objects and arguments are not restricted to max 7
now that variadic templates have replaced the .m4 files in libsigc++-2
that generated 7 copies.
|
|
|
|
|
|
| |
clang++ complains if private members are unused, so make them protected.
error: private field 'bar_' is not used [-Werror,-Wunused-private-field]
|
| |
|