-
Notifications
You must be signed in to change notification settings - Fork 383
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
[analyzer] Use -imacros
flag instead of -macros
#3428
Conversation
This was seemingly last touched in Ericsson#2449 (Ericsson/codechecker@7d93b32) but it seems like a typo. There's no such flag as `-macros` in neither Clang nor GCC.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
I wouldn't be so brave to do this modification in the last minute before the release. It is possible that we met this flag in a non-standard compiler. If the addition of -imacros is needed, then add it instead of change the previous one. |
@bruntib Yeah that's why I wanted you to look at the patch too... I couldn't figure out the reasoning behind the changes in the previous patch. The addition of I'll change the patch ASAP! |
I think it was a typo during code refactoring when this |
This seems like a clear indication of a typo. IMO the patch is good as-is. |
(Side note: we should really put some comments up what these big lists of flags mean.) I have the updated patch ready if you want that, but I am fine with keeping the current patch. |
I guess this missed the 6.17.0 release. |
@steakhal Yeah, seems like so, I just asked. We could target both 6.17.1 and 6.18 though. |
This was seemingly last touched in #2449 (7d93b32) but it seems like a typo. There's no such flag as
-macros
in neither Clang nor GCC.