Title: Make ofstreams thow exception on write issues by samopolacek · Pull Request #5255 · cppcheck-opensource/cppcheck · GitHub
Open Graph Title: Make ofstreams thow exception on write issues by samopolacek · Pull Request #5255 · cppcheck-opensource/cppcheck
X Title: Make ofstreams thow exception on write issues by samopolacek · Pull Request #5255 · cppcheck-opensource/cppcheck
Description: static analysis of C/C++ code. Contribute to cppcheck-opensource/cppcheck development by creating an account on GitHub.
Open Graph Description: This is related to #5254. I have observed that if non-existent --cppcheck-build-dir is used, all file writes silently fail. Should we enable exceptions on std::ofstream(s)?
X Description: This is related to #5254. I have observed that if non-existent --cppcheck-build-dir is used, all file writes silently fail. Should we enable exceptions on std::ofstream(s)?
Opengraph URL: https://github.com/cppcheck-opensource/cppcheck/pull/5255
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:a2b6f170-7e8a-01bf-2de8-5111948670d5 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8010:2373EB:68DA198:92F7F2A:6A504939 |
| html-safe-nonce | f14bf8d5172ddceef7fa2c04b10b8089cc837f238b2190e8dad10c89e7af2560 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDEwOjIzNzNFQjo2OERBMTk4OjkyRjdGMkE6NkE1MDQ5MzkiLCJ2aXNpdG9yX2lkIjoiMjAwMDQxMTE4Nzc0NTkzMzYyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 40525594424e0b3fbca8d99e2d3dbda1235f0037f32df876abb43ad4687926c5 |
| hovercard-subject-tag | pull_request:1443053081 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/cppcheck-opensource/cppcheck/pull/5255/commits |
| twitter:image | https://opengraph.githubassets.com/ec72830f94d802f379cb67d2ce70a15bfda7ac8170ccebdd5f62a54a6f99447d/cppcheck-opensource/cppcheck/pull/5255 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ec72830f94d802f379cb67d2ce70a15bfda7ac8170ccebdd5f62a54a6f99447d/cppcheck-opensource/cppcheck/pull/5255 |
| og:image:alt | This is related to #5254. I have observed that if non-existent --cppcheck-build-dir is used, all file writes silently fail. Should we enable exceptions on std::ofstream(s)? |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | samopolacek |
| hostname | github.com |
| expected-hostname | github.com |
| None | d6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb |
| turbo-cache-control | no-cache |
| go-import | github.com/cppcheck-opensource/cppcheck git https://github.com/cppcheck-opensource/cppcheck.git |
| octolytics-dimension-user_id | 278097703 |
| octolytics-dimension-user_login | cppcheck-opensource |
| octolytics-dimension-repository_id | 143131 |
| octolytics-dimension-repository_nwo | cppcheck-opensource/cppcheck |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 143131 |
| octolytics-dimension-repository_network_root_nwo | cppcheck-opensource/cppcheck |
| 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 | 5741a45fe07e5f377d0d4c524a92e3056acc51bb |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width