Skip to content

etl::type_list_is_unique compilation error #1318

@dhebbeker

Description

@dhebbeker

I get the following compilation error on v20.46.0:

[build] In file included from include/etl/function_traits.h:35,
[build]                  from include/etl/private/delegate_cpp11.h:55,
[build]                  from include/etl/delegate.h:37,
[build]                  from include/etl/callback_timer_locked.h:35,
[build]                  from my source:
[build] include/etl/type_list.h:656:31: error: 'is_same' is not a member of 'std'; did you mean 'etl::is_same'? [-Wtemplate-body]
[build]   656 |     : etl::bool_constant<std::is_same<TTypeList, typename type_list_unique<TTypeList>::type>::value>
[build]       |                               ^~~~~~~

Compiler:

c++.exe (MinGW-W64 x86_64-ucrt-posix-seh, built by Brecht Sanders, r5) 15.2.0

Relevant options:

-DETL_NO_INITIALIZER_LIST -DETL_NO_STL -DETL_TARGET_OS_CMSIS_OS2 -std=gnu++20

May be related to #1307

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

To do

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions