Title: faulty `__VA_OPT__` usage in `-D` causes unhandled exception · Issue #632 · cppcheck-opensource/simplecpp · GitHub
Open Graph Title: faulty `__VA_OPT__` usage in `-D` causes unhandled exception · Issue #632 · cppcheck-opensource/simplecpp
X Title: faulty `__VA_OPT__` usage in `-D` causes unhandled exception · Issue #632 · cppcheck-opensource/simplecpp
Description: $ ./simplecpp -D"f(...)=__VA_OPT__" a.cpp terminate called after throwing an instance of 'simplecpp::Macro::Error'
Open Graph Description: $ ./simplecpp -D"f(...)=__VA_OPT__" a.cpp terminate called after throwing an instance of 'simplecpp::Macro::Error'
X Description: $ ./simplecpp -D"f(...)=__VA_OPT__" a.cpp terminate called after throwing an instance of 'simplecpp::Macro::Error'
Opengraph URL: https://github.com/cppcheck-opensource/simplecpp/issues/632
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"faulty `__VA_OPT__` usage in `-D` causes unhandled exception","articleBody":"```\n$ ./simplecpp -D\"f(...)=__VA_OPT__\" a.cpp\nterminate called after throwing an instance of 'simplecpp::Macro::Error'\n```","author":{"url":"https://github.com/firewave","@type":"Person","name":"firewave"},"datePublished":"2026-03-10T09:44:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/632/simplecpp/issues/632"}
| 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:1381c799-de07-4b2a-434f-069b8730e0cd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EA3E:1BDCFF:69AC9A:9BAB47:6A4E1305 |
| html-safe-nonce | eee399e7333a58389c7cfd85d0b8ffc35d15a88a89ec5e6c92aa148094ffeb7b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQTNFOjFCRENGRjo2OUFDOUE6OUJBQjQ3OjZBNEUxMzA1IiwidmlzaXRvcl9pZCI6IjU1MjMzMTkwNDUyNjcyNjQyNjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 56bf65cee662935139c1df504a771470a62c82d3ff14052cd01b5ceeb03df3f1 |
| hovercard-subject-tag | issue:4050605188 |
| 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/632/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c1b8198a2f038f944c15e45aa9302056a1a3aa880a1461ebc9f965037552f955/cppcheck-opensource/simplecpp/issues/632 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c1b8198a2f038f944c15e45aa9302056a1a3aa880a1461ebc9f965037552f955/cppcheck-opensource/simplecpp/issues/632 |
| og:image:alt | $ ./simplecpp -D"f(...)=__VA_OPT__" a.cpp terminate called after throwing an instance of 'simplecpp::Macro::Error' |
| 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 | 030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0 |
| 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 | ea9187571e3edc5f2780f750631138669441ca50 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width