-
-
Save antonmry/0874b3d2f4594a9b3fc917cd4cc0d78d to your computer and use it in GitHub Desktop.
Allen Compilation Error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[allenuser@1e57ed4f5960 build]$ cmake -DSTANDALONE=ON .. | |
-- CMAKE_BUILD_TYPE: RelWithDebInfo | |
-- Separable compilation: ON | |
-- CPU_ARCH: native | |
-- Memory manager: SINGLE_ALLOC | |
-- Synchronous device execution: OFF | |
-- Contracts: OFF | |
-- Magfield use texture: OFF | |
-- Allen device target: CPU | |
-- Could NOT find FFI (missing: FFI_LIBRARIES HAVE_FFI_CALL) | |
-- Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR) | |
-- Found libclang at /usr/lib64 | |
-- Found ROOT: /usr/include/root | |
-- Found TBB version 2020.3 | |
-- Allen will be built using C++17 standard. | |
-- Detected CPU architecture: x86_64 | |
-- Using cindex: /usr/local/lib/python3.9/site-packages/clang/cindex.py | |
-- Set project source dir to: ../../../ | |
-- LHCBROOT set to /workspace/Allen/build/external/LHCb | |
-- GAUDIROOT set to /workspace/Allen/build/external/Gaudi | |
-- CMAKE CXX FLAGS: -Wall -Wextra -Wpedantic -Wnon-virtual-dtor -Wdouble-promotion -Wno-maybe-uninitialized -march=native | |
-- PARAMFILESROOT set to /workspace/Allen/build/external/ParamFiles | |
-- Configuring done (0.3s) | |
-- Generating done (0.1s) | |
-- Build files have been written to: /workspace/Allen/build | |
[allenuser@1e57ed4f5960 build]$ make | |
[ 0%] Built target checkout_gaudi | |
[ 0%] Checking out LHCb project from the LHCb stack | |
Cloning into '/workspace/Allen/build/external/LHCb'... | |
remote: Enumerating objects: 290781, done. | |
remote: Counting objects: 100% (1410/1410), done. | |
remote: Compressing objects: 100% (406/406), done. | |
remote: Total 290781 (delta 1085), reused 1227 (delta 962), pack-reused 289371 (from 1) | |
Receiving objects: 100% (290781/290781), 103.71 MiB | 24.85 MiB/s, done. | |
Resolving deltas: 100% (198912/198912), done. | |
[ 0%] Built target checkout_lhcb | |
[ 0%] Building CXX object stream/CMakeFiles/LHCbEvent.dir/__/external/LHCb/Event/DAQEvent/src/RawBank.cpp.o | |
In file included from /workspace/Allen/build/external/LHCb/Event/DAQEvent/include/Event/RawBank.h:14, | |
from /workspace/Allen/build/external/LHCb/Event/DAQEvent/src/RawBank.cpp:11: | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/StatusCode.h:108:15: error: ‘is_StatusCode_enum<T>::value’ is not a type | |
108 | requires( is_StatusCode_enum<T>::value ) | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/StatusCode.h:109:3: error: expected constructor, destructor, or type conversion before ‘StatusCode’ | |
109 | StatusCode( T sc ) noexcept : StatusCode{ static_cast<StatusCode::code_t>( sc ), is_StatusCode_enum<T>::instance } {} | |
| ^~~~~~~~~~ | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/StatusCode.h:109:118: error: expected unqualified-id before ‘{’ token | |
109 | StatusCode( T sc ) noexcept : StatusCode{ static_cast<StatusCode::code_t>( sc ), is_StatusCode_enum<T>::instance } {} | |
| ^ | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/StatusCode.h:268:31: error: ‘std::invocable’ has not been declared | |
268 | template <typename... ARGS, std::invocable<ARGS...> F> // requires ( std::is_invocable_v<F, ARGS...> ) | |
| ^~~ | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/StatusCode.h:268:45: error: expected ‘>’ before ‘<’ token | |
268 | template <typename... ARGS, std::invocable<ARGS...> F> // requires ( std::is_invocable_v<F, ARGS...> ) | |
| ^ | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/StatusCode.h:269:24: error: ‘F’ has not been declared | |
269 | StatusCode i_invoke( F&& f, ARGS&&... args ) const { | |
| ^ | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/StatusCode.h: In member function ‘StatusCode StatusCode::i_invoke(int&&, ARGS&& ...) const’: | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/StatusCode.h:270:54: error: ‘F’ was not declared in this scope | |
270 | if constexpr ( std::is_invocable_r_v<StatusCode, F, ARGS...> ) { | |
| ^ | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/StatusCode.h:271:42: error: no matching function for call to ‘forward<F>(int&)’ | |
271 | return std::invoke( std::forward<F>( f ), std::forward<ARGS>( args )... ); | |
| ~~~~~~~~~~~~~~~^~~~~ | |
In file included from /usr/include/c++/11/bits/stl_function.h:60, | |
from /usr/include/c++/11/functional:49, | |
from /workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/StatusCode.h:14, | |
from /workspace/Allen/build/external/LHCb/Event/DAQEvent/include/Event/RawBank.h:14, | |
from /workspace/Allen/build/external/LHCb/Event/DAQEvent/src/RawBank.cpp:11: | |
/usr/include/c++/11/bits/move.h:77:5: note: candidate: ‘template<class _Tp> constexpr _Tp&& std::forward(typename std::remove_reference<_Tp>::type&)’ | |
77 | forward(typename std::remove_reference<_Tp>::type& __t) noexcept | |
| ^~~~~~~ | |
/usr/include/c++/11/bits/move.h:77:5: note: template argument deduction/substitution failed: | |
/usr/include/c++/11/bits/move.h:89:5: note: candidate: ‘template<class _Tp> constexpr _Tp&& std::forward(typename std::remove_reference<_Tp>::type&&)’ | |
89 | forward(typename std::remove_reference<_Tp>::type&& __t) noexcept | |
| ^~~~~~~ | |
/usr/include/c++/11/bits/move.h:89:5: note: template argument deduction/substitution failed: | |
In file included from /workspace/Allen/build/external/LHCb/Event/DAQEvent/include/Event/RawBank.h:14, | |
from /workspace/Allen/build/external/LHCb/Event/DAQEvent/src/RawBank.cpp:11: | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/StatusCode.h:274:35: error: no matching function for call to ‘forward<F>(int&)’ | |
274 | std::invoke( std::forward<F>( f ), std::forward<ARGS>( args )... ); | |
| ~~~~~~~~~~~~~~~^~~~~ | |
In file included from /usr/include/c++/11/bits/stl_function.h:60, | |
from /usr/include/c++/11/functional:49, | |
from /workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/StatusCode.h:14, | |
from /workspace/Allen/build/external/LHCb/Event/DAQEvent/include/Event/RawBank.h:14, | |
from /workspace/Allen/build/external/LHCb/Event/DAQEvent/src/RawBank.cpp:11: | |
/usr/include/c++/11/bits/move.h:77:5: note: candidate: ‘template<class _Tp> constexpr _Tp&& std::forward(typename std::remove_reference<_Tp>::type&)’ | |
77 | forward(typename std::remove_reference<_Tp>::type& __t) noexcept | |
| ^~~~~~~ | |
/usr/include/c++/11/bits/move.h:77:5: note: template argument deduction/substitution failed: | |
/usr/include/c++/11/bits/move.h:89:5: note: candidate: ‘template<class _Tp> constexpr _Tp&& std::forward(typename std::remove_reference<_Tp>::type&&)’ | |
89 | forward(typename std::remove_reference<_Tp>::type&& __t) noexcept | |
| ^~~~~~~ | |
/usr/include/c++/11/bits/move.h:89:5: note: template argument deduction/substitution failed: | |
In file included from /workspace/Allen/build/external/LHCb/Event/DAQEvent/include/Event/RawBank.h:15, | |
from /workspace/Allen/build/external/LHCb/Event/DAQEvent/src/RawBank.cpp:11: | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h: At global scope: | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:80:16: error: ‘bind_front’ has not been declared in ‘std’ | |
80 | using std::bind_front; | |
| ^~~~~~~~~~ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:81:16: error: ‘source_location’ has not been declared in ‘std’ | |
81 | using std::source_location; | |
| ^~~~~~~~~~~~~~~ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:89:13: error: ‘std::contiguous_iterator’ has not been declared | |
89 | template <std::contiguous_iterator Iterator, std::sized_sentinel_for<Iterator> Sentinel> | |
| ^~~ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:89:48: error: ‘std::sized_sentinel_for’ has not been declared | |
89 | template <std::contiguous_iterator Iterator, std::sized_sentinel_for<Iterator> Sentinel> | |
| ^~~ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:89:71: error: expected ‘>’ before ‘<’ token | |
89 | template <std::contiguous_iterator Iterator, std::sized_sentinel_for<Iterator> Sentinel> | |
| ^ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:90:43: warning: ‘nodiscard’ attribute can only be applied to functions or to class or enumeration types [-Wattributes] | |
90 | [[nodiscard]] constexpr auto make_span( Iterator firstElem, Sentinel lastElem ) { | |
| ^~~~~~~~ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:90:43: error: no default argument for ‘<anonymous>’ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:90:43: error: ‘template<<declaration error>, <typeprefixerror><anonymous> > constexpr const auto LHCb::make_span’ conflicts with a previous declaration | |
In file included from /workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:71, | |
from /workspace/Allen/build/external/LHCb/Event/DAQEvent/include/Event/RawBank.h:15, | |
from /workspace/Allen/build/external/LHCb/Event/DAQEvent/src/RawBank.cpp:11: | |
/usr/local/include/gsl/span_ext:82:29: note: previous declaration ‘namespace gsl { }::make_span’ | |
82 | constexpr span<ElementType> make_span(ElementType* ptr, typename span<ElementType>::size_type count) | |
| ^~~~~~~~~ | |
In file included from /workspace/Allen/build/external/LHCb/Event/DAQEvent/include/Event/RawBank.h:15, | |
from /workspace/Allen/build/external/LHCb/Event/DAQEvent/src/RawBank.cpp:11: | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:90:43: error: ‘Iterator’ was not declared in this scope | |
90 | [[nodiscard]] constexpr auto make_span( Iterator firstElem, Sentinel lastElem ) { | |
| ^~~~~~~~ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:90:63: error: ‘Sentinel’ was not declared in this scope | |
90 | [[nodiscard]] constexpr auto make_span( Iterator firstElem, Sentinel lastElem ) { | |
| ^~~~~~~~ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:90:81: error: expression list treated as compound expression in initializer [-fpermissive] | |
90 | [[nodiscard]] constexpr auto make_span( Iterator firstElem, Sentinel lastElem ) { | |
| ^ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:90:82: error: expected ‘;’ before ‘{’ token | |
90 | [[nodiscard]] constexpr auto make_span( Iterator firstElem, Sentinel lastElem ) { | |
| ^~ | |
| ; | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h: In function ‘constexpr auto LHCb::make_span(gsl::details::span_iterator<ElementType>, gsl::details::span_iterator<ElementType>)’: | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:105:52: error: ‘std::ranges’ has not been declared | |
105 | return make_span( firstElem.operator->(), std::ranges::distance( firstElem, lastElem ) ); | |
| ^~~~~~ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h: At global scope: | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:110:40: error: ‘std::ranges’ has not been declared | |
110 | template <typename Container, std::ranges::range R> | |
| ^~~~~~ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:110:54: error: expected ‘>’ before ‘R’ | |
110 | template <typename Container, std::ranges::range R> | |
| ^ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:111:15: error: expected constructor, destructor, or type conversion before ‘(’ token | |
111 | requires( std::convertible_to<std::ranges::range_value_t<R>, typename Container::value_type> ) | |
| ^ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:116:63: error: ‘std::ranges’ has not been declared | |
116 | template <template <typename...> typename Container, std::ranges::range R> | |
| ^~~~~~ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:116:77: error: expected ‘>’ before ‘R’ | |
116 | template <template <typename...> typename Container, std::ranges::range R> | |
| ^ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:117:14: error: ‘R’ was not declared in this scope | |
117 | auto to( R&& r ) { | |
| ^ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:117:18: error: ‘r’ was not declared in this scope | |
117 | auto to( R&& r ) { | |
| ^ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:117:21: error: expected ‘;’ before ‘{’ token | |
117 | auto to( R&& r ) { | |
| ^~ | |
| ; | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:142:19: error: expected identifier before ‘!’ token | |
142 | requires( !std::same_as<std::remove_cvref_t<U>, single> && std::constructible_from<T, U> ) | |
| ^ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:142:19: error: expected ‘,’ or ‘...’ before ‘!’ token | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:143:7: error: expected constructor, destructor, or type conversion before ‘constexpr’ | |
143 | constexpr single( U&& u ) : m_data( std::forward<U>( u ) ) {} | |
| ^~~~~~~~~ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:147:9: error: ‘requires’ does not name a type | |
147 | requires std::constructible_from<T, Args...> | |
| ^~~~~~~~ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:147:9: note: ‘requires’ only available with ‘-std=c++20’ or ‘-fconcepts’ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:178:36: error: ‘std::ranges’ has not been declared | |
178 | class chunk_view : public std::ranges::view_interface<chunk_view<ValueType>> { | |
| ^~~~~~ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:178:44: error: expected ‘{’ before ‘view_interface’ | |
178 | class chunk_view : public std::ranges::view_interface<chunk_view<ValueType>> { | |
| ^~~~~~~~~~~~~~ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:226:20: error: ‘std::ranges’ has not been declared | |
226 | template <std::ranges::view V, class Count = std::size_t> | |
| ^~~~~~ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:226:33: error: expected ‘>’ before ‘V’ | |
226 | template <std::ranges::view V, class Count = std::size_t> | |
| ^ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:227:40: error: ‘std::ranges’ has not been declared | |
227 | class enumerate_view : public std::ranges::view_interface<enumerate_view<V, Count>> { | |
| ^~~~~~ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:227:48: error: expected ‘{’ before ‘view_interface’ | |
227 | class enumerate_view : public std::ranges::view_interface<enumerate_view<V, Count>> { | |
| ^~~~~~~~~~~~~~ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:287:20: error: ‘std::ranges’ has not been declared | |
287 | template <std::ranges::viewable_range Iterable, class Count = std::size_t> | |
| ^~~~~~ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:287:43: error: expected ‘>’ before ‘Iterable’ | |
287 | template <std::ranges::viewable_range Iterable, class Count = std::size_t> | |
| ^~~~~~~~ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:288:31: error: ‘Iterable’ was not declared in this scope | |
288 | constexpr auto enumerate( Iterable&& r, Count start = {} ) { | |
| ^~~~~~~~ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:288:42: error: ‘r’ was not declared in this scope | |
288 | constexpr auto enumerate( Iterable&& r, Count start = {} ) { | |
| ^ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:288:45: error: ‘Count’ was not declared in this scope | |
288 | constexpr auto enumerate( Iterable&& r, Count start = {} ) { | |
| ^~~~~ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:288:62: error: expression list treated as compound expression in initializer [-fpermissive] | |
288 | constexpr auto enumerate( Iterable&& r, Count start = {} ) { | |
| ^ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:288:63: error: expected ‘;’ before ‘{’ token | |
288 | constexpr auto enumerate( Iterable&& r, Count start = {} ) { | |
| ^~ | |
| ; | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:326:40: error: ‘std::ranges’ has not been declared | |
326 | template <auto initial_count, std::ranges::viewable_range Iterable> | |
| ^~~~~~ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:326:63: error: expected ‘>’ before ‘Iterable’ | |
326 | template <auto initial_count, std::ranges::viewable_range Iterable> | |
| ^~~~~~~~ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:327:31: error: redeclaration of ‘template<auto initial_count, <declaration error> > constexpr const auto LHCb::range::enumerate’ | |
327 | constexpr auto enumerate( Iterable&& iterable ) { | |
| ^~~~~~~~ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:288:20: note: previous declaration ‘template<<declaration error> > constexpr<typeprefixerror> LHCb::range::enumerate<<expression error> >’ | |
288 | constexpr auto enumerate( Iterable&& r, Count start = {} ) { | |
| ^~~~~~~~~ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:327:31: error: ‘Iterable’ was not declared in this scope | |
327 | constexpr auto enumerate( Iterable&& iterable ) { | |
| ^~~~~~~~ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:327:42: error: ‘iterable’ was not declared in this scope | |
327 | constexpr auto enumerate( Iterable&& iterable ) { | |
| ^~~~~~~~ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:327:52: error: expected ‘;’ before ‘{’ token | |
327 | constexpr auto enumerate( Iterable&& iterable ) { | |
| ^~ | |
| ; | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:331:20: error: ‘std::ranges’ has not been declared | |
331 | template <std::ranges::viewable_range R> | |
| ^~~~~~ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:331:43: error: expected ‘>’ before ‘R’ | |
331 | template <std::ranges::viewable_range R> | |
| ^ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:332:26: error: ‘R’ was not declared in this scope | |
332 | constexpr auto drop( R&& r, size_t n ) { | |
| ^ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:332:30: error: ‘r’ was not declared in this scope | |
332 | constexpr auto drop( R&& r, size_t n ) { | |
| ^ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:332:40: error: expected primary-expression before ‘n’ | |
332 | constexpr auto drop( R&& r, size_t n ) { | |
| ^ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:332:42: error: expression list treated as compound expression in initializer [-fpermissive] | |
332 | constexpr auto drop( R&& r, size_t n ) { | |
| ^ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:332:43: error: expected ‘;’ before ‘{’ token | |
332 | constexpr auto drop( R&& r, size_t n ) { | |
| ^~ | |
| ; | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:336:20: error: ‘std::ranges’ has not been declared | |
336 | template <std::ranges::viewable_range Iterable> | |
| ^~~~~~ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:336:43: error: expected ‘>’ before ‘Iterable’ | |
336 | template <std::ranges::viewable_range Iterable> | |
| ^~~~~~~~ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:337:34: error: ‘Iterable’ was not declared in this scope | |
337 | constexpr auto drop_exactly( Iterable&& iterable, std::ranges::range_difference_t<Iterable> n ) { | |
| ^~~~~~~~ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:337:45: error: ‘iterable’ was not declared in this scope | |
337 | constexpr auto drop_exactly( Iterable&& iterable, std::ranges::range_difference_t<Iterable> n ) { | |
| ^~~~~~~~ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:337:60: error: ‘std::ranges’ has not been declared | |
337 | constexpr auto drop_exactly( Iterable&& iterable, std::ranges::range_difference_t<Iterable> n ) { | |
| ^~~~~~ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:337:87: error: ‘Iterable’ was not declared in this scope | |
337 | constexpr auto drop_exactly( Iterable&& iterable, std::ranges::range_difference_t<Iterable> n ) { | |
| ^~~~~~~~ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:337:97: error: ‘n’ was not declared in this scope | |
337 | constexpr auto drop_exactly( Iterable&& iterable, std::ranges::range_difference_t<Iterable> n ) { | |
| ^ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:337:99: error: expression list treated as compound expression in initializer [-fpermissive] | |
337 | constexpr auto drop_exactly( Iterable&& iterable, std::ranges::range_difference_t<Iterable> n ) { | |
| ^ | |
/workspace/Allen/build/external/LHCb/Kernel/LHCbMath/include/Kernel/STLExtensions.h:337:100: error: expected ‘;’ before ‘{’ token | |
337 | constexpr auto drop_exactly( Iterable&& iterable, std::ranges::range_difference_t<Iterable> n ) { | |
| ^~ | |
| ; | |
In file included from /workspace/Allen/build/external/LHCb/Event/DAQEvent/src/RawBank.cpp:11: | |
/workspace/Allen/build/external/LHCb/Event/DAQEvent/include/Event/RawBank.h:205:27: error: ‘sized_sentinel_for’ is not a member of ‘std’ | |
205 | static_assert( std::sized_sentinel_for<Iterator, Iterator> ); | |
| ^~~~~~~~~~~~~~~~~~ | |
/workspace/Allen/build/external/LHCb/Event/DAQEvent/include/Event/RawBank.h:205:54: error: expected primary-expression before ‘,’ token | |
205 | static_assert( std::sized_sentinel_for<Iterator, Iterator> ); | |
| ^ | |
/workspace/Allen/build/external/LHCb/Event/DAQEvent/include/Event/RawBank.h:205:56: error: expected string-literal before ‘Iterator’ | |
205 | static_assert( std::sized_sentinel_for<Iterator, Iterator> ); | |
| ^~~~~~~~ | |
/workspace/Allen/build/external/LHCb/Event/DAQEvent/include/Event/RawBank.h:205:55: error: expected ‘)’ before ‘Iterator’ | |
205 | static_assert( std::sized_sentinel_for<Iterator, Iterator> ); | |
| ~ ^~~~~~~~~ | |
| ) | |
/workspace/Allen/build/external/LHCb/Event/DAQEvent/include/Event/RawBank.h:206:27: error: ‘equality_comparable’ is not a member of ‘std’ | |
206 | static_assert( std::equality_comparable<Iterator> ); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/workspace/Allen/build/external/LHCb/Event/DAQEvent/include/Event/RawBank.h:206:55: error: expected primary-expression before ‘>’ token | |
206 | static_assert( std::equality_comparable<Iterator> ); | |
| ^ | |
/workspace/Allen/build/external/LHCb/Event/DAQEvent/include/Event/RawBank.h:206:57: error: expected primary-expression before ‘)’ token | |
206 | static_assert( std::equality_comparable<Iterator> ); | |
| ^ | |
/workspace/Allen/build/external/LHCb/Event/DAQEvent/include/Event/RawBank.h:213:25: error: ‘std::ranges’ has not been declared | |
213 | static_assert( std::ranges::bidirectional_range<TypeRange> ); | |
| ^~~~~~ | |
/workspace/Allen/build/external/LHCb/Event/DAQEvent/include/Event/RawBank.h:213:62: error: expected primary-expression before ‘>’ token | |
213 | static_assert( std::ranges::bidirectional_range<TypeRange> ); | |
| ^ | |
/workspace/Allen/build/external/LHCb/Event/DAQEvent/include/Event/RawBank.h:213:64: error: expected primary-expression before ‘)’ token | |
213 | static_assert( std::ranges::bidirectional_range<TypeRange> ); | |
| ^ | |
/workspace/Allen/build/external/LHCb/Event/DAQEvent/include/Event/RawBank.h:214:25: error: ‘std::ranges’ has not been declared | |
214 | static_assert( std::ranges::sized_range<TypeRange> ); | |
| ^~~~~~ | |
/workspace/Allen/build/external/LHCb/Event/DAQEvent/include/Event/RawBank.h:214:54: error: expected primary-expression before ‘>’ token | |
214 | static_assert( std::ranges::sized_range<TypeRange> ); | |
| ^ | |
/workspace/Allen/build/external/LHCb/Event/DAQEvent/include/Event/RawBank.h:214:56: error: expected primary-expression before ‘)’ token | |
214 | static_assert( std::ranges::sized_range<TypeRange> ); | |
| ^ | |
In file included from /workspace/Allen/build/external/Gaudi/GaudiKernel/include/Gaudi/Parsers/Grammars.h:24, | |
from /workspace/Allen/build/external/Gaudi/GaudiKernel/include/Gaudi/Parsers/Factory.h:13, | |
from /workspace/Allen/build/external/LHCb/Event/DAQEvent/src/RawBank.cpp:12: | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/StringKey.h:89:10: error: defaulted ‘bool Gaudi::StringKey::operator==(const Gaudi::StringKey&) const’ only available with ‘-std=c++20’ or ‘-std=gnu++20’ | |
89 | bool operator==( const StringKey& ) const = default; | |
| ^~~~~~~~ | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/StringKey.h:91:10: error: declaration of ‘operator<=’ as non-function | |
91 | auto operator<=>( const StringKey& ) const = default; | |
| ^~~~~~~~ | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/StringKey.h:91:18: error: expected ‘;’ at end of member declaration | |
91 | auto operator<=>( const StringKey& ) const = default; | |
| ^~ | |
| ; | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/StringKey.h:91:20: error: expected unqualified-id before ‘>’ token | |
91 | auto operator<=>( const StringKey& ) const = default; | |
| ^ | |
In file included from /workspace/Allen/build/external/Gaudi/GaudiKernel/include/Gaudi/Parsers/Factory.h:13, | |
from /workspace/Allen/build/external/LHCb/Event/DAQEvent/src/RawBank.cpp:12: | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/Gaudi/Parsers/Grammars.h:138:34: error: ‘std::integral’ has not been declared | |
138 | template <typename Iterator, std::integral T, typename Skipper> | |
| ^~~ | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/Gaudi/Parsers/Grammars.h:139:31: error: ‘T’ was not declared in this scope | |
139 | struct Grammar_<Iterator, T, Skipper> { | |
| ^ | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/Gaudi/Parsers/Grammars.h:139:41: error: template argument 2 is invalid | |
139 | struct Grammar_<Iterator, T, Skipper> { | |
| ^ | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/Gaudi/Parsers/Grammars.h:150:34: error: ‘std::floating_point’ has not been declared | |
150 | template <typename Iterator, std::floating_point T, typename Skipper> | |
| ^~~ | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/Gaudi/Parsers/Grammars.h:151:31: error: ‘T’ was not declared in this scope | |
151 | struct Grammar_<Iterator, T, Skipper> { | |
| ^ | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/Gaudi/Parsers/Grammars.h:151:41: error: template argument 2 is invalid | |
151 | struct Grammar_<Iterator, T, Skipper> { | |
| ^ | |
In file included from /workspace/Allen/build/external/LHCb/Event/DAQEvent/src/RawBank.cpp:12: | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/Gaudi/Parsers/Factory.h: In function ‘StatusCode Gaudi::Parsers::parse_(ResultT&, std::string_view) [with ResultT = std::__cxx11::basic_string<char>; std::string_view = std::basic_string_view<char>]’: | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/Gaudi/Parsers/Factory.h:40:26: error: could not convert ‘StatusCode::SUCCESS’ from ‘const StatusCode::ErrorCode’ to ‘StatusCode’ | |
40 | return StatusCode::SUCCESS; | |
| ^~~~~~~ | |
| | | |
| const StatusCode::ErrorCode | |
In file included from /workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/IInterface.h:13, | |
from /workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/IMessageSvc.h:13, | |
from /workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/MsgStream.h:13, | |
from /workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/GaudiException.h:14, | |
from /workspace/Allen/build/external/LHCb/Event/DAQEvent/src/RawBank.cpp:13: | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/Gaudi/Concepts.h: At global scope: | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/Gaudi/Concepts.h:19:3: error: ‘concept’ does not name a type | |
19 | concept IsInterface = requires { | |
| ^~~~~~~ | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/Gaudi/Concepts.h:19:3: note: ‘concept’ only available with ‘-std=c++20’ or ‘-fconcepts’ | |
In file included from /workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/IMessageSvc.h:13, | |
from /workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/MsgStream.h:13, | |
from /workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/GaudiException.h:14, | |
from /workspace/Allen/build/external/LHCb/Event/DAQEvent/src/RawBank.cpp:13: | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/IInterface.h:236:13: error: ‘Gaudi::IsInterface’ has not been declared | |
236 | template <Gaudi::IsInterface TARGET> | |
| ^~~~~ | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/IInterface.h:237:3: error: ‘TARGET’ does not name a type | |
237 | TARGET* cast() { | |
| ^~~~~~ | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/IInterface.h:254:13: error: ‘Gaudi::IsInterface’ has not been declared | |
254 | template <Gaudi::IsInterface TARGET> | |
| ^~~~~ | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/IInterface.h:255:3: error: ‘TARGET’ does not name a type | |
255 | TARGET const* cast() const { | |
| ^~~~~~ | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/IInterface.h:273:15: error: expected identifier before ‘!’ token | |
273 | requires( !Gaudi::IsInterface<TARGET> ) | |
| ^ | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/IInterface.h:273:15: error: expected ‘,’ or ‘...’ before ‘!’ token | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/IInterface.h:274:3: error: expected constructor, destructor, or type conversion before ‘TARGET’ | |
274 | TARGET* cast() { | |
| ^~~~~~ | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/IInterface.h:279:15: error: expected identifier before ‘!’ token | |
279 | requires( !Gaudi::IsInterface<TARGET> ) | |
| ^ | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/IInterface.h:279:15: error: expected ‘,’ or ‘...’ before ‘!’ token | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/IInterface.h:280:3: error: expected constructor, destructor, or type conversion before ‘TARGET’ | |
280 | TARGET const* cast() const { | |
| ^~~~~~ | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/IInterface.h: In function ‘TARGET* Gaudi::Cast(IInterface*)’: | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/IInterface.h:334:19: error: ‘class IInterface’ has no member named ‘cast’; did you mean ‘i_cast’? | |
334 | return i ? i->cast<TARGET>() : nullptr; | |
| ^~~~ | |
| i_cast | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/IInterface.h:334:30: error: expected primary-expression before ‘>’ token | |
334 | return i ? i->cast<TARGET>() : nullptr; | |
| ^ | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/IInterface.h:334:32: error: expected primary-expression before ‘)’ token | |
334 | return i ? i->cast<TARGET>() : nullptr; | |
| ^ | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/IInterface.h: In function ‘const TARGET* Gaudi::Cast(const IInterface*)’: | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/IInterface.h:339:19: error: ‘const class IInterface’ has no member named ‘cast’; did you mean ‘i_cast’? | |
339 | return i ? i->cast<const TARGET>() : nullptr; | |
| ^~~~ | |
| i_cast | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/IInterface.h:339:24: error: expected primary-expression before ‘const’ | |
339 | return i ? i->cast<const TARGET>() : nullptr; | |
| ^~~~~ | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/IInterface.h:339:24: error: expected ‘:’ before ‘const’ | |
339 | return i ? i->cast<const TARGET>() : nullptr; | |
| ^~~~~ | |
| : | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/IInterface.h:339:24: error: expected primary-expression before ‘const’ | |
339 | return i ? i->cast<const TARGET>() : nullptr; | |
| ^~~~~ | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/IInterface.h:339:24: error: expected ‘;’ before ‘const’ | |
339 | return i ? i->cast<const TARGET>() : nullptr; | |
| ^~~~~ | |
| ; | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/IInterface.h:339:36: error: expected unqualified-id before ‘>’ token | |
339 | return i ? i->cast<const TARGET>() : nullptr; | |
| ^ | |
In file included from /workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/IInterface.h:375, | |
from /workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/IMessageSvc.h:13, | |
from /workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/MsgStream.h:13, | |
from /workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/GaudiException.h:14, | |
from /workspace/Allen/build/external/LHCb/Event/DAQEvent/src/RawBank.cpp:13: | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/extends.h: In member function ‘StatusCode extends<BASE, Interfaces>::queryInterface(const InterfaceID&, void**)’: | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/extends.h:38:35: error: could not convert ‘StatusCode::FAILURE’ from ‘const StatusCode::ErrorCode’ to ‘StatusCode’ | |
38 | if ( !pp ) return StatusCode::FAILURE; | |
| ~~~~~~~~~~~~^~~~~~~ | |
| | | |
| const StatusCode::ErrorCode | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/extends.h:44:24: error: could not convert ‘StatusCode::SUCCESS’ from ‘const StatusCode::ErrorCode’ to ‘StatusCode’ | |
44 | return StatusCode::SUCCESS; | |
| ~~~~~~~~~~~~^~~~~~~ | |
| | | |
| const StatusCode::ErrorCode | |
In file included from /workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/IInterface.h:376, | |
from /workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/IMessageSvc.h:13, | |
from /workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/MsgStream.h:13, | |
from /workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/GaudiException.h:14, | |
from /workspace/Allen/build/external/LHCb/Event/DAQEvent/src/RawBank.cpp:13: | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/implements.h: In member function ‘StatusCode implements<Interfaces>::queryInterface(const InterfaceID&, void**)’: | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/implements.h:31:35: error: could not convert ‘StatusCode::FAILURE’ from ‘const StatusCode::ErrorCode’ to ‘StatusCode’ | |
31 | if ( !pp ) return StatusCode::FAILURE; | |
| ~~~~~~~~~~~~^~~~~~~ | |
| | | |
| const StatusCode::ErrorCode | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/implements.h:33:36: error: could not convert ‘StatusCode::FAILURE’ from ‘const StatusCode::ErrorCode’ to ‘StatusCode’ | |
33 | if ( !*pp ) return StatusCode::FAILURE; /* cast failed */ | |
| ~~~~~~~~~~~~^~~~~~~ | |
| | | |
| const StatusCode::ErrorCode | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/implements.h:35:24: error: could not convert ‘StatusCode::SUCCESS’ from ‘const StatusCode::ErrorCode’ to ‘StatusCode’ | |
35 | return StatusCode::SUCCESS; | |
| ~~~~~~~~~~~~^~~~~~~ | |
| | | |
| const StatusCode::ErrorCode | |
/workspace/Allen/build/external/LHCb/Event/DAQEvent/src/RawBank.cpp: In function ‘StatusCode LHCb::parse(LHCb::RawBank::BankType&, const string&)’: | |
/workspace/Allen/build/external/LHCb/Event/DAQEvent/src/RawBank.cpp:243:31: error: ‘std::ranges’ has not been declared | |
243 | auto i = std::ranges::find( tps, s, toString ); | |
| ^~~~~~ | |
/workspace/Allen/build/external/LHCb/Event/DAQEvent/src/RawBank.cpp:244:46: error: could not convert ‘StatusCode::FAILURE’ from ‘const StatusCode::ErrorCode’ to ‘StatusCode’ | |
244 | if ( i == tps.end() ) return StatusCode::FAILURE; | |
| ^~~~~~~ | |
| | | |
| const StatusCode::ErrorCode | |
/workspace/Allen/build/external/LHCb/Event/DAQEvent/src/RawBank.cpp:246:24: error: could not convert ‘StatusCode::SUCCESS’ from ‘const StatusCode::ErrorCode’ to ‘StatusCode’ | |
246 | return StatusCode::SUCCESS; | |
| ^~~~~~~ | |
| | | |
| const StatusCode::ErrorCode | |
/workspace/Allen/build/external/LHCb/Event/DAQEvent/src/RawBank.cpp: In function ‘StatusCode {anonymous}::convert(const Range&, Inserter)’: | |
/workspace/Allen/build/external/LHCb/Event/DAQEvent/src/RawBank.cpp:259:26: error: could not convert ‘StatusCode::SUCCESS’ from ‘const StatusCode::ErrorCode’ to ‘StatusCode’ | |
259 | return StatusCode::SUCCESS; | |
| ~~~~~~~~~~~~^~~~~~~ | |
| | | |
| const StatusCode::ErrorCode | |
In file included from /workspace/Allen/build/external/LHCb/Event/DAQEvent/include/Event/RawBank.h:14, | |
from /workspace/Allen/build/external/LHCb/Event/DAQEvent/src/RawBank.cpp:11: | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/StatusCode.h: In instantiation of ‘StatusCode StatusCode::andThen(F&&, ARGS&& ...) const [with F = Gaudi::Parsers::parse(std::vector<LHCb::RawBank::BankType>&, const string&)::<lambda()>; ARGS = {}]’: | |
/workspace/Allen/build/external/LHCb/Event/DAQEvent/src/RawBank.cpp:269:35: required from here | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/StatusCode.h:165:20: error: no matching function for call to ‘StatusCode::i_invoke(Gaudi::Parsers::parse(std::vector<LHCb::RawBank::BankType>&, const string&)::<lambda()>) const’ | |
165 | return i_invoke( std::forward<F>( f ), std::forward<ARGS>( args )... ); | |
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/StatusCode.h:269:14: note: candidate: ‘template<class ... ARGS, <typeprefixerror><anonymous> > StatusCode StatusCode::i_invoke(int&&, ARGS&& ...) const’ | |
269 | StatusCode i_invoke( F&& f, ARGS&&... args ) const { | |
| ^~~~~~~~ | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/StatusCode.h:269:14: note: template argument deduction/substitution failed: | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/StatusCode.h:165:20: note: couldn’t deduce template parameter ‘<anonymous>’ | |
165 | return i_invoke( std::forward<F>( f ), std::forward<ARGS>( args )... ); | |
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/StatusCode.h: In instantiation of ‘StatusCode StatusCode::andThen(F&&, ARGS&& ...) const [with F = Gaudi::Parsers::parse(std::set<LHCb::RawBank::BankType>&, const string&)::<lambda()>; ARGS = {}]’: | |
/workspace/Allen/build/external/LHCb/Event/DAQEvent/src/RawBank.cpp:278:35: required from here | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/StatusCode.h:165:20: error: no matching function for call to ‘StatusCode::i_invoke(Gaudi::Parsers::parse(std::set<LHCb::RawBank::BankType>&, const string&)::<lambda()>) const’ | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/StatusCode.h:269:14: note: candidate: ‘template<class ... ARGS, <typeprefixerror><anonymous> > StatusCode StatusCode::i_invoke(int&&, ARGS&& ...) const’ | |
269 | StatusCode i_invoke( F&& f, ARGS&&... args ) const { | |
| ^~~~~~~~ | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/StatusCode.h:269:14: note: template argument deduction/substitution failed: | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/GaudiKernel/StatusCode.h:165:20: note: couldn’t deduce template parameter ‘<anonymous>’ | |
165 | return i_invoke( std::forward<F>( f ), std::forward<ARGS>( args )... ); | |
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /workspace/Allen/build/external/LHCb/Event/DAQEvent/src/RawBank.cpp:12: | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/Gaudi/Parsers/Factory.h: In instantiation of ‘StatusCode Gaudi::Parsers::parse_(ResultT&, std::string_view) [with ResultT = std::vector<std::__cxx11::basic_string<char> >; std::string_view = std::basic_string_view<char>]’: | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/Gaudi/Parsers/Factory.h:44:20: required from ‘StatusCode Gaudi::Parsers::parse(ResultT&, std::string_view) [with ResultT = std::vector<std::__cxx11::basic_string<char> >; std::string_view = std::basic_string_view<char>]’ | |
/workspace/Allen/build/external/LHCb/Event/DAQEvent/src/RawBank.cpp:269:17: required from here | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/Gaudi/Parsers/Factory.h:30:85: error: could not convert ‘((boost::spirit::qi::phrase_parse<const char*, Gaudi::Parsers::VectorGrammar<const char*, std::vector<std::__cxx11::basic_string<char> >, Gaudi::Parsers::SkipperGrammar<const char*> >, Gaudi::Parsers::SkipperGrammar<const char*>, std::vector<std::__cxx11::basic_string<char> > >(iter, end, g, skipper, (* & result)) && (iter == end)) ? StatusCode::SUCCESS : StatusCode::FAILURE)’ from ‘const StatusCode::ErrorCode’ to ‘StatusCode’ | |
30 | return ( qi::phrase_parse( iter, end, g, skipper, result ) && ( iter == end ) ? StatusCode::SUCCESS | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ | |
| | | |
| const StatusCode::ErrorCode | |
31 | : StatusCode::FAILURE ); | |
| ~~~~~~~~~~~~~~~~~~~~~~~ | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/Gaudi/Parsers/Factory.h: In instantiation of ‘StatusCode Gaudi::Parsers::parse_(ResultT&, std::string_view) [with ResultT = std::set<std::__cxx11::basic_string<char> >; std::string_view = std::basic_string_view<char>]’: | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/Gaudi/Parsers/Factory.h:44:20: required from ‘StatusCode Gaudi::Parsers::parse(ResultT&, std::string_view) [with ResultT = std::set<std::__cxx11::basic_string<char> >; std::string_view = std::basic_string_view<char>]’ | |
/workspace/Allen/build/external/LHCb/Event/DAQEvent/src/RawBank.cpp:278:17: required from here | |
/workspace/Allen/build/external/Gaudi/GaudiKernel/include/Gaudi/Parsers/Factory.h:30:85: error: could not convert ‘((boost::spirit::qi::phrase_parse<const char*, Gaudi::Parsers::VectorGrammar<const char*, std::set<std::__cxx11::basic_string<char> >, Gaudi::Parsers::SkipperGrammar<const char*> >, Gaudi::Parsers::SkipperGrammar<const char*>, std::set<std::__cxx11::basic_string<char> > >(iter, end, g, skipper, (* & result)) && (iter == end)) ? StatusCode::SUCCESS : StatusCode::FAILURE)’ from ‘const StatusCode::ErrorCode’ to ‘StatusCode’ | |
30 | return ( qi::phrase_parse( iter, end, g, skipper, result ) && ( iter == end ) ? StatusCode::SUCCESS | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ | |
| | | |
| const StatusCode::ErrorCode | |
31 | : StatusCode::FAILURE ); | |
| ~~~~~~~~~~~~~~~~~~~~~~~ | |
make[2]: *** [stream/CMakeFiles/LHCbEvent.dir/build.make:76: stream/CMakeFiles/LHCbEvent.dir/__/external/LHCb/Event/DAQEvent/src/RawBank.cpp.o] Error 1 | |
make[1]: *** [CMakeFiles/Makefile2:2649: stream/CMakeFiles/LHCbEvent.dir/all] Error 2 | |
make: *** [Makefile:136: all] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment