Title: support CMAKE_UNITY_BUILD by tnixeu · Pull Request #6104 · cppcheck-opensource/cppcheck · GitHub
Open Graph Title: support CMAKE_UNITY_BUILD by tnixeu · Pull Request #6104 · cppcheck-opensource/cppcheck
X Title: support CMAKE_UNITY_BUILD by tnixeu · Pull Request #6104 · cppcheck-opensource/cppcheck
Description: I noticed that cppcheck can not be built with a CMAKE_UNITY_BUILD. The changes in the PR allow to do a CMAKE_UNITY_BUILD. Notable changes: move all CWE to the errortypes.h header as extern and the definition to the errortypes.cpp renamed some variables or functions in order to avoid ODR conflicts move code into namespaces in order to avoid ORD conflicts add a hash of the pattern to the generated match and findMatch functions in order to avoid ORD conflicts. I intentionally tried to keep the initial PR small, so I did not change the indentation for the changed namespaces or do any bigger refactoring.
Open Graph Description: I noticed that cppcheck can not be built with a CMAKE_UNITY_BUILD. The changes in the PR allow to do a CMAKE_UNITY_BUILD. Notable changes: move all CWE to the errortypes.h header as extern and the...
X Description: I noticed that cppcheck can not be built with a CMAKE_UNITY_BUILD. The changes in the PR allow to do a CMAKE_UNITY_BUILD. Notable changes: move all CWE to the errortypes.h header as extern and the...
Opengraph URL: https://github.com/cppcheck-opensource/cppcheck/pull/6104
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:bd7fcda6-3dd1-a669-96cd-9c9f6eb6c38f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A7D6:102756:A6EC51:E22DDA:6A4EF57A |
| html-safe-nonce | 8b8f4c9000427506ac159c97e88d4ca84c646ebf3dab5cd70a34d5a0be12c6ed |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBN0Q2OjEwMjc1NjpBNkVDNTE6RTIyRERBOjZBNEVGNTdBIiwidmlzaXRvcl9pZCI6IjMzNzYzODM1NDI0Njg0NzQyMzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | fc153b2895f335d0c3c63b2851db5ce0bf2b70d84a6e61a58ad5f43b8bb625a4 |
| hovercard-subject-tag | pull_request:1763838024 |
| 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/6104/files |
| twitter:image | https://avatars.githubusercontent.com/u/4436784?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/4436784?s=400&v=4 |
| og:image:alt | I noticed that cppcheck can not be built with a CMAKE_UNITY_BUILD. The changes in the PR allow to do a CMAKE_UNITY_BUILD. Notable changes: move all CWE to the errortypes.h header as extern and the... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| 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 | 2b8f23afb982271f1b22258a94aede67a6b77760 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width