René's URL Explorer Experiment


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

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:a8e17b82-8f5a-1aac-a024-8a6a662268c8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB374:6435C:7998D6C:AA0315B:6A501C8C
html-safe-nonceeb59aa266bf0447b17e8047bf87941943b916c61052c2264a8146daa7c501280
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzc0OjY0MzVDOjc5OThENkM6QUEwMzE1Qjo2QTUwMUM4QyIsInZpc2l0b3JfaWQiOiIxOTk5NzI5MTY0MTE5MTg2NTcyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac406df50d80d8ec50a7d02569ff5a0fe39683f7f941689d903b7d7a1634a2791d
hovercard-subject-tagpull_request:1443053081
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/cppcheck-opensource/cppcheck/5255/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/ec72830f94d802f379cb67d2ce70a15bfda7ac8170ccebdd5f62a54a6f99447d/cppcheck-opensource/cppcheck/pull/5255
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ec72830f94d802f379cb67d2ce70a15bfda7ac8170ccebdd5f62a54a6f99447d/cppcheck-opensource/cppcheck/pull/5255
og:image:altThis 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesamopolacek
hostnamegithub.com
expected-hostnamegithub.com
None14f013003d3992e8746116a6f2f55cd2fdaccd329ee0423392831ae051ecb535
turbo-cache-controlno-cache
go-importgithub.com/cppcheck-opensource/cppcheck git https://github.com/cppcheck-opensource/cppcheck.git
octolytics-dimension-user_id278097703
octolytics-dimension-user_logincppcheck-opensource
octolytics-dimension-repository_id143131
octolytics-dimension-repository_nwocppcheck-opensource/cppcheck
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id143131
octolytics-dimension-repository_network_root_nwocppcheck-opensource/cppcheck
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
release26ee7c1a62943cf19a6fcc1d1ac93ac83465c885
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/cppcheck-opensource/cppcheck/pull/5255#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F5255
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%2Fcppcheck%2Fpull%2F5255
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=cppcheck-opensource%2Fcppcheck
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/5255
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/5255
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/5255
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/5255
cppcheck-opensource https://github.com/cppcheck-opensource
cppcheckhttps://github.com/cppcheck-opensource/cppcheck
Notifications https://github.com/login?return_to=%2Fcppcheck-opensource%2Fcppcheck
Fork 1.6k https://github.com/login?return_to=%2Fcppcheck-opensource%2Fcppcheck
Star 6.7k https://github.com/login?return_to=%2Fcppcheck-opensource%2Fcppcheck
Code https://github.com/cppcheck-opensource/cppcheck
Pull requests 203 https://github.com/cppcheck-opensource/cppcheck/pulls
Actions https://github.com/cppcheck-opensource/cppcheck/actions
Security and quality 0 https://github.com/cppcheck-opensource/cppcheck/security
Insights https://github.com/cppcheck-opensource/cppcheck/pulse
Code https://github.com/cppcheck-opensource/cppcheck
Pull requests https://github.com/cppcheck-opensource/cppcheck/pulls
Actions https://github.com/cppcheck-opensource/cppcheck/actions
Security and quality https://github.com/cppcheck-opensource/cppcheck/security
Insights https://github.com/cppcheck-opensource/cppcheck/pulse
samopolacekhttps://github.com/samopolacek
cppcheck-opensource:mainhttps://github.com/cppcheck-opensource/cppcheck/tree/main
samopolacek:check_write_issueshttps://github.com/samopolacek/cppcheck/tree/check_write_issues
Conversationhttps://github.com/cppcheck-opensource/cppcheck/pull/5255
Commits1 (1)https://github.com/cppcheck-opensource/cppcheck/pull/5255/commits
Checkshttps://github.com/cppcheck-opensource/cppcheck/pull/5255/checks
Files changedhttps://github.com/cppcheck-opensource/cppcheck/pull/5255/files
Make ofstreams thow exception on write issueshttps://github.com/cppcheck-opensource/cppcheck/pull/5255#top
samopolacekhttps://github.com/samopolacek
cppcheck-opensource:mainhttps://github.com/cppcheck-opensource/cppcheck/tree/main
samopolacek:check_write_issueshttps://github.com/samopolacek/cppcheck/tree/check_write_issues
https://github.com/samopolacek
samopolacekhttps://github.com/samopolacek
Jul 20, 2023https://github.com/cppcheck-opensource/cppcheck/pull/5255#issue-1814188876
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/5255
#5254https://github.com/cppcheck-opensource/cppcheck/pull/5254
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/5255
https://github.com/samopolacek
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F5255
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/5255
https://github.com/samopolacek
samopolacekhttps://github.com/samopolacek
force-pushedhttps://github.com/cppcheck-opensource/cppcheck/compare/6bc3616aa0a6569fcc8ece8dd5de3e6007641d87..a07cfa4462008747c54fa93fc7d77db3860a763f
6bc3616https://github.com/cppcheck-opensource/cppcheck/commit/6bc3616aa0a6569fcc8ece8dd5de3e6007641d87
a07cfa4https://github.com/cppcheck-opensource/cppcheck/commit/a07cfa4462008747c54fa93fc7d77db3860a763f
Compare https://github.com/cppcheck-opensource/cppcheck/compare/6bc3616aa0a6569fcc8ece8dd5de3e6007641d87..a07cfa4462008747c54fa93fc7d77db3860a763f
July 21, 2023 11:44https://github.com/cppcheck-opensource/cppcheck/pull/5255#event-9884480074
https://github.com/samopolacek
samopolacekhttps://github.com/samopolacek
Jul 24, 2023https://github.com/cppcheck-opensource/cppcheck/pull/5255#issuecomment-1647339928
@chrchr-githubhttps://github.com/chrchr-github
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/5255
https://github.com/samopolacek
samopolacekhttps://github.com/samopolacek
July 25, 2023 08:06https://github.com/cppcheck-opensource/cppcheck/pull/5255#event-9908447445
https://github.com/samopolacek
samopolacekhttps://github.com/samopolacek
Jul 25, 2023 https://github.com/cppcheck-opensource/cppcheck/pull/5255#pullrequestreview-1545098571
View reviewed changes https://github.com/cppcheck-opensource/cppcheck/pull/5255/files
lib/cppcheck.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/5255/files#diff-925c3b2fbb05c80e182f2b91beeddbec52d71b834acdff75f1e08c54ef47bfff
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/5255
https://github.com/samopolacek
samopolacekhttps://github.com/samopolacek
July 25, 2023 19:49https://github.com/cppcheck-opensource/cppcheck/pull/5255#event-9915781028
https://github.com/samopolacek
samopolacekhttps://github.com/samopolacek
Jul 25, 2023https://github.com/cppcheck-opensource/cppcheck/pull/5255#issuecomment-1650442036
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/5255
https://github.com/samopolacek
samopolacekhttps://github.com/samopolacek
Jul 25, 2023 https://github.com/cppcheck-opensource/cppcheck/pull/5255#pullrequestreview-1546292769
View reviewed changes https://github.com/cppcheck-opensource/cppcheck/pull/5255/files
cli/cppcheckexecutor.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/5255/files#diff-f4d43c3baf8c85745069cdf61a4022d74c2ef7775edf71106faf22f718644fed
samopolacekhttps://github.com/samopolacek
Jul 25, 2023https://github.com/cppcheck-opensource/cppcheck/pull/5255#discussion_r1274014551
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/5255
lib/analyzerinfo.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/5255/files#diff-c388ff209972f6f6d83b8ed70346058b0801bc9d41946af1c04bf11cb98d7e96
samopolacekhttps://github.com/samopolacek
Jul 25, 2023https://github.com/cppcheck-opensource/cppcheck/pull/5255#discussion_r1274014718
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/5255
lib/cppcheck.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/5255/files#diff-925c3b2fbb05c80e182f2b91beeddbec52d71b834acdff75f1e08c54ef47bfff
samopolacekhttps://github.com/samopolacek
Jul 25, 2023https://github.com/cppcheck-opensource/cppcheck/pull/5255#discussion_r1274015114
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/5255
https://github.com/firewave
firewavehttps://github.com/firewave
Jul 26, 2023https://github.com/cppcheck-opensource/cppcheck/pull/5255#issuecomment-1652274021
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/5255
https://github.com/firewave
firewavehttps://github.com/firewave
Jul 26, 2023 https://github.com/cppcheck-opensource/cppcheck/pull/5255#pullrequestreview-1548334185
View reviewed changes https://github.com/cppcheck-opensource/cppcheck/pull/5255/files
cli/cppcheckexecutor.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/5255/files#diff-f4d43c3baf8c85745069cdf61a4022d74c2ef7775edf71106faf22f718644fed
firewavehttps://github.com/firewave
Jul 26, 2023https://github.com/cppcheck-opensource/cppcheck/pull/5255#discussion_r1275328711
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/5255
https://github.com/firewave
firewavehttps://github.com/firewave
Jul 26, 2023 https://github.com/cppcheck-opensource/cppcheck/pull/5255#pullrequestreview-1548334865
View reviewed changes https://github.com/cppcheck-opensource/cppcheck/pull/5255/files
cli/cppcheckexecutor.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/5255/files#diff-f4d43c3baf8c85745069cdf61a4022d74c2ef7775edf71106faf22f718644fed
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/5255
https://github.com/samopolacek
samopolacekhttps://github.com/samopolacek
July 26, 2023 19:10https://github.com/cppcheck-opensource/cppcheck/pull/5255#event-9927778258
https://github.com/samopolacek
samopolacekhttps://github.com/samopolacek
force-pushedhttps://github.com/cppcheck-opensource/cppcheck/compare/7b16fdb4449bcd0e24415f857df2061905d0e13d..b6282efe1339f3c6e2e83609724174b79ccec445
7b16fdbhttps://github.com/cppcheck-opensource/cppcheck/commit/7b16fdb4449bcd0e24415f857df2061905d0e13d
b6282efhttps://github.com/cppcheck-opensource/cppcheck/commit/b6282efe1339f3c6e2e83609724174b79ccec445
Compare https://github.com/cppcheck-opensource/cppcheck/compare/7b16fdb4449bcd0e24415f857df2061905d0e13d..b6282efe1339f3c6e2e83609724174b79ccec445
July 26, 2023 19:34https://github.com/cppcheck-opensource/cppcheck/pull/5255#event-9927983993
https://github.com/samopolacek
Enable exceptions on ofstreamshttps://github.com/cppcheck-opensource/cppcheck/pull/5255/commits/729f9293892a49c5a21aedbb4fbfbf1f9f6dd2c0
729f929https://github.com/cppcheck-opensource/cppcheck/pull/5255/commits/729f9293892a49c5a21aedbb4fbfbf1f9f6dd2c0
https://github.com/samopolacek
samopolacekhttps://github.com/samopolacek
force-pushedhttps://github.com/cppcheck-opensource/cppcheck/compare/b6282efe1339f3c6e2e83609724174b79ccec445..729f9293892a49c5a21aedbb4fbfbf1f9f6dd2c0
b6282efhttps://github.com/cppcheck-opensource/cppcheck/commit/b6282efe1339f3c6e2e83609724174b79ccec445
729f929https://github.com/cppcheck-opensource/cppcheck/commit/729f9293892a49c5a21aedbb4fbfbf1f9f6dd2c0
Compare https://github.com/cppcheck-opensource/cppcheck/compare/b6282efe1339f3c6e2e83609724174b79ccec445..729f9293892a49c5a21aedbb4fbfbf1f9f6dd2c0
July 26, 2023 19:50https://github.com/cppcheck-opensource/cppcheck/pull/5255#event-9928121489
https://github.com/firewave
firewavehttps://github.com/firewave
May 27, 2024https://github.com/cppcheck-opensource/cppcheck/pull/5255#issuecomment-2133380115
cppcheck-opensource/simplecpp#339https://github.com/cppcheck-opensource/simplecpp/pull/339
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/5255
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/cppcheck/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F5255
https://github.com/firewave
firewave https://github.com/firewave
https://github.com/cppcheck-opensource/cppcheck/pull/5255/files/82d44e4e66269e7390af86a3e9977fd74011a0f0
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/5255
https://github.com/samopolacek
https://github.com/firewave
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.