Skip to content

Build fails: error: a template argument list is expected after a name prefixed by the template keyword #381

@yurivict

Description

@yurivict
[  4% 10/84] /usr/local/libexec/ccache/c++ -DPROXSUITE_VECTORIZE -I/usr/ports/math/py-proxsuite/work-py311/.build -I/usr/ports/math/py-proxsuite/work-py311/.build/include -I/usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/include -I/usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/test/./include -isystem /usr/local/include/eigen3 -isystem /usr/local/include -pedantic -Wno-long-long -Wall -Wextra -Wcast-align -Wcast-qual -Wformat -Wwrite-strings -Wconversion -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG -std=gnu++17 -MD -MT test/CMakeFiles/proxsuite-test-util.dir/src/util_f64.cpp.o -MF test/CMakeFiles/proxsuite-test-util.dir/src/util_f64.cpp.o.d -o test/CMakeFiles/proxsuite-test-util.dir/src/util_f64.cpp.o -c /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/test/src/util_f64.cpp
FAILED: test/CMakeFiles/proxsuite-test-util.dir/src/util_f64.cpp.o 
/usr/local/libexec/ccache/c++ -DPROXSUITE_VECTORIZE -I/usr/ports/math/py-proxsuite/work-py311/.build -I/usr/ports/math/py-proxsuite/work-py311/.build/include -I/usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/include -I/usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/test/./include -isystem /usr/local/include/eigen3 -isystem /usr/local/include -pedantic -Wno-long-long -Wall -Wextra -Wcast-align -Wcast-qual -Wformat -Wwrite-strings -Wconversion -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG -std=gnu++17 -MD -MT test/CMakeFiles/proxsuite-test-util.dir/src/util_f64.cpp.o -MF test/CMakeFiles/proxsuite-test-util.dir/src/util_f64.cpp.o.d -o test/CMakeFiles/proxsuite-test-util.dir/src/util_f64.cpp.o -c /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/test/src/util_f64.cpp
In file included from /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/test/src/util_f64.cpp:1:
In file included from /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/test/./include/util_f64.hpp:3:
In file included from /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/include/proxsuite/proxqp/utils/random_qp_problems.hpp:10:
In file included from /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/include/proxsuite/proxqp/dense/views.hpp:10:
In file included from /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/include/proxsuite/linalg/veg/type_traits/core.hpp:5:
In file included from /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/include/proxsuite/linalg/veg/internal/integer_seq.hpp:5:
/usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/include/proxsuite/linalg/veg/internal/macros.hpp:1096:1: warning: user-defined literal suffixes containing '__' are reserved; no literal will invoke this operator [-Wuser-defined-literals]
 1096 | operator""__veglib_const_literal_gnuc() noexcept // NOLINT
      | ^
