Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gcc14 compile fails immediately #1837

Open
VictorEijkhout opened this issue Oct 1, 2024 · 0 comments
Open

gcc14 compile fails immediately #1837

VictorEijkhout opened this issue Oct 1, 2024 · 0 comments

Comments

@VictorEijkhout
Copy link

[  0%] Building CXX object test/CMakeFiles/range.v3.constexpr_core.dir/constexpr_core.cpp.o
cd /work/00434/eijkhout/rangev3/build-0.12.0-vista-gcc14/test && /opt/apps/gcc/14.2.0/bin/g++  -I/work/00434/eijkhout/rangev3/rangev3-0.12.0/include -O3 -DNDEBUG -fno-diagnostics-color -std=c++14 -Wall -Wextra -Werror -fdiagnostics-show-template-tree -ftemplate-backtrace-limit=0 -fomit-frame-pointer -Ofast -fstrict-aliasing -ffast-math -fsized-deallocation -march=native -mtune=native -DRANGES_CXX_ALIGNED_NEW=0 -fconcepts -pedantic -pedantic-errors -Wno-padded -Wno-old-style-cast -Wno-noexcept-type -MD -MT test/CMakeFiles/range.v3.constexpr_core.dir/constexpr_core.cpp.o -MF CMakeFiles/range.v3.constexpr_core.dir/constexpr_core.cpp.o.d -o CMakeFiles/range.v3.constexpr_core.dir/constexpr_core.cpp.o -c /work/00434/eijkhout/rangev3/rangev3-0.12.0/test/constexpr_core.cpp
In file included from /work/00434/eijkhout/rangev3/rangev3-0.12.0/include/meta/meta_fwd.hpp:18,
                 from /work/00434/eijkhout/rangev3/rangev3-0.12.0/include/range/v3/detail/config.hpp:67,
                 from /work/00434/eijkhout/rangev3/rangev3-0.12.0/test/config.cpp:12:
/opt/apps/gcc/14.2.0/include/c++/14.2.0/type_traits:2575:12: error: template parameters not deducible in partial specialization:
 2575 |     struct __result_of_memobj<_Res _Class::*, _Arg>
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/apps/gcc/14.2.0/include/c++/14.2.0/type_traits:2575:12: note:         ‘_Class’
/opt/apps/gcc/14.2.0/include/c++/14.2.0/type_traits:2590:12: error: template parameters not deducible in partial specialization:
 2590 |     struct __result_of_memfun<_Res _Class::*, _Arg, _Args...>
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/apps/gcc/14.2.0/include/c++/14.2.0/type_traits:2590:12: note:         ‘_Class’
/work/00434/eijkhout/rangev3/rangev3-0.12.0/include/meta/meta_fwd.hpp:351:40: error: expected type-name before ‘invocable’
  351 |         template <META_TYPE_CONSTRAINT(invocable) F, typename L>
      |                                        ^~~~~~~~~
/work/00434/eijkhout/rangev3/rangev3-0.12.0/include/meta/meta_fwd.hpp:155:35: note: in definition of macro ‘META_TYPE_CONSTRAINT’
  155 | #define META_TYPE_CONSTRAINT(...) __VA_ARGS__
      |                                   ^~~~~~~~~~~
/work/00434/eijkhout/rangev3/rangev3-0.12.0/include/meta/meta_fwd.hpp:351:40: error: ISO C++ forbids declaration of ‘invocable’ with no type [-fpermissive]
  351 |         template <META_TYPE_CONSTRAINT(invocable) F, typename L>
      |                                        ^~~~~~~~~
/work/00434/eijkhout/rangev3/rangev3-0.12.0/include/meta/meta_fwd.hpp:155:35: note: in definition of macro ‘META_TYPE_CONSTRAINT’
  155 | #define META_TYPE_CONSTRAINT(...) __VA_ARGS__
      |                                   ^~~~~~~~~~~
/work/00434/eijkhout/rangev3/rangev3-0.12.0/include/meta/meta_fwd.hpp:351:51: error: expected ‘>’ before ‘F’
  351 |         template <META_TYPE_CONSTRAINT(invocable) F, typename L>
      |                                                   ^
make[3]: *** [test/CMakeFiles/range.v3.config.dir/build.make:79: test/CMakeFiles/range.v3.config.dir/config.cpp.o] Error 1
make[2]: *** [CMakeFiles/Makefile2:1617: test/CMakeFiles/range.v3.config.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant