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

fix: always use absolute (and simplified) header path whenever possible #362

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Aug 6, 2024

  1. fix: always use absolute (and simplified) header path whenever possible

    This fix an issue of importing the same header by different addresses.
    The issue is trickier than seems, because if a user used the include dir flag `-I...` with an absolute path, then every matched header was detected to be absolute, but if the import was a relative import to the source file and the source file isn't with an absolute path, than the header is identified by the combined relative path.
    See https://sourceforge.net/p/cppcheck/discussion/general/thread/c01f80556b/
    Tal500 authored Aug 6, 2024
    Configuration menu
    Copy the full SHA
    907c443 View commit details
    Browse the repository at this point in the history