Title: content of repeated (unguarded) include placed on the same line · Issue #492 · cppcheck-opensource/simplecpp · GitHub
Open Graph Title: content of repeated (unguarded) include placed on the same line · Issue #492 · cppcheck-opensource/simplecpp
X Title: content of repeated (unguarded) include placed on the same line · Issue #492 · cppcheck-opensource/simplecpp
Description: From testsuite/clang-preprocessor-tests/print_line_include.c and uncovered by #490. print_line_include.c #include "print_line_include.h" #include "print_line_include.h" print_line_include.h int x; gcc -E output: # 0 "testsuite/clang-prep...
Open Graph Description: From testsuite/clang-preprocessor-tests/print_line_include.c and uncovered by #490. print_line_include.c #include "print_line_include.h" #include "print_line_include.h" print_line_include.h int x; ...
X Description: From testsuite/clang-preprocessor-tests/print_line_include.c and uncovered by #490. print_line_include.c #include "print_line_include.h" #include "print_line_include.h" print_li...
Opengraph URL: https://github.com/cppcheck-opensource/simplecpp/issues/492
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"content of repeated (unguarded) include placed on the same line","articleBody":"From `testsuite/clang-preprocessor-tests/print_line_include.c` and uncovered by #490.\n\n`print_line_include.c`\n```cpp\n#include \"print_line_include.h\"\n#include \"print_line_include.h\"\n```\n\n`print_line_include.h`\n```\nint x;\n```\n\n`gcc -E` output:\n```\n# 0 \"testsuite/clang-preprocessor-tests/print_line_include.c\"\n# 0 \"\u003cbuilt-in\u003e\"\n# 0 \"\u003ccommand-line\u003e\"\n# 1 \"/usr/include/stdc-predef.h\" 1 3 4\n# 0 \"\u003ccommand-line\u003e\" 2\n# 1 \"testsuite/clang-preprocessor-tests/print_line_include.c\"\n# 1 \"testsuite/clang-preprocessor-tests/print_line_include.h\" 1\nint x;\n# 2 \"testsuite/clang-preprocessor-tests/print_line_include.c\" 2\n# 1 \"testsuite/clang-preprocessor-tests/print_line_include.h\" 1\nint x;\n# 3 \"testsuite/clang-preprocessor-tests/print_line_include.c\" 2\n```\n\nActual:\n```\n\n#line 1 \"testsuite/clang-preprocessor-tests/print_line_include.h\"\nint x ; int x ;\n```","author":{"url":"https://github.com/firewave","@type":"Person","name":"firewave"},"datePublished":"2025-08-12T11:35:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/492/simplecpp/issues/492"}
| 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:0647c05a-abfb-0e53-2d74-f5e7d8e95dd4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AD38:14FBB8:DE5113:131782C:6A4DCF4F |
| html-safe-nonce | 266462792e4293ad04960a9fd8dda272c4da892de55d14e37c30dd340fbbbfcd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRDM4OjE0RkJCODpERTUxMTM6MTMxNzgyQzo2QTREQ0Y0RiIsInZpc2l0b3JfaWQiOiI4NDg1NTI3NzY1NjMzNTg0OTc1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2023eeaf6721494644e937ec626ff5f392c4ed351eb50110d563b0ff19fb06f9 |
| hovercard-subject-tag | issue:3313824817 |
| 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/492/issue_layout |
| twitter:image | https://opengraph.githubassets.com/72031285beafd92df7d486af80ef190e4c419658aa980afca2a0f03d6ec7598b/cppcheck-opensource/simplecpp/issues/492 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/72031285beafd92df7d486af80ef190e4c419658aa980afca2a0f03d6ec7598b/cppcheck-opensource/simplecpp/issues/492 |
| og:image:alt | From testsuite/clang-preprocessor-tests/print_line_include.c and uncovered by #490. print_line_include.c #include "print_line_include.h" #include "print_line_include.h" print_line_include.h int x; ... |
| 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