Title: support binary literals in preprocessor checks · Issue #613 · cppcheck-opensource/simplecpp · GitHub
Open Graph Title: support binary literals in preprocessor checks · Issue #613 · cppcheck-opensource/simplecpp
X Title: support binary literals in preprocessor checks · Issue #613 · cppcheck-opensource/simplecpp
Description: #if A == 0b1 int i; #endif There is no code using -DA1. Binary literals were introduced in C++14. This is supported by all major compilers.
Open Graph Description: #if A == 0b1 int i; #endif There is no code using -DA1. Binary literals were introduced in C++14. This is supported by all major compilers.
X Description: #if A == 0b1 int i; #endif There is no code using -DA1. Binary literals were introduced in C++14. This is supported by all major compilers.
Opengraph URL: https://github.com/cppcheck-opensource/simplecpp/issues/613
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"support binary literals in preprocessor checks","articleBody":"```cpp\n#if A == 0b1\nint i;\n#endif\n```\n\nThere is no code using `-DA1`.\n\nBinary literals were introduced in C++14. This is supported by all major compilers.","author":{"url":"https://github.com/firewave","@type":"Person","name":"firewave"},"datePublished":"2026-01-03T06:51:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/613/simplecpp/issues/613"}
| 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:46fd62a8-91f9-2062-3ea9-ff99cbe47e2f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B5EE:514A5:C6C006:1110F09:6A4DC876 |
| html-safe-nonce | 5a95eb996aa254244642f7cef1737bf2c0f38c258a47a18193ef160e7fba2ac6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNUVFOjUxNEE1OkM2QzAwNjoxMTEwRjA5OjZBNERDODc2IiwidmlzaXRvcl9pZCI6IjUyNjIxMDg1NDg4OTI4MzgwMDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0bb6026a1cf8b8d6e25f9b00600ba03d81bde7a90cd24811f59246f6cccf2b6a |
| hovercard-subject-tag | issue:3777780902 |
| 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/613/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cc68a4de7087143358f508de5e8b9411d7fe02a8612fe86d56ec842136978ea9/cppcheck-opensource/simplecpp/issues/613 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cc68a4de7087143358f508de5e8b9411d7fe02a8612fe86d56ec842136978ea9/cppcheck-opensource/simplecpp/issues/613 |
| og:image:alt | #if A == 0b1 int i; #endif There is no code using -DA1. Binary literals were introduced in C++14. This is supported by all major compilers. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | firewave |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| 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 | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width