NVIDIA/stdexec

`gcc`: a lot of `-Werror=shadow` related errors for the `Hello, world !` example

Opened this issue · 0 comments

Example at

using __tag_t = typename __op_state::__tag_t;
:

/workspaces/.../external/stdexec/include/exec/../stdexec/__detail/__basic_sender.hpp: In member function 'void stdexec::__detail::__op_state<_Sexpr, _Receiver>::start() &':
/workspaces/.../external/stdexec/include/exec/../stdexec/__detail/__basic_sender.hpp:408:15: error: declaration of 'using __tag_t = using __tag_t = typename decltype (__mdecay<_Ty>)::__f<_Ty>::__desc_t::__tag' shadows a member of 'stdexec::__detail::__op_state<_Sexpr, _Receiver>' [-Werror=shadow]
  408 |         using __tag_t = typename __op_state::__tag_t;
      |               ^~~~~~~
/workspaces/.../external/stdexec/include/exec/../stdexec/__detail/__basic_sender.hpp:382:13: note: shadowed declaration is here
  382 |       using __tag_t = typename __desc_t::__tag;
      |             ^~~~~~~

I guess that this should be resolved, as it might hide bugs ?