| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
|
|
|
|
|
| |
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]
|
| |
|
| |
|
|
|
|
| |
The removed macros are not used anywhere in libsigc++ 3.0.
|
|
|
|
|
|
| |
std::result_of is deprecated in C++17 and will be removed in C++20.
Fixes issue #19
|
| |
|