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: 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)?
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/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:8822a448-9527-9c94-6df0-15482990e72d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BA8C:BDE76:2649485:349C5CF:6A50477F |
| html-safe-nonce | e21176509ca65bdab78fefe34ccd1084d1a502b8c03e6a2b40b5a7a0292ad781 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQThDOkJERTc2OjI2NDk0ODU6MzQ5QzVDRjo2QTUwNDc3RiIsInZpc2l0b3JfaWQiOiIzODIxMjc0NzgzNDc3MTU1NzExIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 57bbb2b91a514f54cbaa6f7bb0b2047c76eebf8884fdd0922fc725ef2774f62d |
| 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/files |
| twitter:image | https://avatars.githubusercontent.com/u/24595729?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/24595729?s=400&v=4 |
| 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:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | d6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5741a45fe07e5f377d0d4c524a92e3056acc51bb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width