Title: Nested macros containing ## do not get expanded properly. · Issue #66 · cppcheck-opensource/simplecpp · GitHub
Open Graph Title: Nested macros containing ## do not get expanded properly. · Issue #66 · cppcheck-opensource/simplecpp
X Title: Nested macros containing ## do not get expanded properly. · Issue #66 · cppcheck-opensource/simplecpp
Description: #define GETMYID(a) ((a))+1 #define FIGHT_FOO(c, ...) foo(c, ##__VA_ARGS__) FIGHT_FOO(1, GETMYID(a)); The gcc -E says: foo(1, ((a))+1); And simplecpp says: foo ( 1 , GETMYID ( a ) ) ;
Open Graph Description: #define GETMYID(a) ((a))+1 #define FIGHT_FOO(c, ...) foo(c, ##__VA_ARGS__) FIGHT_FOO(1, GETMYID(a)); The gcc -E says: foo(1, ((a))+1); And simplecpp says: foo ( 1 , GETMYID ( a ) ) ;
X Description: #define GETMYID(a) ((a))+1 #define FIGHT_FOO(c, ...) foo(c, ##__VA_ARGS__) FIGHT_FOO(1, GETMYID(a)); The gcc -E says: foo(1, ((a))+1); And simplecpp says: foo ( 1 , GETMYID ( a ) ) ;
Opengraph URL: https://github.com/cppcheck-opensource/simplecpp/issues/66
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Nested macros containing ## do not get expanded properly.","articleBody":" #define GETMYID(a) ((a))+1\r\n #define FIGHT_FOO(c, ...) foo(c, ##__VA_ARGS__)\r\n FIGHT_FOO(1, GETMYID(a));\r\n\r\nThe gcc -E says:\r\n\r\n foo(1, ((a))+1);\r\n\r\nAnd simplecpp says:\r\n\r\n foo ( 1 , GETMYID ( a ) ) ;\r\n","author":{"url":"https://github.com/tortoisedoc","@type":"Person","name":"tortoisedoc"},"datePublished":"2016-12-27T12:40:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/66/simplecpp/issues/66"}
| 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:21df190d-4a94-f80a-1f28-ac7078436e3b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B112:102756:582F03C:7C7CA67:6A4FFDB5 |
| html-safe-nonce | dd8230e9b128cbec9b04dff4b69c0e7894081358156f9b47b29b4cd6902fd6b4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTEyOjEwMjc1Njo1ODJGMDNDOjdDN0NBNjc6NkE0RkZEQjUiLCJ2aXNpdG9yX2lkIjoiNzEwOTMzMDcyMzk5MTk3NzM5OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9058e33c38f410274971ab53b72859ed9e7043cb182082bf0b731b99fe4cf0e0 |
| hovercard-subject-tag | issue:197697603 |
| 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/66/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5d5d966ea0ca8a829e171fd88af2ca0c36306c0c50615f2ee42884461f7e1658/cppcheck-opensource/simplecpp/issues/66 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5d5d966ea0ca8a829e171fd88af2ca0c36306c0c50615f2ee42884461f7e1658/cppcheck-opensource/simplecpp/issues/66 |
| og:image:alt | #define GETMYID(a) ((a))+1 #define FIGHT_FOO(c, ...) foo(c, ##__VA_ARGS__) FIGHT_FOO(1, GETMYID(a)); The gcc -E says: foo(1, ((a))+1); And simplecpp says: foo ( 1 , GETMYID ( a ) ) ; |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tortoisedoc |
| hostname | github.com |
| expected-hostname | github.com |
| None | 56eec25a3430492dd6ec2a480eb33256a0da5192d5714b0db4f5ab5f33203d94 |
| 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 | e155b8a71f9284454f73118dfe5e634e74f7afb3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width