Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compilation warning #293

Open
weilewei opened this issue Nov 2, 2023 · 3 comments
Open

compilation warning #293

weilewei opened this issue Nov 2, 2023 · 3 comments
Assignees

Comments

@weilewei
Copy link

weilewei commented Nov 2, 2023

Hello,

I encountered this warning when I include #include <experimental/mdspan>. I wonder if we do not suppress warning on my project, can we have a fix on mdspan repo? Or any suggestions are appreciated. Thanks.

/mypath/externals/mdspan/include/experimental/../mdspan/../experimental/__p0009_bits/dynamic_extent.hpp", line 29: warning: using-declaration ignored -- it refers to the current namespace [useless_using_declaration]
  using std::dynamic_extent;
        ^

Remark: individual warnings can be suppressed with "--diag_suppress <warning-name>"
@nmm0
Copy link
Contributor

nmm0 commented Nov 2, 2023

I'll take a look at it, the fix in mdspan seems pretty straightforward

@nmm0 nmm0 self-assigned this Nov 2, 2023
@nmm0
Copy link
Contributor

nmm0 commented Nov 9, 2023

@weilewei can you give the compiler version, C++ standard you are building on, and standard library (libstdc++, libc++) you are using?

@weilewei
Copy link
Author

weilewei commented Nov 9, 2023

@nmm0, I am using nvc++ 23.7, C++ standard 23, libstdc++.so.6.0.30, libc-2.31.so. (there is no libc++ in my ldd)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants