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:6420e061-ee26-1636-12d1-0c845e9b1030 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A0B2:D440C:18D03D1:218A706:6A62E48A |
| html-safe-nonce | 33608a6b0a0748981a368f4068e4e039e375302101a6f1fad701153afaf79869 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMEIyOkQ0NDBDOjE4RDAzRDE6MjE4QTcwNjo2QTYyRTQ4QSIsInZpc2l0b3JfaWQiOiI0MzUzMzA4MjgyNDAyODI1MzU0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3dc8f3f9007638d359998acba7280fa54303f8a0c839a88a7c1a1c5323fafb09 |
| 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 | df33b1b61ee7b9a0af988199bfc3503c9c1acafb1f1d40e1f140ea7c84f890dd |
| 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 | d41cd1bdb290013455c0ac430fa755621733f5eb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width