Title: Include flags with relative directories always resolve relative to workspace · Issue #52 · microsoft/vscode-cpptools-api · GitHub
Open Graph Title: Include flags with relative directories always resolve relative to workspace · Issue #52 · microsoft/vscode-cpptools-api
X Title: Include flags with relative directories always resolve relative to workspace · Issue #52 · microsoft/vscode-cpptools-api
Description: Problem If a SourceFileConfiguration includes a entry in compilerFragments like /I..\foo, cpptools will attempt to resolve that include directory relative to the VS Code workspace root and silently discard the flag if the directory does ...
Open Graph Description: Problem If a SourceFileConfiguration includes a entry in compilerFragments like /I..\foo, cpptools will attempt to resolve that include directory relative to the VS Code workspace root and silently...
X Description: Problem If a SourceFileConfiguration includes a entry in compilerFragments like /I..\foo, cpptools will attempt to resolve that include directory relative to the VS Code workspace root and silently...
Opengraph URL: https://github.com/microsoft/vscode-cpptools-api/issues/52
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Include flags with relative directories always resolve relative to workspace","articleBody":"# Problem\r\n\r\nIf a `SourceFileConfiguration` includes a entry in `compilerFragments` like `/I..\\foo`, cpptools will attempt to resolve that include directory relative to the VS Code workspace root and silently discard the flag if the directory does not exist. However, it's possible that the compiler process was invoked with a different working directory than the workspace root, and the relative include directory would have resolved successfully relative to the compiler's working directory.\r\n\r\n# Suggested fix\r\n\r\nAdd a new `readonly directory?: string;` property to `SourceFileConfiguration` that specifies the working directory of the compiler process. Relative paths in `compilerFragments` should resolve relative to `directory`, if it is defined.","author":{"url":"https://github.com/benmcmorran","@type":"Person","name":"benmcmorran"},"datePublished":"2023-09-13T18:24:35Z","url":"https://github.com/microsoft/vscode-cpptools-api/issues/52"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7c2b2d74-80b4-3fe6-47c2-0206147e8646 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8066:76F02:D79580:115F89B:6B00F7C7 |
| html-safe-nonce | c4f4bd9f7fab6f5d3011f297d14c48cf0a142119eff6270a1633f448564d4387 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDY2Ojc2RjAyOkQ3OTU4MDoxMTVGODlCOjZCMDBGN0M3IiwidmlzaXRvcl9pZCI6IjY1MTgxNDYxODgxNTQzMDQ0NTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 319148576563f283216ac0e8632688ae84a6323c63789787559d9d2600060dd1 |
| hovercard-subject-tag | issue:1895036330 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/vscode-cpptools-api/52/issue_layout |
| twitter:image | https://opengraph.githubassets.com/16bc24d3564be433154f2f90d463a2a8f3a9df529b55f6a7ae80b9aface99500/microsoft/vscode-cpptools-api/issues/52 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/16bc24d3564be433154f2f90d463a2a8f3a9df529b55f6a7ae80b9aface99500/microsoft/vscode-cpptools-api/issues/52 |
| og:image:alt | Problem If a SourceFileConfiguration includes a entry in compilerFragments like /I..\foo, cpptools will attempt to resolve that include directory relative to the VS Code workspace root and silently... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | benmcmorran |
| hostname | github.com |
| expected-hostname | github.com |
| None | e208d86428ec00a57ade75058166297440e8128a01e5287c31a53dc042bbf187 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/vscode-cpptools-api git https://github.com/microsoft/vscode-cpptools-api.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 133980178 |
| octolytics-dimension-repository_nwo | microsoft/vscode-cpptools-api |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 133980178 |
| octolytics-dimension-repository_network_root_nwo | microsoft/vscode-cpptools-api |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7dafd017fb7809a839c443dba08622af38e63c09 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width