Title: Do not assert when source file is missing · Issue #334 · cppcheck-opensource/simplecpp · GitHub
Open Graph Title: Do not assert when source file is missing · Issue #334 · cppcheck-opensource/simplecpp
X Title: Do not assert when source file is missing · Issue #334 · cppcheck-opensource/simplecpp
Description: Executing simplecpp with a missing file cause assertion error. We should report some file not found error instead: daniel@laptop:~/simplecpp$ ./simplecpp notexist.cpp simplecpp: simplecpp.cpp:388: FileStream::FileStream(const string&): A...
Open Graph Description: Executing simplecpp with a missing file cause assertion error. We should report some file not found error instead: daniel@laptop:~/simplecpp$ ./simplecpp notexist.cpp simplecpp: simplecpp.cpp:388: ...
X Description: Executing simplecpp with a missing file cause assertion error. We should report some file not found error instead: daniel@laptop:~/simplecpp$ ./simplecpp notexist.cpp simplecpp: simplecpp.cpp:388: ...
Opengraph URL: https://github.com/cppcheck-opensource/simplecpp/issues/334
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Do not assert when source file is missing","articleBody":"Executing simplecpp with a missing file cause assertion error. We should report some file not found error instead:\r\n\r\n```\r\ndaniel@laptop:~/simplecpp$ ./simplecpp notexist.cpp \r\nsimplecpp: simplecpp.cpp:388: FileStream::FileStream(const string\u0026): Assertion `file != nullptr' failed. \r\nAborted (core dumped)\r\n```","author":{"url":"https://github.com/danmar","@type":"Person","name":"danmar"},"datePublished":"2024-02-02T10:26:36.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/334/simplecpp/issues/334"}
| 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:a17acb20-c643-c6a6-bb2e-a6aba1bfaa5e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8874:16C3D3:154C7C9:1D1B800:6A4EFF6E |
| html-safe-nonce | 9260ff2221dbf5358ee9566831ccbd65d894bbb124225e457f4661fabbee0705 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4ODc0OjE2QzNEMzoxNTRDN0M5OjFEMUI4MDA6NkE0RUZGNkUiLCJ2aXNpdG9yX2lkIjoiODQ5MjkzODA5OTIxNDkwNzk4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 54cf5acc6e1fa1da149e49895bfcb5294bb5820c20103b59cac9992cc527255e |
| hovercard-subject-tag | issue:2114596738 |
| 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/cppcheck-opensource/simplecpp/334/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b398c0d99c4a7dfe0acb68b6c261cf001a34eb03e96e93c44261970717aed8ce/cppcheck-opensource/simplecpp/issues/334 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b398c0d99c4a7dfe0acb68b6c261cf001a34eb03e96e93c44261970717aed8ce/cppcheck-opensource/simplecpp/issues/334 |
| og:image:alt | Executing simplecpp with a missing file cause assertion error. We should report some file not found error instead: daniel@laptop:~/simplecpp$ ./simplecpp notexist.cpp simplecpp: simplecpp.cpp:388: ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | danmar |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| go-import | github.com/cppcheck-opensource/simplecpp git https://github.com/cppcheck-opensource/simplecpp.git |
| octolytics-dimension-user_id | 278097703 |
| octolytics-dimension-user_login | cppcheck-opensource |
| octolytics-dimension-repository_id | 33434464 |
| octolytics-dimension-repository_nwo | cppcheck-opensource/simplecpp |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 33434464 |
| octolytics-dimension-repository_network_root_nwo | cppcheck-opensource/simplecpp |
| 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 | 2b8f23afb982271f1b22258a94aede67a6b77760 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width