Fix gcc build #323
all-os.yml
on: push
Matrix: apple-clang
Matrix: linux-clang
Matrix: linux-gcc
Matrix: linux-old-clang
Matrix: linux-old-gcc-cxx-20
Matrix: linux-old-gcc-cxx-23
Matrix: windows-msvc
Annotations
16 errors and 7 warnings
|
GCC 12 Linux
run-cmake action execution failed: 'Error: "'/home/runner/work/_temp/-193889532/cmake-4.1.2-linux-x86_64/bin/cmake' failed with error code: '1'.'
|
|
GCC 12 Linux:
tests/src/5-modular-source.cpp#L239
call to non-‘constexpr’ function ‘auto kangaru::make_modular_source(Source) [with Sources = {reference_source<service_2_a>, reference_source<service_2_b>}; Source = composed_source<source_reference_wrapper<modular_source<composed_source<source_reference_wrapper<modular_source<none_source, module0()::<lambda()> > > >, constructor_function<object_source<service_1_a> >, constructor_function<reference_source<service_1_b> > > >, source_reference_wrapper<modular_source<none_source, module0()::<lambda()> > > >]’
|
|
GCC 12 Linux:
tests/src/5-modular-source.cpp#L232
call to non-‘constexpr’ function ‘auto kangaru::make_modular_source(Source) [with Sources = {object_source<service_1_a>, reference_source<service_1_b>}; Source = composed_source<source_reference_wrapper<modular_source<none_source, module0()::<lambda()> > > >]’
|
|
GCC 11 Linux:
tests/src/5-modular-source.cpp#L140
use of deleted function ‘kangaru::detail::modular_source::modular_source_impl<Head, Tail ...>::modular_source_impl(kangaru::detail::modular_source::modular_source_impl<Head, Tail ...>&&) [with Head = kangaru::detail::modular_source::use_source<kangaru::none_source>; Tail = {module0()::<lambda()>}]’
|
|
GCC 11 Linux:
include/kangaru/detail/source_types.hpp#L158
use of deleted function ‘kangaru::modular_source<kangaru::none_source, module0()::<lambda()> >::modular_source(kangaru::modular_source<kangaru::none_source, module0()::<lambda()> >&&)’
|
|
GCC 11 Linux:
tests/src/5-modular-source.cpp#L239
call to non-‘constexpr’ function ‘auto kangaru::make_modular_source(Source) [with Sources = {kangaru::reference_source<service_2_a>, kangaru::reference_source<service_2_b>}; Source = kangaru::composed_source<kangaru::source_reference_wrapper<kangaru::modular_source<kangaru::composed_source<kangaru::source_reference_wrapper<kangaru::modular_source<kangaru::none_source, module0()::<lambda()> > > >, kangaru::constructor_function<kangaru::object_source<service_1_a> >, kangaru::constructor_function<kangaru::reference_source<service_1_b> > > >, kangaru::source_reference_wrapper<kangaru::modular_source<kangaru::none_source, module0()::<lambda()> > > >]’
|
|
GCC 11 Linux:
tests/src/5-modular-source.cpp#L232
call to non-‘constexpr’ function ‘auto kangaru::make_modular_source(Source) [with Sources = {kangaru::object_source<service_1_a>, kangaru::reference_source<service_1_b>}; Source = kangaru::composed_source<kangaru::source_reference_wrapper<kangaru::modular_source<kangaru::none_source, module0()::<lambda()> > > >]’
|
|
GCC 11 Linux:
include/kangaru/detail/heap_storage.hpp#L198
passing ‘const kangaru::basic_heap_storage<std::vector<kangaru::runtime_dynamic_storage>, kangaru::default_allocator>’ as ‘this’ argument discards qualifiers [-fpermissive]
|
|
GCC 11 Linux:
include/kangaru/detail/recursive_source.hpp#L357
no matching function for call to ‘kangaru::basic_exhaustive_constructor<kangaru::make_spread_injector_function>::operator()<kangaru::reference_source<service_a> >(kangaru::source_forwarding_reference_wrapper<const increment_source&>) const’
|
|
GCC 11 Linux:
include/kangaru/detail/cache.hpp#L159
no matching function for call to ‘std::unordered_map<long unsigned int, void*>::insert(std::pair<kangaru::detail::ctti::type_id_for_result<kangaru::reference_source<service_a>*>, kangaru::reference_source<service_a>*>) const’
|
|
GCC 11 Linux:
include/kangaru/detail/heap_storage.hpp#L198
passing ‘const kangaru::basic_heap_storage<std::vector<kangaru::runtime_dynamic_storage>, kangaru::default_allocator>’ as ‘this’ argument discards qualifiers [-fpermissive]
|
|
GCC 11 Linux:
include/kangaru/detail/recursive_source.hpp#L357
no matching function for call to ‘kangaru::basic_exhaustive_constructor<kangaru::make_spread_injector_function>::operator()<kangaru::reference_source<service_a> >(kangaru::source_forwarding_reference_wrapper<const increment_source&&>) const’
|
|
GCC 11 Linux:
include/kangaru/detail/cache.hpp#L159
no matching function for call to ‘std::unordered_map<long unsigned int, void*>::insert(std::pair<kangaru::detail::ctti::type_id_for_result<kangaru::reference_source<service_a>*>, kangaru::reference_source<service_a>*>) const’
|
|
MSVC Windows
run-cmake action execution failed: 'Error: "'D:\a\_temp\-165898502\cmake-4.1.2-windows-x86_64\bin\cmake.exe' failed with error code: '2'.'
|
|
MSVC Windows:
tests/src/5-modular-source.cpp#L234
constexpr function 'module2' cannot result in a constant expression
|
|
MSVC Windows:
tests/src/5-modular-source.cpp#L227
constexpr function 'module1' cannot result in a constant expression
|
|
MSVC Windows:
tests/src/5-modules.cpp#L1
Possible incompatible environment while importing module 'kangaru': _UTF8 is defined in current command line and not in module command line
|
|
GCC 15 Linux:
tests/src/5-modular-source.cpp#L238
call to non-‘constexpr’ function ‘auto kangaru::make_modular_source(Source) [with Sources = {reference_source<service_2_a>, reference_source<service_2_b>}; Source = composed_source<source_reference_wrapper<modular_source<composed_source<source_reference_wrapper<modular_source<none_source, module0()::<lambda()> > > >, constructor_function<object_source<service_1_a> >, constructor_function<reference_source<service_1_b> > > >, source_reference_wrapper<modular_source<none_source, module0()::<lambda()> > > >]’ [-Winvalid-constexpr]
|
|
GCC 15 Linux:
tests/src/5-modular-source.cpp#L231
call to non-‘constexpr’ function ‘auto kangaru::make_modular_source(Source) [with Sources = {object_source<service_1_a>, reference_source<service_1_b>}; Source = composed_source<source_reference_wrapper<modular_source<none_source, module0()::<lambda()> > > >]’ [-Winvalid-constexpr]
|
|
GCC 14 Linux:
tests/src/5-modular-source.cpp#L238
call to non-‘constexpr’ function ‘auto kangaru::make_modular_source(Source) [with Sources = {reference_source<service_2_a>, reference_source<service_2_b>}; Source = composed_source<source_reference_wrapper<modular_source<composed_source<source_reference_wrapper<modular_source<none_source, module0()::<lambda()> > > >, constructor_function<object_source<service_1_a> >, constructor_function<reference_source<service_1_b> > > >, source_reference_wrapper<modular_source<none_source, module0()::<lambda()> > > >]’ [-Winvalid-constexpr]
|
|
GCC 14 Linux:
tests/src/5-modular-source.cpp#L231
call to non-‘constexpr’ function ‘auto kangaru::make_modular_source(Source) [with Sources = {object_source<service_1_a>, reference_source<service_1_b>}; Source = composed_source<source_reference_wrapper<modular_source<none_source, module0()::<lambda()> > > >]’ [-Winvalid-constexpr]
|
|
GCC 13 Linux:
tests/src/5-modular-source.cpp#L239
call to non-‘constexpr’ function ‘auto kangaru::make_modular_source(Source) [with Sources = {reference_source<service_2_a>, reference_source<service_2_b>}; Source = composed_source<source_reference_wrapper<modular_source<composed_source<source_reference_wrapper<modular_source<none_source, module0()::<lambda()> > > >, constructor_function<object_source<service_1_a> >, constructor_function<reference_source<service_1_b> > > >, source_reference_wrapper<modular_source<none_source, module0()::<lambda()> > > >]’ [-Winvalid-constexpr]
|
|
GCC 13 Linux:
tests/src/5-modular-source.cpp#L232
call to non-‘constexpr’ function ‘auto kangaru::make_modular_source(Source) [with Sources = {object_source<service_1_a>, reference_source<service_1_b>}; Source = composed_source<source_reference_wrapper<modular_source<none_source, module0()::<lambda()> > > >]’ [-Winvalid-constexpr]
|