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

stdlib is not recognizable when using CLion and toolchains_llvm with sysroots #7255

Open
auzhva opened this issue Jan 23, 2025 · 0 comments
Open
Assignees
Labels
awaiting-maintainer Awaiting review from Bazel team on issues lang: c++ C++ rules integration product: CLion CLion plugin type: bug

Comments

@auzhva
Copy link

auzhva commented Jan 23, 2025

Description of the bug:

CLion doesn't see standard includes such as <map>, <list> and others if hermetic toolchain is used. All of them are marked red, though code is perfectly buildable.

Which category does this issue belong to?

No response

What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

Reproducible on configurations like here https://github.com/bazel-contrib/toolchains_llvm/blob/master/tests/MODULE.bazel#L162-L176

Which Intellij IDE are you using? Please provide the specific version.

2024.3.2

What programming languages and tools are you using? Please provide specific versions.

C/C++

What Bazel plugin version are you using?

Bazel 7.4.0, and Bazel 8

Have you found anything relevant by searching the web?

Might be related to this — #3817 as Android also uses sysroots. But reproducible without Android.

Any other information, logs, or outputs that you want to share?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-maintainer Awaiting review from Bazel team on issues lang: c++ C++ rules integration product: CLion CLion plugin type: bug
Projects
Status: Untriaged
Development

No branches or pull requests

6 participants