Tests fail to compile
Summary
Tests fail to compile.
Exact steps to reproduce
Regular build + test.
For developers: Why is this important?
Obvious.
If this is a bug, (1) what happens, and (2) what did you expect to happen?
Relevant input files, logs and/or screenshots
/usr/ports/science/gromacs/work/gromacs-2023.2/src/external/googletest/googlemock/include/gmock/gmock-actions.h:340:5: error: unknown type name 'GTEST_DISALLOW_COPY_AND_ASSIGN_'
GTEST_DISALLOW_COPY_AND_ASSIGN_(FixedValueProducer);
^
/usr/ports/science/gromacs/work/gromacs-2023.2/src/external/googletest/googlemock/include/gmock/gmock-actions.h:351:5: error: unknown type name 'GTEST_DISALLOW_COPY_AND_ASSIGN_'
GTEST_DISALLOW_COPY_AND_ASSIGN_(FactoryValueProducer);
^
/usr/ports/science/gromacs/work/gromacs-2023.2/src/external/googletest/googlemock/include/gmock/gmock-actions.h:425:3: error: unknown type name 'GTEST_DISALLOW_COPY_AND_ASSIGN_'
GTEST_DISALLOW_COPY_AND_ASSIGN_(ActionInterface);
^
/usr/ports/science/gromacs/work/gromacs-2023.2/src/external/googletest/googlemock/include/gmock/gmock-actions.h:685:27: error: expected parameter declarator
GTEST_COMPILE_ASSERT_(!std::is_reference<Result>::value,
^
/usr/ports/science/gromacs/work/gromacs-2023.2/src/external/googletest/googlemock/include/gmock/gmock-actions.h:685:27: error: expected ')'
/usr/ports/science/gromacs/work/gromacs-2023.2/src/external/googletest/googlemock/include/gmock/gmock-actions.h:685:26: note: to match this '('
GTEST_COMPILE_ASSERT_(!std::is_reference<Result>::value,
^
/usr/ports/science/gromacs/work/gromacs-2023.2/src/external/googletest/googlemock/include/gmock/gmock-actions.h:685:5: error: a type specifier is required for all declarations
GTEST_COMPILE_ASSERT_(!std::is_reference<Result>::value,
^
/usr/ports/science/gromacs/work/gromacs-2023.2/src/external/googletest/googlemock/include/gmock/gmock-actions.h:692:5: error: unknown type name 'GTEST_DISALLOW_COPY_AND_ASSIGN_'
GTEST_DISALLOW_COPY_AND_ASSIGN_(Impl);
^
/usr/ports/science/gromacs/work/gromacs-2023.2/src/external/googletest/googlemock/include/gmock/gmock-actions.h:657:9: error: use of undeclared identifier 'use_ReturnRef_instead_of_Return_to_return_a_reference'
use_ReturnRef_instead_of_Return_to_return_a_reference);
^
/usr/ports/science/gromacs/work/gromacs-2023.2/src/external/googletest/googlemock/include/gmock/gmock-actions.h:761:27: error: use of undeclared identifier 'use_Return_instead_of_ReturnRef_to_return_a_value'
use_Return_instead_of_ReturnRef_to_return_a_value);
^
/usr/ports/science/gromacs/work/gromacs-2023.2/src/external/googletest/googlemock/include/gmock/gmock-actions.h:804:9: error: use of undeclared identifier 'use_Return_instead_of_ReturnRefOfCopy_to_return_a_value'
use_Return_instead_of_ReturnRefOfCopy_to_return_a_value);
^
In file included from /usr/ports/science/gromacs/work/gromacs-2023.2/src/external/googletest/googlemock/src/gmock-all.cc:39:
In file included from /usr/ports/science/gromacs/work/gromacs-2023.2/src/external/googletest/googlemock/include/gmock/gmock.h:59:
In file included from /usr/ports/science/gromacs/work/gromacs-2023.2/src/external/googletest/googlemock/include/gmock/gmock-function-mocker.h:40:
In file included from /usr/ports/science/gromacs/work/gromacs-2023.2/src/external/googletest/googlemock/include/gmock/gmock-spec-builders.h:73:
/usr/ports/science/gromacs/work/gromacs-2023.2/src/external/googletest/googlemock/include/gmock/gmock-matchers.h:314:3: error: unknown type name 'GTEST_DISALLOW_COPY_AND_ASSIGN_'
GTEST_DISALLOW_COPY_AND_ASSIGN_(StringMatchResultListener);
^
/usr/ports/science/gromacs/work/gromacs-2023.2/src/external/googletest/googlemock/include/gmock/gmock-matchers.h:536:7: error: use of undeclared identifier 'cannot_convert_non_reference_arg_to_reference'
cannot_convert_non_reference_arg_to_reference);
^
/usr/ports/science/gromacs/work/gromacs-2023.2/src/external/googletest/googlemock/include/gmock/gmock-matchers.h:546:7: error: use of undeclared identifier 'conversion_of_arithmetic_types_must_be_lossless'
conversion_of_arithmetic_types_must_be_lossless);
^
/usr/ports/science/gromacs/work/gromacs-2023.2/src/external/googletest/googlemock/include/gmock/gmock-matchers.h:681:25: error: use of undeclared identifier 'matcher_and_value_have_different_numbers_of_fields'
matcher_and_value_have_different_numbers_of_fields);
^
/usr/ports/science/gromacs/work/gromacs-2023.2/src/external/googletest/googlemock/include/gmock/gmock-matchers.h:1427:3: error: unknown type name 'GTEST_DISALLOW_ASSIGN_'
GTEST_DISALLOW_ASSIGN_(ConditionalMatcher);
^
/usr/ports/science/gromacs/work/gromacs-2023.2/src/external/googletest/googlemock/include/gmock/gmock-matchers.h:2516:5: error: unknown type name 'GTEST_DISALLOW_COPY_AND_ASSIGN_'
GTEST_DISALLOW_COPY_AND_ASSIGN_(Impl);
^
/usr/ports/science/gromacs/work/gromacs-2023.2/src/external/googletest/googlemock/include/gmock/gmock-matchers.h:2531:7: error: expected parameter declarator
!IsHashTable<GTEST_REMOVE_REFERENCE_AND_CONST_(RhsContainer)>::value,
^
/usr/ports/science/gromacs/work/gromacs-2023.2/src/external/googletest/googlemock/include/gmock/gmock-matchers.h:2531:7: error: expected ')'
/usr/ports/science/gromacs/work/gromacs-2023.2/src/external/googletest/googlemock/include/gmock/gmock-matchers.h:2530:24: note: to match this '('
GTEST_COMPILE_ASSERT_(
^
/usr/ports/science/gromacs/work/gromacs-2023.2/src/external/googletest/googlemock/include/gmock/gmock-matchers.h:2530:3: error: a type specifier is required for all declarations
GTEST_COMPILE_ASSERT_(
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
Possible fixes
n/a
Version: 2023.2
clang-15 FreeBSD 13.2