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
IWYU wants to pull in iosfwd "for std" #1251
Comments
It would help if you could specify the OS and compiler (i.e. standard libraries) that you're using, as well as IWYU version. At a guess, does the code you are checking do |
Sorry. I'm using Clang 16 from the LLVM APT repository on Ubuntu 18.04 with libgcc-s1 from the test tool repository (since the newer LLVM binaries require it and 18.04 is relatively old). Also, yes, those files do use |
Yes. Note that there's specific advice against Hopefully my PR, or something similar can make it to IWYU 0.21 |
Alright, I'll close this since it's at best a duplicate of another issue. Thanks for the response, that cleared up my confusion. |
I'm not sure what this means. For every file that has an std type of any kind, it keeps wanting to pull in iosfwd "for std". What does this mean, what causes it, and what can I do about it?
The text was updated successfully, but these errors were encountered: