René's URL Explorer Experiment


Title: fix: use both absolute and relative header paths in header matching by Tal500 · Pull Request #362 · cppcheck-opensource/simplecpp · GitHub

Open Graph Title: fix: use both absolute and relative header paths in header matching by Tal500 · Pull Request #362 · cppcheck-opensource/simplecpp

X Title: fix: use both absolute and relative header paths in header matching by Tal500 · Pull Request #362 · cppcheck-opensource/simplecpp

Description: C++ preprocessor. Contribute to cppcheck-opensource/simplecpp development by creating an account on GitHub.

Open Graph Description: Fixes #402 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 eve...

X Description: Fixes #402 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 eve...

Opengraph URL: https://github.com/cppcheck-opensource/simplecpp/pull/362

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:4cc7f9f1-e253-c308-0095-c278882fbfea
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD35C:1B445F:24D1F74:3340C34:6A4F5031
html-safe-nonce7ebce238897cb9414a4aab8e9b96cab0ee923fb2bffeca7965a3788dd3241921
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMzVDOjFCNDQ1RjoyNEQxRjc0OjMzNDBDMzQ6NkE0RjUwMzEiLCJ2aXNpdG9yX2lkIjoiMjg0MDk5MDk1ODIxMTc4MDY1NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac26b81b78b5ed8440c37297367c8e6656d480db57296021fee8d5551ac37e5cf9
hovercard-subject-tagpull_request:2005624023
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/cppcheck-opensource/simplecpp/pull/362/commits
twitter:imagehttps://opengraph.githubassets.com/c90171221f024924b4983d69af17c59290b5846634da49bd40e2ec73fa29f277/cppcheck-opensource/simplecpp/pull/362
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c90171221f024924b4983d69af17c59290b5846634da49bd40e2ec73fa29f277/cppcheck-opensource/simplecpp/pull/362
og:image:altFixes #402 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 eve...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameTal500
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
turbo-cache-controlno-cache
go-importgithub.com/cppcheck-opensource/simplecpp git https://github.com/cppcheck-opensource/simplecpp.git
octolytics-dimension-user_id278097703
octolytics-dimension-user_logincppcheck-opensource
octolytics-dimension-repository_id33434464
octolytics-dimension-repository_nwocppcheck-opensource/simplecpp
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id33434464
octolytics-dimension-repository_network_root_nwocppcheck-opensource/simplecpp
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4b249b445842943ed31549e027f57a8ade9881ed
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/cppcheck-opensource/simplecpp/pull/362/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fsimplecpp%2Fpull%2F362%2Fcommits
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fsimplecpp%2Fpull%2F362%2Fcommits
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=cppcheck-opensource%2Fsimplecpp
Reloadhttps://github.com/cppcheck-opensource/simplecpp/pull/362/commits
Reloadhttps://github.com/cppcheck-opensource/simplecpp/pull/362/commits
Reloadhttps://github.com/cppcheck-opensource/simplecpp/pull/362/commits
Please reload this pagehttps://github.com/cppcheck-opensource/simplecpp/pull/362/commits
cppcheck-opensource https://github.com/cppcheck-opensource
simplecpphttps://github.com/cppcheck-opensource/simplecpp
Notifications https://github.com/login?return_to=%2Fcppcheck-opensource%2Fsimplecpp
Fork 104 https://github.com/login?return_to=%2Fcppcheck-opensource%2Fsimplecpp
Star 263 https://github.com/login?return_to=%2Fcppcheck-opensource%2Fsimplecpp
Code https://github.com/cppcheck-opensource/simplecpp
Issues 82 https://github.com/cppcheck-opensource/simplecpp/issues
Pull requests 31 https://github.com/cppcheck-opensource/simplecpp/pulls
Actions https://github.com/cppcheck-opensource/simplecpp/actions
Wiki https://github.com/cppcheck-opensource/simplecpp/wiki
Security and quality 0 https://github.com/cppcheck-opensource/simplecpp/security
Insights https://github.com/cppcheck-opensource/simplecpp/pulse
Code https://github.com/cppcheck-opensource/simplecpp
Issues https://github.com/cppcheck-opensource/simplecpp/issues
Pull requests https://github.com/cppcheck-opensource/simplecpp/pulls
Actions https://github.com/cppcheck-opensource/simplecpp/actions
Wiki https://github.com/cppcheck-opensource/simplecpp/wiki
Security and quality https://github.com/cppcheck-opensource/simplecpp/security
Insights https://github.com/cppcheck-opensource/simplecpp/pulse
danmarhttps://github.com/danmar
cppcheck-opensource:masterhttps://github.com/cppcheck-opensource/simplecpp/tree/master
Conversationhttps://github.com/cppcheck-opensource/simplecpp/pull/362
Commits16 (16)https://github.com/cppcheck-opensource/simplecpp/pull/362/commits
Checkshttps://github.com/cppcheck-opensource/simplecpp/pull/362/checks
Files changedhttps://github.com/cppcheck-opensource/simplecpp/pull/362/files
fix: use both absolute and relative header paths in header matchinghttps://github.com/cppcheck-opensource/simplecpp/pull/362/commits#top
danmarhttps://github.com/danmar
cppcheck-opensource:masterhttps://github.com/cppcheck-opensource/simplecpp/tree/master
fix: always use absolute (and simplified) header path whenever possiblehttps://github.com/cppcheck-opensource/simplecpp/pull/362/commits/907c44354a9bcf2509bc073ec30d8fd84e0b7026
https://github.com/Tal500
Tal500https://github.com/cppcheck-opensource/simplecpp/commits?author=Tal500
907c443https://github.com/cppcheck-opensource/simplecpp/pull/362/commits/907c44354a9bcf2509bc073ec30d8fd84e0b7026
https://github.com/cppcheck-opensource/simplecpp/tree/907c44354a9bcf2509bc073ec30d8fd84e0b7026
Merge branch 'master' into absolute-path-headerhttps://github.com/cppcheck-opensource/simplecpp/pull/362/commits/4e0259229fbab1c14f51bc6dfe1fb113eaaac081
https://github.com/Tal500
Tal500https://github.com/cppcheck-opensource/simplecpp/commits?author=Tal500
4e02592https://github.com/cppcheck-opensource/simplecpp/pull/362/commits/4e0259229fbab1c14f51bc6dfe1fb113eaaac081
https://github.com/cppcheck-opensource/simplecpp/tree/4e0259229fbab1c14f51bc6dfe1fb113eaaac081
respect relative paths, but check both absolute and relative path id insteadhttps://github.com/cppcheck-opensource/simplecpp/pull/362/commits/17d74dff831aa4046b2af581398bf55f6c567666
17d74dfhttps://github.com/cppcheck-opensource/simplecpp/pull/362/commits/17d74dff831aa4046b2af581398bf55f6c567666
https://github.com/cppcheck-opensource/simplecpp/tree/17d74dff831aa4046b2af581398bf55f6c567666
simplify path usage functions to be just stringshttps://github.com/cppcheck-opensource/simplecpp/pull/362/commits/f156111b9ce350ff15124a6b999bb8e945932297
f156111https://github.com/cppcheck-opensource/simplecpp/pull/362/commits/f156111b9ce350ff15124a6b999bb8e945932297
https://github.com/cppcheck-opensource/simplecpp/tree/f156111b9ce350ff15124a6b999bb8e945932297
tidy fixhttps://github.com/cppcheck-opensource/simplecpp/pull/362/commits/28cdb8aa3341b8f6bcab35a20cef7db9013f4162
28cdb8ahttps://github.com/cppcheck-opensource/simplecpp/pull/362/commits/28cdb8aa3341b8f6bcab35a20cef7db9013f4162
https://github.com/cppcheck-opensource/simplecpp/tree/28cdb8aa3341b8f6bcab35a20cef7db9013f4162
add integration testshttps://github.com/cppcheck-opensource/simplecpp/pull/362/commits/2893b68b9420d3c4b137e3a484ddd3976ce4649d
2893b68https://github.com/cppcheck-opensource/simplecpp/pull/362/commits/2893b68b9420d3c4b137e3a484ddd3976ce4649d
https://github.com/cppcheck-opensource/simplecpp/tree/2893b68b9420d3c4b137e3a484ddd3976ce4649d
run integraion tests on CI-unixish.ymlhttps://github.com/cppcheck-opensource/simplecpp/pull/362/commits/196a498f2b4d7b2e175287417519ccaa9b636c24
https://github.com/Tal500
Tal500https://github.com/cppcheck-opensource/simplecpp/commits?author=Tal500
196a498https://github.com/cppcheck-opensource/simplecpp/pull/362/commits/196a498f2b4d7b2e175287417519ccaa9b636c24
https://github.com/cppcheck-opensource/simplecpp/tree/196a498f2b4d7b2e175287417519ccaa9b636c24
Use `pip --user` to avoid macos14 permission issues in CI-unixish.ymlhttps://github.com/cppcheck-opensource/simplecpp/pull/362/commits/52c77b9a824a17425a53e68f3dc8baba63cc1ec8
https://github.com/Tal500
Tal500https://github.com/cppcheck-opensource/simplecpp/commits?author=Tal500
52c77b9https://github.com/cppcheck-opensource/simplecpp/pull/362/commits/52c77b9a824a17425a53e68f3dc8baba63cc1ec8
https://github.com/cppcheck-opensource/simplecpp/tree/52c77b9a824a17425a53e68f3dc8baba63cc1ec8
Move the flag `--user` in the pip install row CI-unixish.ymlhttps://github.com/cppcheck-opensource/simplecpp/pull/362/commits/ef7837a5be7be0053dd89929180224ab38dfbe7b
https://github.com/Tal500
Tal500https://github.com/cppcheck-opensource/simplecpp/commits?author=Tal500
ef7837ahttps://github.com/cppcheck-opensource/simplecpp/pull/362/commits/ef7837a5be7be0053dd89929180224ab38dfbe7b
https://github.com/cppcheck-opensource/simplecpp/tree/ef7837a5be7be0053dd89929180224ab38dfbe7b
Try the flag `--break-system-packages` instead of `--user` in CI-unixish.ymlhttps://github.com/cppcheck-opensource/simplecpp/pull/362/commits/c2e9b673ecdda0a29babc68b428a5f03c77340bb
https://github.com/Tal500
Tal500https://github.com/cppcheck-opensource/simplecpp/commits?author=Tal500
c2e9b67https://github.com/cppcheck-opensource/simplecpp/pull/362/commits/c2e9b673ecdda0a29babc68b428a5f03c77340bb
https://github.com/cppcheck-opensource/simplecpp/tree/c2e9b673ecdda0a29babc68b428a5f03c77340bb
Set in a more poratable way break-system-packages to be true CI-unixish.ymlhttps://github.com/cppcheck-opensource/simplecpp/pull/362/commits/26ee4d926d10cce64699ab0decc0500bccd07dfb
https://github.com/Tal500
Tal500https://github.com/cppcheck-opensource/simplecpp/commits?author=Tal500
26ee4d9https://github.com/cppcheck-opensource/simplecpp/pull/362/commits/26ee4d926d10cce64699ab0decc0500bccd07dfb
https://github.com/cppcheck-opensource/simplecpp/tree/26ee4d926d10cce64699ab0decc0500bccd07dfb
Pytest for Windows in CI-windows.ymlhttps://github.com/cppcheck-opensource/simplecpp/pull/362/commits/3b6fc9cf9dff670e4041ee90bda2fb023b9eff08
https://github.com/Tal500
Tal500https://github.com/cppcheck-opensource/simplecpp/commits?author=Tal500
3b6fc9chttps://github.com/cppcheck-opensource/simplecpp/pull/362/commits/3b6fc9cf9dff670e4041ee90bda2fb023b9eff08
https://github.com/cppcheck-opensource/simplecpp/tree/3b6fc9cf9dff670e4041ee90bda2fb023b9eff08
Update testutils.py: allow custom SIMPLECPP_EXE_PATH for integration testshttps://github.com/cppcheck-opensource/simplecpp/pull/362/commits/9db5d609388b3e9d2f895974805f59025bd1f06a
https://github.com/Tal500
Tal500https://github.com/cppcheck-opensource/simplecpp/commits?author=Tal500
9db5d60https://github.com/cppcheck-opensource/simplecpp/pull/362/commits/9db5d609388b3e9d2f895974805f59025bd1f06a
https://github.com/cppcheck-opensource/simplecpp/tree/9db5d609388b3e9d2f895974805f59025bd1f06a
Update CI-windows.yml: pass SIMPLECPP_EXE_PATH env varhttps://github.com/cppcheck-opensource/simplecpp/pull/362/commits/47853fb4cc65d14082ce0950d149e475cdb0be92
https://github.com/Tal500
Tal500https://github.com/cppcheck-opensource/simplecpp/commits?author=Tal500
47853fbhttps://github.com/cppcheck-opensource/simplecpp/pull/362/commits/47853fb4cc65d14082ce0950d149e475cdb0be92
https://github.com/cppcheck-opensource/simplecpp/tree/47853fb4cc65d14082ce0950d149e475cdb0be92
Update CI-windows.yml: fix the set commandhttps://github.com/cppcheck-opensource/simplecpp/pull/362/commits/c0262191d560e50f4f369a459ece5aadf6072a13
https://github.com/Tal500
Tal500https://github.com/cppcheck-opensource/simplecpp/commits?author=Tal500
c026219https://github.com/cppcheck-opensource/simplecpp/pull/362/commits/c0262191d560e50f4f369a459ece5aadf6072a13
https://github.com/cppcheck-opensource/simplecpp/tree/c0262191d560e50f4f369a459ece5aadf6072a13
use parametrized tests and improve coverage in integration_test.pyhttps://github.com/cppcheck-opensource/simplecpp/pull/362/commits/a402c7918b316a54a7a51f2ed694d26d57f5bc0c
https://github.com/Tal500
Tal500https://github.com/cppcheck-opensource/simplecpp/commits?author=Tal500
a402c79https://github.com/cppcheck-opensource/simplecpp/pull/362/commits/a402c7918b316a54a7a51f2ed694d26d57f5bc0c
https://github.com/cppcheck-opensource/simplecpp/tree/a402c7918b316a54a7a51f2ed694d26d57f5bc0c
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.