Title: specifying bad macro via `-D` causes unhandled exception · Issue #616 · cppcheck-opensource/simplecpp · GitHub
Open Graph Title: specifying bad macro via `-D` causes unhandled exception · Issue #616 · cppcheck-opensource/simplecpp
X Title: specifying bad macro via `-D` causes unhandled exception · Issue #616 · cppcheck-opensource/simplecpp
Description: $ ./simplecpp -D\"=0 a.cpp terminate called after throwing an instance of 'std::runtime_error' what(): bad macro syntax. macroname=" value=0
Open Graph Description: $ ./simplecpp -D\"=0 a.cpp terminate called after throwing an instance of 'std::runtime_error' what(): bad macro syntax. macroname=" value=0
X Description: $ ./simplecpp -D\"=0 a.cpp terminate called after throwing an instance of 'std::runtime_error' what(): bad macro syntax. macroname=" value=0
Opengraph URL: https://github.com/cppcheck-opensource/simplecpp/issues/616
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"specifying bad macro via `-D` causes unhandled exception","articleBody":"```\n$ ./simplecpp -D\\\"=0 a.cpp\nterminate called after throwing an instance of 'std::runtime_error'\n what(): bad macro syntax. macroname=\" value=0\n```\n","author":{"url":"https://github.com/firewave","@type":"Person","name":"firewave"},"datePublished":"2026-01-10T16:06:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/616/simplecpp/issues/616"}
| 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:c0a1f382-760a-bfd7-2ce7-c7c153028a4b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C340:2086C7:1B051D7:2538087:6A4EBF5D |
| html-safe-nonce | 4d9f06de1dc80129a48b19cdad2605dfa6a0a7b3c7d3032a4b8713a7c6f620ce |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzQwOjIwODZDNzoxQjA1MUQ3OjI1MzgwODc6NkE0RUJGNUQiLCJ2aXNpdG9yX2lkIjoiNjQ4OTMwOTQxNjk0MDAyNzc0MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | acc47e7d3736dffe2422516b53f59a1cd5603a8fc461e562250cf2c6f7996bad |
| hovercard-subject-tag | issue:3799977492 |
| 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/616/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9479761f74d1b2c18fdc2545d6abcddb63ca28a5c24e18e27c853346d8e886e6/cppcheck-opensource/simplecpp/issues/616 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9479761f74d1b2c18fdc2545d6abcddb63ca28a5c24e18e27c853346d8e886e6/cppcheck-opensource/simplecpp/issues/616 |
| og:image:alt | $ ./simplecpp -D\"=0 a.cpp terminate called after throwing an instance of 'std::runtime_error' what(): bad macro syntax. macroname=" value=0 |
| 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 | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| 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 | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width