Title: Add warning for bad line directives · Issue #686 · cppcheck-opensource/simplecpp · GitHub
Open Graph Title: Add warning for bad line directives · Issue #686 · cppcheck-opensource/simplecpp
X Title: Add warning for bad line directives · Issue #686 · cppcheck-opensource/simplecpp
Description: A line directive with a line number that is zero or greater than 32767 or 2147483647 depending on standards version is undefined behavior. simplecpp should diagnose this.
Open Graph Description: A line directive with a line number that is zero or greater than 32767 or 2147483647 depending on standards version is undefined behavior. simplecpp should diagnose this.
X Description: A line directive with a line number that is zero or greater than 32767 or 2147483647 depending on standards version is undefined behavior. simplecpp should diagnose this.
Opengraph URL: https://github.com/cppcheck-opensource/simplecpp/issues/686
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add warning for bad line directives","articleBody":"A line directive with a line number that is zero or greater than 32767 or 2147483647 depending on standards version is undefined behavior. simplecpp should diagnose this.","author":{"url":"https://github.com/glankk","@type":"Person","name":"glankk"},"datePublished":"2026-07-22T09:42:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/686/simplecpp/issues/686"}
| 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:f4f00165-69d8-880a-68c5-46a5bcac8937 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BC64:1B3B59:1D29A7E:27BDAD6:6A62F97A |
| html-safe-nonce | 5770a03246953c8a65d3024a1b27a70e21ce9bb605c4ef8d3589f7608f569e90 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQzY0OjFCM0I1OToxRDI5QTdFOjI3QkRBRDY6NkE2MkY5N0EiLCJ2aXNpdG9yX2lkIjoiMTE1OTU5MzQ2MzIwODE0NzMyMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f9b54fd305e5da1ff236c12b933a5c24988eec1af4f9976db86316f6d8d19b30 |
| hovercard-subject-tag | issue:4947610227 |
| 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/686/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5bf3f5f808ae070588b4a89592f5fb799daff29a047d33e41435081232759145/cppcheck-opensource/simplecpp/issues/686 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5bf3f5f808ae070588b4a89592f5fb799daff29a047d33e41435081232759145/cppcheck-opensource/simplecpp/issues/686 |
| og:image:alt | A line directive with a line number that is zero or greater than 32767 or 2147483647 depending on standards version is undefined behavior. simplecpp should diagnose this. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | glankk |
| hostname | github.com |
| expected-hostname | github.com |
| None | 59e40dc698184067b40ef2d941585f66ed42711564a879644f984f1eacea129c |
| 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 | b4f544bf80583e749557efd76afda56317b6252d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width