Title: syntax error caused by unconditional `__has_include_next` usage · Issue #484 · cppcheck-opensource/simplecpp · GitHub
Open Graph Title: syntax error caused by unconditional `__has_include_next` usage · Issue #484 · cppcheck-opensource/simplecpp
X Title: syntax error caused by unconditional `__has_include_next` usage · Issue #484 · cppcheck-opensource/simplecpp
Description: Encountered while working on #438. # if __has_include_next(
Open Graph Description: Encountered while working on #438. # if __has_include_next(
X Description: Encountered while working on #438. # if __has_include_next(<cstddef>) # endif a.cpp:1: syntax error: failed to evaluate #if condition, undefined function-like macro invocation: __has_include_...
Opengraph URL: https://github.com/cppcheck-opensource/simplecpp/issues/484
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"syntax error caused by unconditional `__has_include_next` usage","articleBody":"Encountered while working on #438.\n\n```cpp\n# if __has_include_next(\u003ccstddef\u003e)\n# endif\n```\n\n```\na.cpp:1: syntax error: failed to evaluate #if condition, undefined function-like macro invocation: __has_include_next( ... )\n```\n\nSee https://gcc.gnu.org/onlinedocs/cpp/_005f_005fhas_005finclude.html.","author":{"url":"https://github.com/firewave","@type":"Person","name":"firewave"},"datePublished":"2025-08-06T09:23:00.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/484/simplecpp/issues/484"}
| 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:4e24ea8a-9da7-cda3-af37-57eacebb47b7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D47C:1EA4:9B9238:E01230:6A4F5A33 |
| html-safe-nonce | 59ae4cc18b6e610545b6de32196d13dc15d3cd61036f75640778f3d12ee1ff8a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENDdDOjFFQTQ6OUI5MjM4OkUwMTIzMDo2QTRGNUEzMyIsInZpc2l0b3JfaWQiOiI3MTc3MDE1MTA5MzE0NjMyMjQzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 90d062147e05d05752e85eb1e7d8d9a3c91e76451786ce896f20dc05fe48a0ef |
| hovercard-subject-tag | issue:3295953097 |
| 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/484/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c3071ea5630624d5e3df5eed91f5f56c0b79298541c18fd2e738ac86289aaf6e/cppcheck-opensource/simplecpp/issues/484 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c3071ea5630624d5e3df5eed91f5f56c0b79298541c18fd2e738ac86289aaf6e/cppcheck-opensource/simplecpp/issues/484 |
| og:image:alt | Encountered while working on #438. # if __has_include_next( |
| 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 | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| 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 | 4b249b445842943ed31549e027f57a8ade9881ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width