Title: do not allow user-defined literals in preprocessor checks · Issue #614 · cppcheck-opensource/simplecpp · GitHub
Open Graph Title: do not allow user-defined literals in preprocessor checks · Issue #614 · cppcheck-opensource/simplecpp
X Title: do not allow user-defined literals in preprocessor checks · Issue #614 · cppcheck-opensource/simplecpp
Description: #if A == 1t int i; #endif This is handled and produces code using -DA=1. It is rejected by all major compilers.
Open Graph Description: #if A == 1t int i; #endif This is handled and produces code using -DA=1. It is rejected by all major compilers.
X Description: #if A == 1t int i; #endif This is handled and produces code using -DA=1. It is rejected by all major compilers.
Opengraph URL: https://github.com/cppcheck-opensource/simplecpp/issues/614
X: @github
Domain: Github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"do not allow user-defined literals in preprocessor checks","articleBody":"```cpp\n#if A == 1t\nint i;\n#endif\n```\n\nThis is handled and produces code using `-DA=1`. It is rejected by all major compilers.","author":{"url":"https://github.com/firewave","@type":"Person","name":"firewave"},"datePublished":"2026-01-03T07:00:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/614/simplecpp/issues/614"}
| 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:7e1c2998-fb1d-e478-2b4b-00f510353d38 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 98F8:242D7C:F0B014:15AF255:6A632AA8 |
| html-safe-nonce | b81a5b9ce315160e0946fbce69f1e9fac8eac45764eb4515d81112d349619a81 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OEY4OjI0MkQ3QzpGMEIwMTQ6MTVBRjI1NTo2QTYzMkFBOCIsInZpc2l0b3JfaWQiOiI1NjAyNTQxNzE0MjAzMTU5MjA4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e2398bf4cd4c91e18d50168527a52eabc450d25223c12ffb7b6163eefe3cfd62 |
| hovercard-subject-tag | issue:3777786789 |
| 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/614/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f8e6d5da204d8d1e25387d0f293df74c4dd3e7208dbf0268ef3a5a6895231e38/cppcheck-opensource/simplecpp/issues/614 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f8e6d5da204d8d1e25387d0f293df74c4dd3e7208dbf0268ef3a5a6895231e38/cppcheck-opensource/simplecpp/issues/614 |
| og:image:alt | #if A == 1t int i; #endif This is handled and produces code using -DA=1. It is rejected 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 | 30c644d502bce6cd2e59f9000b4744f2b64819abea8e8f959b18e3ad793125aa |
| 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 | 331492a48ebd91d66ef2de38e1901bb911c9fe9b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width