-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Clang cannot find C++ header files on 24.04 #11229
Comments
Hi @K20shores , Thank you for bringing this issue to our attention. We are looking into this issue and will update you on this issue after investigating. |
Hi @K20shores - As per reproduction steps we created a minimal CPP project and executed the workflow , but the workflow passed as expected. Let us know if missing something. |
@subir0071 Your action uses the GCC compiler. Please use the clang compiler. I updated my reproduction steps to represent this. Sorry for the confusion. I see this issue with the clang compiler. |
I updated my workflow to select clang compiler. |
Hope your issue is resolved. |
@subir0071 this is not resolved. I just got back from a two week vacation and have not yet had time to look at this |
Description
Following the update of
ubuntu-latest
updating to Ubuntu 24.04, Ubuntu workflows with clang started failing to build. It seems that Clang cannot find the header files for much of the C++ standard library.Anything failing on 20.04 is a non issue because we weren't really targeting that. However, clang on 24.04 does not seem to find the C++ header files.
Platforms affected
Runner images affected
Image version and build link
I put together an action which builds our software with gcc/clang in debug/release on 20.04, 22.04, 24.04, and latest so I can see where we are failing. The action.
Is it regression?
Yes
Expected behavior
Clang finds c++ header files
Actual behavior
Clang doesn't find c++ header files
Repro steps
Create a project which uses C++ on Ubuntu 24.04 and try to compile it with clang
The text was updated successfully, but these errors were encountered: