[MacPorts] #68199: frozen fails on 10.6.8 Rosetta: error: modification of 'ze_map' is not a constant expression; error: non-constant condition for static assertion

MacPorts noreply at macports.org
Tue Sep 19 21:15:03 UTC 2023


#68199: frozen fails on 10.6.8 Rosetta: error: modification of 'ze_map' is not a
constant expression; error: non-constant condition for static assertion
-------------------------------------------+------------------------
 Reporter:  barracuda156                   |      Owner:  i0ntempest
     Type:  defect                         |     Status:  assigned
 Priority:  Normal                         |  Milestone:
Component:  ports                          |    Version:  2.8.1
 Keywords:  snowleopard, powerpc, rosetta  |       Port:  frozen
-------------------------------------------+------------------------
 {{{
 :info:build [ 92%] Building CXX object
 tests/CMakeFiles/frozen.tests.dir/test_unordered_set.cpp.o
 :info:build cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/build/tests
 && /opt/local/bin/g++-mp-12
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/include
 -pipe -Os -std=c++14 -DNDEBUG -I/opt/local/include
 -D_GLIBCXX_USE_CXX11_ABI=0 -std=gnu++20 -arch ppc -mmacosx-version-
 min=10.6 -Wall -Wextra -Wpedantic -Werror -Wshadow -MD -MT
 tests/CMakeFiles/frozen.tests.dir/test_unordered_set.cpp.o -MF
 CMakeFiles/frozen.tests.dir/test_unordered_set.cpp.o.d -o
 CMakeFiles/frozen.tests.dir/test_unordered_set.cpp.o -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/tests/test_unordered_set.cpp
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/tests/test_unordered_map.cpp:
 In function 'void C_A_T_C_H_T_E_S_T_0()':
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/tests/test_unordered_map.cpp:22:40:
 in 'constexpr' expansion of 'ze_map.frozen::unordered_map<int, double,
 1>::count<int>(3)'
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/include/frozen/unordered_map.h:121:17:
 in 'constexpr' expansion of '((const frozen::unordered_map<int, double,
 1>*)this)->frozen::unordered_map<int, double, 1>::count<int,
 frozen::elsa<int>, std::equal_to<int> >((* & key), (* &((const
 frozen::unordered_map<int, double, 1>*)this)->frozen::unordered_map<int,
 double, 1>::hash_function()), (* &((const frozen::unordered_map<int,
 double, 1>*)this)->frozen::unordered_map<int, double, 1>::key_eq()))'
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/include/frozen/unordered_map.h:116:28:
 in 'constexpr' expansion of '((const frozen::unordered_map<int, double,
 1>*)this)->frozen::unordered_map<int, double, 1>::lookup<int,
 frozen::elsa<int> >((* & key), (* & hash))'
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/include/frozen/unordered_map.h:219:23:
 in 'constexpr' expansion of 'frozen::unordered_map<int, double,
 1>::lookup_impl<const frozen::unordered_map<int, double, 1>&, int,
 frozen::elsa<int> >((*(const frozen::unordered_map<int, double, 1>*)this),
 (* & key), (* & hash))'
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/include/frozen/unordered_map.h:214:43:
 in 'constexpr' expansion of 'self.frozen::unordered_map<int, double,
 1>::tables_.frozen::bits::pmh_tables<2, frozen::elsa<int> >::lookup<int,
 frozen::elsa<int> >((* & key), (* & hash))'
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/tests/test_unordered_map.cpp:22:42:
 in 'constexpr' expansion of 'frozen::bits::seed_or_index()'
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/tests/test_unordered_map.cpp:22:42:
 error: modification of 'ze_map' is not a constant expression
 :info:build    22 |   constexpr auto nocount = ze_map.count(3);
 :info:build       |                                          ^
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/tests/test_unordered_map.cpp:
 In function 'void C_A_T_C_H_T_E_S_T_15()':
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/tests/test_unordered_map.cpp:180:17:
 error: non-constant condition for static assertion
 :info:build   180 |   static_assert(!ce.count(0), "");
 :info:build       |                 ^~~~~~~~~~~~
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/tests/test_unordered_map.cpp:180:26:
 in 'constexpr' expansion of 'ce.frozen::unordered_map<unsigned int,
 unsigned int, 2>::count<int>(0)'
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/include/frozen/unordered_map.h:121:17:
 in 'constexpr' expansion of '((const frozen::unordered_map<unsigned int,
 unsigned int, 2>*)this)->frozen::unordered_map<unsigned int, unsigned int,
 2>::count<int, frozen::elsa<unsigned int>, std::equal_to<unsigned int>
 >((* & key), (* &((const frozen::unordered_map<unsigned int, unsigned int,
 2>*)this)->frozen::unordered_map<unsigned int, unsigned int,
 2>::hash_function()), (* &((const frozen::unordered_map<unsigned int,
 unsigned int, 2>*)this)->frozen::unordered_map<unsigned int, unsigned int,
 2>::key_eq()))'
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/include/frozen/unordered_map.h:116:28:
 in 'constexpr' expansion of '((const frozen::unordered_map<unsigned int,
 unsigned int, 2>*)this)->frozen::unordered_map<unsigned int, unsigned int,
 2>::lookup<int, frozen::elsa<unsigned int> >((* & key), (* & hash))'
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/include/frozen/unordered_map.h:219:23:
 in 'constexpr' expansion of 'frozen::unordered_map<unsigned int, unsigned
 int, 2>::lookup_impl<const frozen::unordered_map<unsigned int, unsigned
 int, 2>&, int, frozen::elsa<unsigned int> >((*(const
 frozen::unordered_map<unsigned int, unsigned int, 2>*)this), (* & key), (*
 & hash))'
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/include/frozen/unordered_map.h:214:43:
 in 'constexpr' expansion of 'self.frozen::unordered_map<unsigned int,
 unsigned int, 2>::tables_.frozen::bits::pmh_tables<4,
 frozen::elsa<unsigned int> >::lookup<int, frozen::elsa<unsigned int> >((*
 & key), (* & hash))'
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/tests/test_unordered_map.cpp:180:17:
 in 'constexpr' expansion of 'frozen::bits::seed_or_index()'
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/tests/test_unordered_map.cpp:180:17:
 error: modification of 'ce' is not a constant expression
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/tests/test_unordered_map.cpp:181:28:
 error: non-constant condition for static assertion
 :info:build   181 |   static_assert(ce.find(0) == ce.end(), "");
 :info:build       |                 ~~~~~~~~~~~^~~~~~~~~~~
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/tests/test_unordered_map.cpp:181:24:
 in 'constexpr' expansion of 'ce.frozen::unordered_map<unsigned int,
 unsigned int, 2>::find<int>(0)'
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/include/frozen/unordered_map.h:151:16:
 in 'constexpr' expansion of '((const frozen::unordered_map<unsigned int,
 unsigned int, 2>*)this)->frozen::unordered_map<unsigned int, unsigned int,
 2>::find<int, frozen::elsa<unsigned int>, std::equal_to<unsigned int> >((*
 & key), (* &((const frozen::unordered_map<unsigned int, unsigned int,
 2>*)this)->frozen::unordered_map<unsigned int, unsigned int,
 2>::hash_function()), (* &((const frozen::unordered_map<unsigned int,
 unsigned int, 2>*)this)->frozen::unordered_map<unsigned int, unsigned int,
 2>::key_eq()))'
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/include/frozen/unordered_map.h:143:21:
 in 'constexpr' expansion of 'frozen::unordered_map<unsigned int, unsigned
 int, 2>::find_impl<const frozen::unordered_map<unsigned int, unsigned int,
 2>&, int, frozen::elsa<unsigned int>, std::equal_to<unsigned int>
 >((*(const frozen::unordered_map<unsigned int, unsigned int, 2>*)this), (*
 & key), (* & hash), (* & equal))'
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/include/frozen/unordered_map.h:195:27:
 in 'constexpr' expansion of '(& self)->frozen::unordered_map<unsigned int,
 unsigned int, 2>::lookup<int, frozen::elsa<unsigned int> >((* & key), (* &
 hash))'
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/include/frozen/unordered_map.h:219:23:
 in 'constexpr' expansion of 'frozen::unordered_map<unsigned int, unsigned
 int, 2>::lookup_impl<const frozen::unordered_map<unsigned int, unsigned
 int, 2>&, int, frozen::elsa<unsigned int> >((*(const
 frozen::unordered_map<unsigned int, unsigned int, 2>*)this), (* & key), (*
 & hash))'
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/include/frozen/unordered_map.h:214:43:
 in 'constexpr' expansion of 'self.frozen::unordered_map<unsigned int,
 unsigned int, 2>::tables_.frozen::bits::pmh_tables<4,
 frozen::elsa<unsigned int> >::lookup<int, frozen::elsa<unsigned int> >((*
 & key), (* & hash))'
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/tests/test_unordered_map.cpp:181:28:
 in 'constexpr' expansion of 'frozen::bits::seed_or_index()'
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/tests/test_unordered_map.cpp:181:28:
 error: modification of 'ce' is not a constant expression
 :info:build [ 96%] Building CXX object
 tests/CMakeFiles/frozen.tests.dir/test_unordered_str_set.cpp.o
 :info:build cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/build/tests
 && /opt/local/bin/g++-mp-12
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/include
 -pipe -Os -std=c++14 -DNDEBUG -I/opt/local/include
 -D_GLIBCXX_USE_CXX11_ABI=0 -std=gnu++20 -arch ppc -mmacosx-version-
 min=10.6 -Wall -Wextra -Wpedantic -Werror -Wshadow -MD -MT
 tests/CMakeFiles/frozen.tests.dir/test_unordered_str_set.cpp.o -MF
 CMakeFiles/frozen.tests.dir/test_unordered_str_set.cpp.o.d -o
 CMakeFiles/frozen.tests.dir/test_unordered_str_set.cpp.o -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/tests/test_unordered_str_set.cpp
 :info:build make[2]: ***
 [tests/CMakeFiles/frozen.tests.dir/test_unordered_map.cpp.o] Error 1
 :info:build make[2]: *** Waiting for unfinished jobs....
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/tests/test_unordered_set.cpp:
 In function 'void C_A_T_C_H_T_E_S_T_0()':
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/tests/test_unordered_set.cpp:23:40:
 in 'constexpr' expansion of 'ze_set.frozen::unordered_set<int,
 1>::count<int>(3)'
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/include/frozen/unordered_set.h:113:17:
 in 'constexpr' expansion of '((const frozen::unordered_set<int,
 1>*)this)->frozen::unordered_set<int, 1>::count<int, frozen::elsa<int>,
 std::equal_to<int> >((* & key), (* &((const frozen::unordered_set<int,
 1>*)this)->frozen::unordered_set<int, 1>::hash_function()), (* &((const
 frozen::unordered_set<int, 1>*)this)->frozen::unordered_set<int,
 1>::key_eq()))'
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/include/frozen/unordered_set.h:108:26:
 in 'constexpr' expansion of '((const frozen::unordered_set<int,
 1>*)this)->frozen::unordered_set<int, 1>::lookup<int, frozen::elsa<int>
 >((* & key), (* & hash))'
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/include/frozen/unordered_set.h:154:32:
 in 'constexpr' expansion of '((const frozen::unordered_set<int,
 1>*)this)->frozen::unordered_set<int,
 1>::tables_.frozen::bits::pmh_tables<2, frozen::elsa<int> >::lookup<int,
 frozen::elsa<int> >((* & key), (* & hash))'
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/tests/test_unordered_set.cpp:23:42:
 in 'constexpr' expansion of 'frozen::bits::seed_or_index()'
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/tests/test_unordered_set.cpp:23:42:
 error: modification of 'ze_set' is not a constant expression
 :info:build    23 |   constexpr auto nocount = ze_set.count(3);
 :info:build       |                                          ^
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/tests/test_unordered_set.cpp:
 In function 'void C_A_T_C_H_T_E_S_T_2()':
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/tests/test_unordered_set.cpp:68:40:
 in 'constexpr' expansion of 'ze_set.frozen::unordered_set<short unsigned
 int, 3>::count<int>(4)'
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/include/frozen/unordered_set.h:113:17:
 in 'constexpr' expansion of '((const frozen::unordered_set<short unsigned
 int, 3>*)this)->frozen::unordered_set<short unsigned int, 3>::count<int,
 frozen::elsa<short unsigned int>, std::equal_to<short unsigned int> >((* &
 key), (* &((const frozen::unordered_set<short unsigned int,
 3>*)this)->frozen::unordered_set<short unsigned int, 3>::hash_function()),
 (* &((const frozen::unordered_set<short unsigned int,
 3>*)this)->frozen::unordered_set<short unsigned int, 3>::key_eq()))'
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/include/frozen/unordered_set.h:108:26:
 in 'constexpr' expansion of '((const frozen::unordered_set<short unsigned
 int, 3>*)this)->frozen::unordered_set<short unsigned int, 3>::lookup<int,
 frozen::elsa<short unsigned int> >((* & key), (* & hash))'
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/include/frozen/unordered_set.h:154:32:
 in 'constexpr' expansion of '((const frozen::unordered_set<short unsigned
 int, 3>*)this)->frozen::unordered_set<short unsigned int,
 3>::tables_.frozen::bits::pmh_tables<8, frozen::elsa<short unsigned int>
 >::lookup<int, frozen::elsa<short unsigned int> >((* & key), (* & hash))'
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/tests/test_unordered_set.cpp:68:42:
 in 'constexpr' expansion of 'frozen::bits::seed_or_index()'
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/tests/test_unordered_set.cpp:68:42:
 error: modification of 'ze_set' is not a constant expression
 :info:build    68 |   constexpr auto nocount = ze_set.count(4);
 :info:build       |                                          ^
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/tests/test_unordered_set.cpp:
 In function 'void C_A_T_C_H_T_E_S_T_11()':
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/tests/test_unordered_set.cpp:159:17:
 error: non-constant condition for static assertion
 :info:build   159 |   static_assert(!ce.count(0), "");
 :info:build       |                 ^~~~~~~~~~~~
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/tests/test_unordered_set.cpp:159:26:
 in 'constexpr' expansion of 'ce.frozen::unordered_set<unsigned int,
 2>::count<int>(0)'
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/include/frozen/unordered_set.h:113:17:
 in 'constexpr' expansion of '((const frozen::unordered_set<unsigned int,
 2>*)this)->frozen::unordered_set<unsigned int, 2>::count<int,
 frozen::elsa<unsigned int>, std::equal_to<unsigned int> >((* & key), (*
 &((const frozen::unordered_set<unsigned int,
 2>*)this)->frozen::unordered_set<unsigned int, 2>::hash_function()), (*
 &((const frozen::unordered_set<unsigned int,
 2>*)this)->frozen::unordered_set<unsigned int, 2>::key_eq()))'
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/include/frozen/unordered_set.h:108:26:
 in 'constexpr' expansion of '((const frozen::unordered_set<unsigned int,
 2>*)this)->frozen::unordered_set<unsigned int, 2>::lookup<int,
 frozen::elsa<unsigned int> >((* & key), (* & hash))'
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/include/frozen/unordered_set.h:154:32:
 in 'constexpr' expansion of '((const frozen::unordered_set<unsigned int,
 2>*)this)->frozen::unordered_set<unsigned int,
 2>::tables_.frozen::bits::pmh_tables<4, frozen::elsa<unsigned int>
 >::lookup<int, frozen::elsa<unsigned int> >((* & key), (* & hash))'
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/tests/test_unordered_set.cpp:159:17:
 in 'constexpr' expansion of 'frozen::bits::seed_or_index()'
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/tests/test_unordered_set.cpp:159:17:
 error: modification of 'ce' is not a constant expression
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/tests/test_unordered_set.cpp:160:28:
 error: non-constant condition for static assertion
 :info:build   160 |   static_assert(ce.find(0) == ce.end(), "");
 :info:build       |                 ~~~~~~~~~~~^~~~~~~~~~~
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/tests/test_unordered_set.cpp:160:24:
 in 'constexpr' expansion of 'ce.frozen::unordered_set<unsigned int,
 2>::find<int>(0)'
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/include/frozen/unordered_set.h:126:16:
 in 'constexpr' expansion of '((const frozen::unordered_set<unsigned int,
 2>*)this)->frozen::unordered_set<unsigned int, 2>::find<int,
 frozen::elsa<unsigned int>, std::equal_to<unsigned int> >((* & key), (*
 &((const frozen::unordered_set<unsigned int,
 2>*)this)->frozen::unordered_set<unsigned int, 2>::hash_function()), (*
 &((const frozen::unordered_set<unsigned int,
 2>*)this)->frozen::unordered_set<unsigned int, 2>::key_eq()))'
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/include/frozen/unordered_set.h:118:27:
 in 'constexpr' expansion of '((const frozen::unordered_set<unsigned int,
 2>*)this)->frozen::unordered_set<unsigned int, 2>::lookup<int,
 frozen::elsa<unsigned int> >((* & key), (* & hash))'
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/include/frozen/unordered_set.h:154:32:
 in 'constexpr' expansion of '((const frozen::unordered_set<unsigned int,
 2>*)this)->frozen::unordered_set<unsigned int,
 2>::tables_.frozen::bits::pmh_tables<4, frozen::elsa<unsigned int>
 >::lookup<int, frozen::elsa<unsigned int> >((* & key), (* & hash))'
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/tests/test_unordered_set.cpp:160:28:
 in 'constexpr' expansion of 'frozen::bits::seed_or_index()'
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/frozen-1.1.1/tests/test_unordered_set.cpp:160:28:
 error: modification of 'ce' is not a constant expression
 :info:build make[2]: ***
 [tests/CMakeFiles/frozen.tests.dir/test_unordered_set.cpp.o] Error 1
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/build'
 :info:build make[1]: *** [tests/CMakeFiles/frozen.tests.dir/all] Error 2
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_frozen/frozen/work/build'
 :info:build make: *** [all] Error 2
 }}}

 https://github.com/serge-sans-paille/frozen/issues/163

-- 
Ticket URL: <https://trac.macports.org/ticket/68199>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list