In file included from /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/test/src/util_f64.cpp:1:
In file included from /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/test/./include/util_f64.hpp:3:
In file included from /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/include/proxsuite/proxqp/utils/random_qp_problems.hpp:11:
In file included from /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/include/proxsuite/proxqp/dense/model.hpp:11:
In file included from /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/include/proxsuite/proxqp/sparse/model.hpp:9:
In file included from /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/include/proxsuite/linalg/sparse/core.hpp:8:
In file included from /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/include/proxsuite/linalg/veg/slice.hpp:7:
/usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/include/proxsuite/linalg/veg/tuple.hpp:762:26: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
  762 |     return cat::template from_ref_to_result(
      |                          ^
1 warning and 1 error generated.
[  5% 10/84] /usr/local/libexec/ccache/c++ -DPROXSUITE_VECTORIZE -I/usr/ports/math/py-proxsuite/work-py311/.build -I/usr/ports/math/py-proxsuite/work-py311/.build/include -I/usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/include -I/usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/test/./include -isystem /usr/local/include/eigen3 -isystem /usr/local/include -pedantic -Wno-long-long -Wall -Wextra -Wcast-align -Wcast-qual -Wformat -Wwrite-strings -Wconversion -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG -std=gnu++17 -MD -MT test/CMakeFiles/proxsuite-test-util.dir/src/util_f32.cpp.o -MF test/CMakeFiles/proxsuite-test-util.dir/src/util_f32.cpp.o.d -o test/CMakeFiles/proxsuite-test-util.dir/src/util_f32.cpp.o -c /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/test/src/util_f32.cpp
FAILED: test/CMakeFiles/proxsuite-test-util.dir/src/util_f32.cpp.o 
/usr/local/libexec/ccache/c++ -DPROXSUITE_VECTORIZE -I/usr/ports/math/py-proxsuite/work-py311/.build -I/usr/ports/math/py-proxsuite/work-py311/.build/include -I/usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/include -I/usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/test/./include -isystem /usr/local/include/eigen3 -isystem /usr/local/include -pedantic -Wno-long-long -Wall -Wextra -Wcast-align -Wcast-qual -Wformat -Wwrite-strings -Wconversion -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG -std=gnu++17 -MD -MT test/CMakeFiles/proxsuite-test-util.dir/src/util_f32.cpp.o -MF test/CMakeFiles/proxsuite-test-util.dir/src/util_f32.cpp.o.d -o test/CMakeFiles/proxsuite-test-util.dir/src/util_f32.cpp.o -c /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/test/src/util_f32.cpp
In file included from /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/test/src/util_f32.cpp:1:
In file included from /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/test/./include/util_f64.hpp:3:
In file included from /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/include/proxsuite/proxqp/utils/random_qp_problems.hpp:10:
In file included from /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/include/proxsuite/proxqp/dense/views.hpp:10:
In file included from /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/include/proxsuite/linalg/veg/type_traits/core.hpp:5:
In file included from /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/include/proxsuite/linalg/veg/internal/integer_seq.hpp:5:
/usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/include/proxsuite/linalg/veg/internal/macros.hpp:1096:1: warning: user-defined literal suffixes containing '__' are reserved; no literal will invoke this operator [-Wuser-defined-literals]
 1096 | operator""__veglib_const_literal_gnuc() noexcept // NOLINT
      | ^
In file included from /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/test/src/util_f32.cpp:1:
In file included from /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/test/./include/util_f64.hpp:3:
In file included from /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/include/proxsuite/proxqp/utils/random_qp_problems.hpp:11:
In file included from /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/include/proxsuite/proxqp/dense/model.hpp:11:
In file included from /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/include/proxsuite/proxqp/sparse/model.hpp:9:
In file included from /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/include/proxsuite/linalg/sparse/core.hpp:8:
In file included from /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/include/proxsuite/linalg/veg/slice.hpp:7:
/usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/include/proxsuite/linalg/veg/tuple.hpp:762:26: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
  762 |     return cat::template from_ref_to_result(
      |                          ^
1 warning and 1 error generated.
[  7% 10/84] /usr/local/libexec/ccache/c++ -DPROBLEM_PATH=\"/usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/test\" -DPROXSUITE_VECTORIZE -I/usr/ports/math/py-proxsuite/work-py311/.build -I/usr/ports/math/py-proxsuite/work-py311/.build/include -I/usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/include -I/usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/test/./doctest -I/usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/test/./include -isystem /usr/local/include/eigen3 -isystem /usr/local/include -pedantic -Wno-long-long -Wall -Wextra -Wcast-align -Wcast-qual -Wformat -Wwrite-strings -Wconversion -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG -std=gnu++17 -MD -MT test/CMakeFiles/proxsuite-test-cpp-dense_ruiz_equilibration.dir/src/dense_ruiz_equilibration.cpp.o -MF test/CMakeFiles/proxsuite-test-cpp-dense_ruiz_equilibration.dir/src/dense_ruiz_equilibration.cpp.o.d -o test/CMakeFiles/proxsuite-test-cpp-dense_ruiz_equilibration.dir/src/dense_ruiz_equilibration.cpp.o -c /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/test/src/dense_ruiz_equilibration.cpp
FAILED: test/CMakeFiles/proxsuite-test-cpp-dense_ruiz_equilibration.dir/src/dense_ruiz_equilibration.cpp.o 
/usr/local/libexec/ccache/c++ -DPROBLEM_PATH=\"/usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/test\" -DPROXSUITE_VECTORIZE -I/usr/ports/math/py-proxsuite/work-py311/.build -I/usr/ports/math/py-proxsuite/work-py311/.build/include -I/usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/include -I/usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/test/./doctest -I/usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/test/./include -isystem /usr/local/include/eigen3 -isystem /usr/local/include -pedantic -Wno-long-long -Wall -Wextra -Wcast-align -Wcast-qual -Wformat -Wwrite-strings -Wconversion -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG -std=gnu++17 -MD -MT test/CMakeFiles/proxsuite-test-cpp-dense_ruiz_equilibration.dir/src/dense_ruiz_equilibration.cpp.o -MF test/CMakeFiles/proxsuite-test-cpp-dense_ruiz_equilibration.dir/src/dense_ruiz_equilibration.cpp.o.d -o test/CMakeFiles/proxsuite-test-cpp-dense_ruiz_equilibration.dir/src/dense_ruiz_equilibration.cpp.o -c /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/test/src/dense_ruiz_equilibration.cpp
In file included from /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/test/src/dense_ruiz_equilibration.cpp:8:
In file included from /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/include/proxsuite/proxqp/dense/dense.hpp:8:
In file included from /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/include/proxsuite/proxqp/dense/wrapper.hpp:10:
In file included from /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/include/proxsuite/proxqp/sparse/wrapper.hpp:10:
In file included from /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/include/proxsuite/proxqp/results.hpp:12:
In file included from /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/include/proxsuite/linalg/veg/type_traits/core.hpp:5:
In file included from /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/include/proxsuite/linalg/veg/internal/integer_seq.hpp:5:
/usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/include/proxsuite/linalg/veg/internal/macros.hpp:1096:1: warning: user-defined literal suffixes containing '__' are reserved; no literal will invoke this operator [-Wuser-defined-literals]
 1096 | operator""__veglib_const_literal_gnuc() noexcept // NOLINT
      | ^
In file included from /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/test/src/dense_ruiz_equilibration.cpp:8:
In file included from /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/include/proxsuite/proxqp/dense/dense.hpp:8:
In file included from /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/include/proxsuite/proxqp/dense/wrapper.hpp:10:
In file included from /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/include/proxsuite/proxqp/sparse/wrapper.hpp:10:
In file included from /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/include/proxsuite/proxqp/results.hpp:13:
In file included from /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/include/proxsuite/linalg/veg/vec.hpp:8:
In file included from /usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/include/proxsuite/linalg/veg/slice.hpp:7:
/usr/ports/math/py-proxsuite/work-py311/proxsuite-0.7.1/include/proxsuite/linalg/veg/tuple.hpp:762:26: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
  762 |     return cat::template from_ref_to_result(
      |                          ^
1 warning and 1 error generated.

Version: 0.7.1
Python-3.11
clang-19
FreeBSD 14.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions