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

Avoid GCC's stdlib being picked up when indexing CUDA #440

Open
varungandhi-src opened this issue Oct 4, 2023 · 0 comments
Open

Avoid GCC's stdlib being picked up when indexing CUDA #440

varungandhi-src opened this issue Oct 4, 2023 · 0 comments

Comments

@varungandhi-src
Copy link
Contributor

When indexing MXNet, we see some errors when using --show-compiler-diagnostics like:

In file included from /home/varun/mxnet/include/dmlc/./logging.h:15:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/memory:76:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/shared_ptr.h:53:
/usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/shared_ptr_base.h:196:22: error: use of undeclared identifier 'noinline'; did you mean 'inline'?
      __attribute__((__noinline__))
                     ^

It's unclear why GCC headers are being included, it would be nice to avoid them if possible.

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

No branches or pull requests

1 participant