Open DenisYaroshevskiy opened 2 weeks ago
My thinking is, at least for shadow
- disable the warning with pragmas.
Never the less - again we don't have CI catching these 👎
Yeah, that's bizarre. I can see if adding -Wshadow helps. WHich compiler is it btw ? As for fixes, I think it is better we rename the type in questions.
The one is the if constexpr sounds like a compielr bug to me. They can't shadow due to scope rules IIRC.
yeah, you can, it's legit: https://godbolt.org/z/YneezYxEa
Ok so pragma it is
third-party/eve/include/eve/traits/common_type.hpp:122:17: error: declaration shadows a type alias in 'common_type_reduction' [-Werror,-Wshadow]
using type = typename tuple_res::type;
^
third-party/eve/include/eve/traits/common_type.hpp:97:11: note: previous declaration is here
using type = T;
^
third-party/eve/include/eve/traits/common_type.hpp:137:19: error: declaration shadows a type alias in 'common_type_reduction' [-Werror,-Wshadow]
using type = typename flat_res::type;
^
third-party/eve/include/eve/traits/common_type.hpp:97:11: note: previous declaration is here
using type = T;
^
In file included from third-party/eve/include/eve/module/algo.hpp:22:
In file included from third-party/eve/include/eve/module/algo/algo/all_of.hpp:10:
In file included from third-party/eve/include/eve/module/algo/algo/array_utils.hpp:10:
In file included from third-party/eve/include/eve/module/core.hpp:104:
In file included from third-party/eve/include/eve/module/core/compress/core.hpp:10:
In file included from third-party/eve/include/eve/module/core/compress/compress.hpp:92:
In file included from third-party/eve/include/eve/module/core/compress/simd/common/compress.hpp:10:
In file included from third-party/eve/include/eve/module/core/compress/detail/compress_using_masks.hpp:58:
In file included from third-party/eve/include/eve/module/core/compress/detail/simd/common/compress_using_masks.hpp:12:
In file included from third-party/eve/include/eve/module/core/compress/detail/compress_mask_num.hpp:76:
In file included from third-party/eve/include/eve/module/core/compress/detail/simd/common/compress_mask_num.hpp:12:
In file included from third-party/eve/include/eve/module/core/regular/convert.hpp:12:
third-party/eve/include/eve/module/core/decorator/core.hpp:95:4: error: extra ';' outside of a function is incompatible with C++98 [-Werror,-Wc++98-compat-extra-semi]
};
^
In file included from third-party/eve/include/eve/module/algo.hpp:22:
In file included from third-party/eve/include/eve/module/algo/algo/all_of.hpp:10:
In file included from third-party/eve/include/eve/module/algo/algo/array_utils.hpp:10:
In file included from third-party/eve/include/eve/module/core.hpp:104:
In file included from third-party/eve/include/eve/module/core/compress/core.hpp:10:
In file included from third-party/eve/include/eve/module/core/compress/compress.hpp:92:
In file included from third-party/eve/include/eve/module/core/compress/simd/common/compress.hpp:10:
In file included from third-party/eve/include/eve/module/core/compress/detail/compress_using_masks.hpp:58:
In file included from third-party/eve/include/eve/module/core/compress/detail/simd/common/compress_using_masks.hpp:12:
In file included from third-party/eve/include/eve/module/core/compress/detail/compress_mask_num.hpp:76:
In file included from third-party/eve/include/eve/module/core/compress/detail/simd/common/compress_mask_num.hpp:12:
In file included from third-party/eve/include/eve/module/core/regular/convert.hpp:93:
In file included from third-party/eve/include/eve/module/core/regular/impl/convert.hpp:10:
In file included from third-party/eve/include/eve/module/core/regular/impl/convert_helpers.hpp:19:
In file included from third-party/eve/include/eve/module/core/regular/shuffle.hpp:18:
In file included from third-party/eve/include/eve/module/core/detail/generic/find_optimized_shuffle_pattern.hpp:11:
In file included from third-party/eve/include/eve/module/core/regular/broadcast_group.hpp:59:
In file included from third-party/eve/include/eve/module/core/regular/impl/broadcast_group.hpp:12:
In file included from third-party/eve/include/eve/module/core/regular/min.hpp:100:
In file included from third-party/eve/include/eve/module/core/regular/impl/min.hpp:19:
In file included from third-party/eve/include/eve/module/core/regular/is_greater.hpp:12:
In file included from third-party/eve/include/eve/detail/function/friends.hpp:14:
third-party/eve/include/eve/detail/function/simd/x86/friends.hpp:166:20: error: declaration shadows a local variable [-Werror,-Wshadow]
constexpr auto f = to_integer(cmp_flt::eq_oq);
^
third-party/eve/include/eve/detail/function/simd/x86/friends.hpp:129:18: note: previous declaration is here
constexpr auto f = to_integer(cmp_flt::eq_oq);
^
In file included from third-party/eve/include/eve/module/algo.hpp:22:
In file included from third-party/eve/include/eve/module/algo/algo/all_of.hpp:10:
In file included from third-party/eve/include/eve/module/algo/algo/array_utils.hpp:10:
In file included from third-party/eve/include/eve/module/core.hpp:104:
In file included from third-party/eve/include/eve/module/core/compress/core.hpp:10:
In file included from third-party/eve/include/eve/module/core/compress/compress.hpp:92:
In file included from third-party/eve/include/eve/module/core/compress/simd/common/compress.hpp:10:
In file included from third-party/eve/include/eve/module/core/compress/detail/compress_using_masks.hpp:58:
In file included from third-party/eve/include/eve/module/core/compress/detail/simd/common/compress_using_masks.hpp:12:
In file included from third-party/eve/include/eve/module/core/compress/detail/compress_mask_num.hpp:76:
In file included from third-party/eve/include/eve/module/core/compress/detail/simd/common/compress_mask_num.hpp:12:
In file included from third-party/eve/include/eve/module/core/regular/convert.hpp:93:
In file included from third-party/eve/include/eve/module/core/regular/impl/convert.hpp:10:
In file included from third-party/eve/include/eve/module/core/regular/impl/convert_helpers.hpp:19:
In file included from third-party/eve/include/eve/module/core/regular/shuffle.hpp:18:
In file included from third-party/eve/include/eve/module/core/detail/generic/find_optimized_shuffle_pattern.hpp:13:
In file included from third-party/eve/include/eve/module/core/regular/deinterleave_groups_shuffle.hpp:57:
In file included from third-party/eve/include/eve/module/core/regular/impl/simd/x86/deinterleave_groups_shuffle.hpp:10:
In file included from third-party/eve/include/eve/module/core/named_shuffles/swap_adjacent.hpp:11:
In file included from third-party/eve/include/eve/module/core/regular/shuffle_v2.hpp:12:
In file included from third-party/eve/include/eve/detail/shuffle_v2/native_shuffle_lookup.hpp:12:
In file included from third-party/eve/include/eve/detail/shuffle_v2/simd/common/native_shuffle_lookup.hpp:10:
In file included from third-party/eve/include/eve/detail/shuffle_v2/native_shuffle_helpers.hpp:12:
In file included from third-party/eve/include/eve/wide.hpp:11:
In file included from third-party/eve/include/eve/arch/wide.hpp:10:
In file included from third-party/eve/include/eve/arch/cpu/wide.hpp:20:
In file included from third-party/eve/include/eve/detail/function/combine.hpp:14:
In file included from third-party/eve/include/eve/detail/function/simd/x86/combine.hpp:11:
third-party/eve/include/eve/detail/function/simd/x86/make.hpp:46:24: error: declaration shadows a local variable [-Werror,-Wshadow]
constexpr auto c = categorize<wide<T, N>>();
^
third-party/eve/include/eve/detail/function/simd/x86/make.hpp:31:20: note: previous declaration is here
constexpr auto c = categorize<wide<T, N>>();
^
In file included from third-party/eve/include/eve/module/algo.hpp:22:
In file included from third-party/eve/include/eve/module/algo/algo/all_of.hpp:10:
In file included from third-party/eve/include/eve/module/algo/algo/array_utils.hpp:10:
In file included from third-party/eve/include/eve/module/core.hpp:104:
In file included from third-party/eve/include/eve/module/core/compress/core.hpp:10:
In file included from third-party/eve/include/eve/module/core/compress/compress.hpp:92:
In file included from third-party/eve/include/eve/module/core/compress/simd/common/compress.hpp:10:
In file included from third-party/eve/include/eve/module/core/compress/detail/compress_using_masks.hpp:58:
In file included from third-party/eve/include/eve/module/core/compress/detail/simd/common/compress_using_masks.hpp:12:
In file included from third-party/eve/include/eve/module/core/compress/detail/compress_mask_num.hpp:76:
In file included from third-party/eve/include/eve/module/core/compress/detail/simd/common/compress_mask_num.hpp:12:
In file included from third-party/eve/include/eve/module/core/regular/convert.hpp:93:
In file included from third-party/eve/include/eve/module/core/regular/impl/convert.hpp:10:
In file included from third-party/eve/include/eve/module/core/regular/impl/convert_helpers.hpp:19:
In file included from third-party/eve/include/eve/module/core/regular/shuffle.hpp:18:
In file included from third-party/eve/include/eve/module/core/detail/generic/find_optimized_shuffle_pattern.hpp:13:
In file included from third-party/eve/include/eve/module/core/regular/deinterleave_groups_shuffle.hpp:57:
In file included from third-party/eve/include/eve/module/core/regular/impl/simd/x86/deinterleave_groups_shuffle.hpp:10:
In file included from third-party/eve/include/eve/module/core/named_shuffles/swap_adjacent.hpp:11:
In file included from third-party/eve/include/eve/module/core/regular/shuffle_v2.hpp:12:
In file included from third-party/eve/include/eve/detail/shuffle_v2/native_shuffle_lookup.hpp:12:
In file included from third-party/eve/include/eve/detail/shuffle_v2/simd/common/native_shuffle_lookup.hpp:10:
In file included from third-party/eve/include/eve/detail/shuffle_v2/native_shuffle_helpers.hpp:12:
In file included from third-party/eve/include/eve/wide.hpp:11:
In file included from third-party/eve/include/eve/arch/wide.hpp:10:
In file included from third-party/eve/include/eve/arch/cpu/wide.hpp:28:
In file included from third-party/eve/include/eve/module/core/regular/rem.hpp:91:
In file included from third-party/eve/include/eve/module/core/regular/impl/rem.hpp:18:
In file included from third-party/eve/include/eve/module/core/regular/div.hpp:117:
In file included from third-party/eve/include/eve/module/core/regular/impl/div.hpp:32:
In file included from third-party/eve/include/eve/module/core/regular/is_odd.hpp:13:
In file included from third-party/eve/include/eve/module/core/regular/is_even.hpp:19:
In file included from third-party/eve/include/eve/module/core/regular/is_not_equal.hpp:149:
third-party/eve/include/eve/module/core/regular/impl/simd/x86/is_not_equal.hpp:41:29: error: declaration shadows a local variable [-Werror,-Wshadow]
constexpr auto c = categorize<wide<T, N>>();
^
third-party/eve/include/eve/module/core/regular/impl/simd/x86/is_not_equal.hpp:31:20: note: previous declaration is here
constexpr auto c = categorize<wide<T, N>>();
^
In file included from third-party/eve/include/eve/module/algo.hpp:22:
In file included from third-party/eve/include/eve/module/algo/algo/all_of.hpp:10:
In file included from third-party/eve/include/eve/module/algo/algo/array_utils.hpp:10:
In file included from third-party/eve/include/eve/module/core.hpp:104:
In file included from third-party/eve/include/eve/module/core/compress/core.hpp:10:
In file included from third-party/eve/include/eve/module/core/compress/compress.hpp:92:
In file included from third-party/eve/include/eve/module/core/compress/simd/common/compress.hpp:10:
In file included from third-party/eve/include/eve/module/core/compress/detail/compress_using_masks.hpp:58:
In file included from third-party/eve/include/eve/module/core/compress/detail/simd/common/compress_using_masks.hpp:12:
In file included from third-party/eve/include/eve/module/core/compress/detail/compress_mask_num.hpp:76:
In file included from third-party/eve/include/eve/module/core/compress/detail/simd/common/compress_mask_num.hpp:12:
In file included from third-party/eve/include/eve/module/core/regular/convert.hpp:93:
In file included from third-party/eve/include/eve/module/core/regular/impl/convert.hpp:10:
In file included from third-party/eve/include/eve/module/core/regular/impl/convert_helpers.hpp:19:
In file included from third-party/eve/include/eve/module/core/regular/shuffle.hpp:18:
In file included from third-party/eve/include/eve/module/core/detail/generic/find_optimized_shuffle_pattern.hpp:13:
In file included from third-party/eve/include/eve/module/core/regular/deinterleave_groups_shuffle.hpp:57:
In file included from third-party/eve/include/eve/module/core/regular/impl/simd/x86/deinterleave_groups_shuffle.hpp:10:
In file included from third-party/eve/include/eve/module/core/named_shuffles/swap_adjacent.hpp:11:
In file included from third-party/eve/include/eve/module/core/regular/shuffle_v2.hpp:12:
In file included from third-party/eve/include/eve/detail/shuffle_v2/native_shuffle_lookup.hpp:12:
In file included from third-party/eve/include/eve/detail/shuffle_v2/simd/common/native_shuffle_lookup.hpp:11:
In file included from third-party/eve/include/eve/detail/shuffle_v2/shuffle_l2.hpp:26:
third-party/eve/include/eve/detail/shuffle_v2/simd/common/shuffle_l2.hpp:46:39: error: declaration shadows a local variable [-Werror,-Wshadow]
else if constexpr( constexpr auto slide = idxm::is_slide_right(P::most_repeated) )
^
third-party/eve/include/eve/detail/shuffle_v2/simd/common/shuffle_l2.hpp:42:34: note: previous declaration is here
if constexpr( constexpr auto slide = idxm::is_slide_left(P::most_repeated) )
^
In file included from third-party/eve/include/eve/module/algo.hpp:22:
In file included from third-party/eve/include/eve/module/algo/algo/all_of.hpp:10:
In file included from third-party/eve/include/eve/module/algo/algo/array_utils.hpp:10:
In file included from third-party/eve/include/eve/module/core.hpp:104:
In file included from third-party/eve/include/eve/module/core/compress/core.hpp:10:
In file included from third-party/eve/include/eve/module/core/compress/compress.hpp:92:
In file included from third-party/eve/include/eve/module/core/compress/simd/common/compress.hpp:10:
In file included from third-party/eve/include/eve/module/core/compress/detail/compress_using_masks.hpp:58:
In file included from third-party/eve/include/eve/module/core/compress/detail/simd/common/compress_using_masks.hpp:12:
In file included from third-party/eve/include/eve/module/core/compress/detail/compress_mask_num.hpp:76:
In file included from third-party/eve/include/eve/module/core/compress/detail/simd/common/compress_mask_num.hpp:12:
In file included from third-party/eve/include/eve/module/core/regular/convert.hpp:93:
In file included from third-party/eve/include/eve/module/core/regular/impl/convert.hpp:10:
In file included from third-party/eve/include/eve/module/core/regular/impl/convert_helpers.hpp:19:
In file included from third-party/eve/include/eve/module/core/regular/shuffle.hpp:18:
In file included from third-party/eve/include/eve/module/core/detail/generic/find_optimized_shuffle_pattern.hpp:13:
In file included from third-party/eve/include/eve/module/core/regular/deinterleave_groups_shuffle.hpp:57:
In file included from third-party/eve/include/eve/module/core/regular/impl/simd/x86/deinterleave_groups_shuffle.hpp:10:
In file included from third-party/eve/include/eve/module/core/named_shuffles/swap_adjacent.hpp:11:
In file included from third-party/eve/include/eve/module/core/regular/shuffle_v2.hpp:12:
In file included from third-party/eve/include/eve/detail/shuffle_v2/native_shuffle_lookup.hpp:12:
In file included from third-party/eve/include/eve/detail/shuffle_v2/simd/common/native_shuffle_lookup.hpp:11:
In file included from third-party/eve/include/eve/detail/shuffle_v2/shuffle_l2.hpp:29:
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:31:37: error: declaration shadows a local variable [-Werror,-Wshadow]
else if constexpr( constexpr auto slide = idxm::is_slide_right(P::repeated_16); slide )
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:24:37: note: previous declaration is here
else if constexpr( constexpr auto slide = idxm::is_slide_left(P::repeated_16); slide )
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:145:27: error: declaration shadows a local variable [-Werror,-Wshadow]
else if constexpr( auto r = shuffle_l2_x86_repeated_128_4x32(p, g, x);
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:140:27: note: previous declaration is here
else if constexpr( auto r = shuffle_l2_x86_repeated_128_shifts_and_slides(p, g, x);
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:150:27: error: declaration shadows a local variable [-Werror,-Wshadow]
else if constexpr( auto r = shuffle_l2_x86_repeated_128_4_shorts(p, g, x);
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:145:27: note: previous declaration is here
else if constexpr( auto r = shuffle_l2_x86_repeated_128_4x32(p, g, x);
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:155:27: error: declaration shadows a local variable [-Werror,-Wshadow]
else if constexpr( auto r = shuffle_l2_x86_repeated_128_alignr(p, g, x);
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:150:27: note: previous declaration is here
else if constexpr( auto r = shuffle_l2_x86_repeated_128_4_shorts(p, g, x);
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:330:27: error: declaration shadows a local variable [-Werror,-Wshadow]
else if constexpr( auto r = shuffle_l2_x86_128_insert_one_zero(p, g, x);
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:326:22: note: previous declaration is here
if constexpr( auto r = shuffle_l2_x86_repeated_128(p, g, x); matched_shuffle<decltype(r)> )
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:335:27: error: declaration shadows a local variable [-Werror,-Wshadow]
else if constexpr( auto r = shuffle_l2_x86_repeated_256(p, g, x); matched_shuffle<decltype(r)> )
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:330:27: note: previous declaration is here
else if constexpr( auto r = shuffle_l2_x86_128_insert_one_zero(p, g, x);
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:339:27: error: declaration shadows a local variable [-Werror,-Wshadow]
else if constexpr( auto r = shuffle_l2_x86_u64x2(p, g, x); matched_shuffle<decltype(r)> )
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:335:27: note: previous declaration is here
else if constexpr( auto r = shuffle_l2_x86_repeated_256(p, g, x); matched_shuffle<decltype(r)> )
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:343:27: error: declaration shadows a local variable [-Werror,-Wshadow]
else if constexpr( auto r = shuffle_l2_alignr_epi32_self(p, g, x); matched_shuffle<decltype(r)> )
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:339:27: note: previous declaration is here
else if constexpr( auto r = shuffle_l2_x86_u64x2(p, g, x); matched_shuffle<decltype(r)> )
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:524:27: error: declaration shadows a local variable [-Werror,-Wshadow]
else if constexpr( auto r = shuffle_l2_x86_shuffle_i32x4(p, g, x, y);
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:520:22: note: previous declaration is here
if constexpr( auto r = shuffle_l2_x86_permute2f128(p, g, x, y); matched_shuffle<decltype(r)> )
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:594:27: error: declaration shadows a local variable [-Werror,-Wshadow]
else if constexpr( auto r = shuffle_l2_x86_repeated_128x2(p, g, x, y);
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:590:22: note: previous declaration is here
if constexpr( auto r = shuffle_l2_x86_blend(p, g, x, y); matched_shuffle<decltype(r)> )
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:599:27: error: declaration shadows a local variable [-Werror,-Wshadow]
else if constexpr( auto r = shuffle_l2_x86_within_128x2(p, g, x, y);
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:594:27: note: previous declaration is here
else if constexpr( auto r = shuffle_l2_x86_repeated_128x2(p, g, x, y);
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:604:27: error: declaration shadows a local variable [-Werror,-Wshadow]
else if constexpr( auto r = shuffle_l2_x86_shuffle_128_2regs(p, g, x, y);
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:599:27: note: previous declaration is here
else if constexpr( auto r = shuffle_l2_x86_within_128x2(p, g, x, y);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]third-party/eve/include/eve/traits/common_type.hpp:122:17: error: declaration shadows a type alias in 'common_type_reduction' [-Werror,-Wshadow]
using type = typename tuple_res::type;
^
third-party/eve/include/eve/traits/common_type.hpp:97:11: note: previous declaration is here
using type = T;
^
third-party/eve/include/eve/traits/common_type.hpp:137:19: error: declaration shadows a type alias in 'common_type_reduction' [-Werror,-Wshadow]
using type = typename flat_res::type;
^
third-party/eve/include/eve/traits/common_type.hpp:97:11: note: previous declaration is here
using type = T;
^
In file included from third-party/eve/include/eve/module/algo.hpp:22:
In file included from third-party/eve/include/eve/module/algo/algo/all_of.hpp:10:
In file included from third-party/eve/include/eve/module/algo/algo/array_utils.hpp:10:
In file included from third-party/eve/include/eve/module/core.hpp:104:
In file included from third-party/eve/include/eve/module/core/compress/core.hpp:10:
In file included from third-party/eve/include/eve/module/core/compress/compress.hpp:92:
In file included from third-party/eve/include/eve/module/core/compress/simd/common/compress.hpp:10:
In file included from third-party/eve/include/eve/module/core/compress/detail/compress_using_masks.hpp:58:
In file included from third-party/eve/include/eve/module/core/compress/detail/simd/common/compress_using_masks.hpp:12:
In file included from third-party/eve/include/eve/module/core/compress/detail/compress_mask_num.hpp:76:
In file included from third-party/eve/include/eve/module/core/compress/detail/simd/common/compress_mask_num.hpp:12:
In file included from third-party/eve/include/eve/module/core/regular/convert.hpp:12:
third-party/eve/include/eve/module/core/decorator/core.hpp:95:4: error: extra ';' outside of a function is incompatible with C++98 [-Werror,-Wc++98-compat-extra-semi]
};
^
In file included from third-party/eve/include/eve/module/algo.hpp:22:
In file included from third-party/eve/include/eve/module/algo/algo/all_of.hpp:10:
In file included from third-party/eve/include/eve/module/algo/algo/array_utils.hpp:10:
In file included from third-party/eve/include/eve/module/core.hpp:104:
In file included from third-party/eve/include/eve/module/core/compress/core.hpp:10:
In file included from third-party/eve/include/eve/module/core/compress/compress.hpp:92:
In file included from third-party/eve/include/eve/module/core/compress/simd/common/compress.hpp:10:
In file included from third-party/eve/include/eve/module/core/compress/detail/compress_using_masks.hpp:58:
In file included from third-party/eve/include/eve/module/core/compress/detail/simd/common/compress_using_masks.hpp:12:
In file included from third-party/eve/include/eve/module/core/compress/detail/compress_mask_num.hpp:76:
In file included from third-party/eve/include/eve/module/core/compress/detail/simd/common/compress_mask_num.hpp:12:
In file included from third-party/eve/include/eve/module/core/regular/convert.hpp:93:
In file included from third-party/eve/include/eve/module/core/regular/impl/convert.hpp:10:
In file included from third-party/eve/include/eve/module/core/regular/impl/convert_helpers.hpp:19:
In file included from third-party/eve/include/eve/module/core/regular/shuffle.hpp:18:
In file included from third-party/eve/include/eve/module/core/detail/generic/find_optimized_shuffle_pattern.hpp:11:
In file included from third-party/eve/include/eve/module/core/regular/broadcast_group.hpp:59:
In file included from third-party/eve/include/eve/module/core/regular/impl/broadcast_group.hpp:12:
In file included from third-party/eve/include/eve/module/core/regular/min.hpp:100:
In file included from third-party/eve/include/eve/module/core/regular/impl/min.hpp:19:
In file included from third-party/eve/include/eve/module/core/regular/is_greater.hpp:12:
In file included from third-party/eve/include/eve/detail/function/friends.hpp:14:
third-party/eve/include/eve/detail/function/simd/x86/friends.hpp:166:20: error: declaration shadows a local variable [-Werror,-Wshadow]
constexpr auto f = to_integer(cmp_flt::eq_oq);
^
third-party/eve/include/eve/detail/function/simd/x86/friends.hpp:129:18: note: previous declaration is here
constexpr auto f = to_integer(cmp_flt::eq_oq);
^
In file included from third-party/eve/include/eve/module/algo.hpp:22:
In file included from third-party/eve/include/eve/module/algo/algo/all_of.hpp:10:
In file included from third-party/eve/include/eve/module/algo/algo/array_utils.hpp:10:
In file included from third-party/eve/include/eve/module/core.hpp:104:
In file included from third-party/eve/include/eve/module/core/compress/core.hpp:10:
In file included from third-party/eve/include/eve/module/core/compress/compress.hpp:92:
In file included from third-party/eve/include/eve/module/core/compress/simd/common/compress.hpp:10:
In file included from third-party/eve/include/eve/module/core/compress/detail/compress_using_masks.hpp:58:
In file included from third-party/eve/include/eve/module/core/compress/detail/simd/common/compress_using_masks.hpp:12:
In file included from third-party/eve/include/eve/module/core/compress/detail/compress_mask_num.hpp:76:
In file included from third-party/eve/include/eve/module/core/compress/detail/simd/common/compress_mask_num.hpp:12:
In file included from third-party/eve/include/eve/module/core/regular/convert.hpp:93:
In file included from third-party/eve/include/eve/module/core/regular/impl/convert.hpp:10:
In file included from third-party/eve/include/eve/module/core/regular/impl/convert_helpers.hpp:19:
In file included from third-party/eve/include/eve/module/core/regular/shuffle.hpp:18:
In file included from third-party/eve/include/eve/module/core/detail/generic/find_optimized_shuffle_pattern.hpp:13:
In file included from third-party/eve/include/eve/module/core/regular/deinterleave_groups_shuffle.hpp:57:
In file included from third-party/eve/include/eve/module/core/regular/impl/simd/x86/deinterleave_groups_shuffle.hpp:10:
In file included from third-party/eve/include/eve/module/core/named_shuffles/swap_adjacent.hpp:11:
In file included from third-party/eve/include/eve/module/core/regular/shuffle_v2.hpp:12:
In file included from third-party/eve/include/eve/detail/shuffle_v2/native_shuffle_lookup.hpp:12:
In file included from third-party/eve/include/eve/detail/shuffle_v2/simd/common/native_shuffle_lookup.hpp:10:
In file included from third-party/eve/include/eve/detail/shuffle_v2/native_shuffle_helpers.hpp:12:
In file included from third-party/eve/include/eve/wide.hpp:11:
In file included from third-party/eve/include/eve/arch/wide.hpp:10:
In file included from third-party/eve/include/eve/arch/cpu/wide.hpp:20:
In file included from third-party/eve/include/eve/detail/function/combine.hpp:14:
In file included from third-party/eve/include/eve/detail/function/simd/x86/combine.hpp:11:
third-party/eve/include/eve/detail/function/simd/x86/make.hpp:46:24: error: declaration shadows a local variable [-Werror,-Wshadow]
constexpr auto c = categorize<wide<T, N>>();
^
third-party/eve/include/eve/detail/function/simd/x86/make.hpp:31:20: note: previous declaration is here
constexpr auto c = categorize<wide<T, N>>();
^
In file included from third-party/eve/include/eve/module/algo.hpp:22:
In file included from third-party/eve/include/eve/module/algo/algo/all_of.hpp:10:
In file included from third-party/eve/include/eve/module/algo/algo/array_utils.hpp:10:
In file included from third-party/eve/include/eve/module/core.hpp:104:
In file included from third-party/eve/include/eve/module/core/compress/core.hpp:10:
In file included from third-party/eve/include/eve/module/core/compress/compress.hpp:92:
In file included from third-party/eve/include/eve/module/core/compress/simd/common/compress.hpp:10:
In file included from third-party/eve/include/eve/module/core/compress/detail/compress_using_masks.hpp:58:
In file included from third-party/eve/include/eve/module/core/compress/detail/simd/common/compress_using_masks.hpp:12:
In file included from third-party/eve/include/eve/module/core/compress/detail/compress_mask_num.hpp:76:
In file included from third-party/eve/include/eve/module/core/compress/detail/simd/common/compress_mask_num.hpp:12:
In file included from third-party/eve/include/eve/module/core/regular/convert.hpp:93:
In file included from third-party/eve/include/eve/module/core/regular/impl/convert.hpp:10:
In file included from third-party/eve/include/eve/module/core/regular/impl/convert_helpers.hpp:19:
In file included from third-party/eve/include/eve/module/core/regular/shuffle.hpp:18:
In file included from third-party/eve/include/eve/module/core/detail/generic/find_optimized_shuffle_pattern.hpp:13:
In file included from third-party/eve/include/eve/module/core/regular/deinterleave_groups_shuffle.hpp:57:
In file included from third-party/eve/include/eve/module/core/regular/impl/simd/x86/deinterleave_groups_shuffle.hpp:10:
In file included from third-party/eve/include/eve/module/core/named_shuffles/swap_adjacent.hpp:11:
In file included from third-party/eve/include/eve/module/core/regular/shuffle_v2.hpp:12:
In file included from third-party/eve/include/eve/detail/shuffle_v2/native_shuffle_lookup.hpp:12:
In file included from third-party/eve/include/eve/detail/shuffle_v2/simd/common/native_shuffle_lookup.hpp:10:
In file included from third-party/eve/include/eve/detail/shuffle_v2/native_shuffle_helpers.hpp:12:
In file included from third-party/eve/include/eve/wide.hpp:11:
In file included from third-party/eve/include/eve/arch/wide.hpp:10:
In file included from third-party/eve/include/eve/arch/cpu/wide.hpp:28:
In file included from third-party/eve/include/eve/module/core/regular/rem.hpp:91:
In file included from third-party/eve/include/eve/module/core/regular/impl/rem.hpp:18:
In file included from third-party/eve/include/eve/module/core/regular/div.hpp:117:
In file included from third-party/eve/include/eve/module/core/regular/impl/div.hpp:32:
In file included from third-party/eve/include/eve/module/core/regular/is_odd.hpp:13:
In file included from third-party/eve/include/eve/module/core/regular/is_even.hpp:19:
In file included from third-party/eve/include/eve/module/core/regular/is_not_equal.hpp:149:
third-party/eve/include/eve/module/core/regular/impl/simd/x86/is_not_equal.hpp:41:29: error: declaration shadows a local variable [-Werror,-Wshadow]
constexpr auto c = categorize<wide<T, N>>();
^
third-party/eve/include/eve/module/core/regular/impl/simd/x86/is_not_equal.hpp:31:20: note: previous declaration is here
constexpr auto c = categorize<wide<T, N>>();
^
In file included from third-party/eve/include/eve/module/algo.hpp:22:
In file included from third-party/eve/include/eve/module/algo/algo/all_of.hpp:10:
In file included from third-party/eve/include/eve/module/algo/algo/array_utils.hpp:10:
In file included from third-party/eve/include/eve/module/core.hpp:104:
In file included from third-party/eve/include/eve/module/core/compress/core.hpp:10:
In file included from third-party/eve/include/eve/module/core/compress/compress.hpp:92:
In file included from third-party/eve/include/eve/module/core/compress/simd/common/compress.hpp:10:
In file included from third-party/eve/include/eve/module/core/compress/detail/compress_using_masks.hpp:58:
In file included from third-party/eve/include/eve/module/core/compress/detail/simd/common/compress_using_masks.hpp:12:
In file included from third-party/eve/include/eve/module/core/compress/detail/compress_mask_num.hpp:76:
In file included from third-party/eve/include/eve/module/core/compress/detail/simd/common/compress_mask_num.hpp:12:
In file included from third-party/eve/include/eve/module/core/regular/convert.hpp:93:
In file included from third-party/eve/include/eve/module/core/regular/impl/convert.hpp:10:
In file included from third-party/eve/include/eve/module/core/regular/impl/convert_helpers.hpp:19:
In file included from third-party/eve/include/eve/module/core/regular/shuffle.hpp:18:
In file included from third-party/eve/include/eve/module/core/detail/generic/find_optimized_shuffle_pattern.hpp:13:
In file included from third-party/eve/include/eve/module/core/regular/deinterleave_groups_shuffle.hpp:57:
In file included from third-party/eve/include/eve/module/core/regular/impl/simd/x86/deinterleave_groups_shuffle.hpp:10:
In file included from third-party/eve/include/eve/module/core/named_shuffles/swap_adjacent.hpp:11:
In file included from third-party/eve/include/eve/module/core/regular/shuffle_v2.hpp:12:
In file included from third-party/eve/include/eve/detail/shuffle_v2/native_shuffle_lookup.hpp:12:
In file included from third-party/eve/include/eve/detail/shuffle_v2/simd/common/native_shuffle_lookup.hpp:11:
In file included from third-party/eve/include/eve/detail/shuffle_v2/shuffle_l2.hpp:26:
third-party/eve/include/eve/detail/shuffle_v2/simd/common/shuffle_l2.hpp:46:39: error: declaration shadows a local variable [-Werror,-Wshadow]
else if constexpr( constexpr auto slide = idxm::is_slide_right(P::most_repeated) )
^
third-party/eve/include/eve/detail/shuffle_v2/simd/common/shuffle_l2.hpp:42:34: note: previous declaration is here
if constexpr( constexpr auto slide = idxm::is_slide_left(P::most_repeated) )
^
In file included from third-party/eve/include/eve/module/algo.hpp:22:
In file included from third-party/eve/include/eve/module/algo/algo/all_of.hpp:10:
In file included from third-party/eve/include/eve/module/algo/algo/array_utils.hpp:10:
In file included from third-party/eve/include/eve/module/core.hpp:104:
In file included from third-party/eve/include/eve/module/core/compress/core.hpp:10:
In file included from third-party/eve/include/eve/module/core/compress/compress.hpp:92:
In file included from third-party/eve/include/eve/module/core/compress/simd/common/compress.hpp:10:
In file included from third-party/eve/include/eve/module/core/compress/detail/compress_using_masks.hpp:58:
In file included from third-party/eve/include/eve/module/core/compress/detail/simd/common/compress_using_masks.hpp:12:
In file included from third-party/eve/include/eve/module/core/compress/detail/compress_mask_num.hpp:76:
In file included from third-party/eve/include/eve/module/core/compress/detail/simd/common/compress_mask_num.hpp:12:
In file included from third-party/eve/include/eve/module/core/regular/convert.hpp:93:
In file included from third-party/eve/include/eve/module/core/regular/impl/convert.hpp:10:
In file included from third-party/eve/include/eve/module/core/regular/impl/convert_helpers.hpp:19:
In file included from third-party/eve/include/eve/module/core/regular/shuffle.hpp:18:
In file included from third-party/eve/include/eve/module/core/detail/generic/find_optimized_shuffle_pattern.hpp:13:
In file included from third-party/eve/include/eve/module/core/regular/deinterleave_groups_shuffle.hpp:57:
In file included from third-party/eve/include/eve/module/core/regular/impl/simd/x86/deinterleave_groups_shuffle.hpp:10:
In file included from third-party/eve/include/eve/module/core/named_shuffles/swap_adjacent.hpp:11:
In file included from third-party/eve/include/eve/module/core/regular/shuffle_v2.hpp:12:
In file included from third-party/eve/include/eve/detail/shuffle_v2/native_shuffle_lookup.hpp:12:
In file included from third-party/eve/include/eve/detail/shuffle_v2/simd/common/native_shuffle_lookup.hpp:11:
In file included from third-party/eve/include/eve/detail/shuffle_v2/shuffle_l2.hpp:29:
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:31:37: error: declaration shadows a local variable [-Werror,-Wshadow]
else if constexpr( constexpr auto slide = idxm::is_slide_right(P::repeated_16); slide )
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:24:37: note: previous declaration is here
else if constexpr( constexpr auto slide = idxm::is_slide_left(P::repeated_16); slide )
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:145:27: error: declaration shadows a local variable [-Werror,-Wshadow]
else if constexpr( auto r = shuffle_l2_x86_repeated_128_4x32(p, g, x);
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:140:27: note: previous declaration is here
else if constexpr( auto r = shuffle_l2_x86_repeated_128_shifts_and_slides(p, g, x);
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:150:27: error: declaration shadows a local variable [-Werror,-Wshadow]
else if constexpr( auto r = shuffle_l2_x86_repeated_128_4_shorts(p, g, x);
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:145:27: note: previous declaration is here
else if constexpr( auto r = shuffle_l2_x86_repeated_128_4x32(p, g, x);
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:155:27: error: declaration shadows a local variable [-Werror,-Wshadow]
else if constexpr( auto r = shuffle_l2_x86_repeated_128_alignr(p, g, x);
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:150:27: note: previous declaration is here
else if constexpr( auto r = shuffle_l2_x86_repeated_128_4_shorts(p, g, x);
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:330:27: error: declaration shadows a local variable [-Werror,-Wshadow]
else if constexpr( auto r = shuffle_l2_x86_128_insert_one_zero(p, g, x);
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:326:22: note: previous declaration is here
if constexpr( auto r = shuffle_l2_x86_repeated_128(p, g, x); matched_shuffle<decltype(r)> )
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:335:27: error: declaration shadows a local variable [-Werror,-Wshadow]
else if constexpr( auto r = shuffle_l2_x86_repeated_256(p, g, x); matched_shuffle<decltype(r)> )
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:330:27: note: previous declaration is here
else if constexpr( auto r = shuffle_l2_x86_128_insert_one_zero(p, g, x);
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:339:27: error: declaration shadows a local variable [-Werror,-Wshadow]
else if constexpr( auto r = shuffle_l2_x86_u64x2(p, g, x); matched_shuffle<decltype(r)> )
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:335:27: note: previous declaration is here
else if constexpr( auto r = shuffle_l2_x86_repeated_256(p, g, x); matched_shuffle<decltype(r)> )
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:343:27: error: declaration shadows a local variable [-Werror,-Wshadow]
else if constexpr( auto r = shuffle_l2_alignr_epi32_self(p, g, x); matched_shuffle<decltype(r)> )
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:339:27: note: previous declaration is here
else if constexpr( auto r = shuffle_l2_x86_u64x2(p, g, x); matched_shuffle<decltype(r)> )
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:524:27: error: declaration shadows a local variable [-Werror,-Wshadow]
else if constexpr( auto r = shuffle_l2_x86_shuffle_i32x4(p, g, x, y);
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:520:22: note: previous declaration is here
if constexpr( auto r = shuffle_l2_x86_permute2f128(p, g, x, y); matched_shuffle<decltype(r)> )
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:594:27: error: declaration shadows a local variable [-Werror,-Wshadow]
else if constexpr( auto r = shuffle_l2_x86_repeated_128x2(p, g, x, y);
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:590:22: note: previous declaration is here
if constexpr( auto r = shuffle_l2_x86_blend(p, g, x, y); matched_shuffle<decltype(r)> )
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:599:27: error: declaration shadows a local variable [-Werror,-Wshadow]
else if constexpr( auto r = shuffle_l2_x86_within_128x2(p, g, x, y);
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:594:27: note: previous declaration is here
else if constexpr( auto r = shuffle_l2_x86_repeated_128x2(p, g, x, y);
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:604:27: error: declaration shadows a local variable [-Werror,-Wshadow]
else if constexpr( auto r = shuffle_l2_x86_shuffle_128_2regs(p, g, x, y);
^
third-party/eve/include/eve/detail/shuffle_v2/simd/x86/shuffle_l2.hpp:599:27: note: previous declaration is here
else if constexpr( auto r = shuffle_l2_x86_within_128x2(p, g, x, y);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]