Title: C89/C90 standard (and variants) treated as unknown · Issue #365 · cppcheck-opensource/simplecpp · GitHub
Open Graph Title: C89/C90 standard (and variants) treated as unknown · Issue #365 · cppcheck-opensource/simplecpp
X Title: C89/C90 standard (and variants) treated as unknown · Issue #365 · cppcheck-opensource/simplecpp
Description: $ ./simplecpp -std=c89 test.cpp test.cpp:1: dui error: unknown standard specified: 'c89' The problem is that these standards have no value for __STDC_VERSION__ so simplecpp::getCStdString() returns an empty string which therefore treats ...
Open Graph Description: $ ./simplecpp -std=c89 test.cpp test.cpp:1: dui error: unknown standard specified: 'c89' The problem is that these standards have no value for __STDC_VERSION__ so simplecpp::getCStdString() returns...
X Description: $ ./simplecpp -std=c89 test.cpp test.cpp:1: dui error: unknown standard specified: 'c89' The problem is that these standards have no value for __STDC_VERSION__ so simplecpp::getCStdString()...
Opengraph URL: https://github.com/cppcheck-opensource/simplecpp/issues/365
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"C89/C90 standard (and variants) treated as unknown","articleBody":"```\r\n$ ./simplecpp -std=c89 test.cpp\r\n\r\ntest.cpp:1: dui error: unknown standard specified: 'c89'\r\n```\r\n\r\nThe problem is that these standards have no value for `__STDC_VERSION__` so `simplecpp::getCStdString()` returns an empty string which therefore treats it as unknown in `simplecpp::preprocess()`.","author":{"url":"https://github.com/firewave","@type":"Person","name":"firewave"},"datePublished":"2024-09-02T17:36:00.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/365/simplecpp/issues/365"}
| 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:1895ca80-960b-2b15-9454-77d77e7d1f6a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D7CE:A2022:1F299CC:2AED841:6A4ED02F |
| html-safe-nonce | 9992518354813a40660ecd4713b52656f919224a631786290bc137953ee87e5a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEN0NFOkEyMDIyOjFGMjk5Q0M6MkFFRDg0MTo2QTRFRDAyRiIsInZpc2l0b3JfaWQiOiIxNjY2NzI3MzU3Mzg0MTUxMDg3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b8fdcd2a436c16b1a9c0b4a6ebe01a92d0b66bd64dad3e7c32d7de4d4999be60 |
| hovercard-subject-tag | issue:2501382089 |
| 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/365/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e42060549764515fe267050af4381d6dc742925002be1b012e5a1590d315dca8/cppcheck-opensource/simplecpp/issues/365 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e42060549764515fe267050af4381d6dc742925002be1b012e5a1590d315dca8/cppcheck-opensource/simplecpp/issues/365 |
| og:image:alt | $ ./simplecpp -std=c89 test.cpp test.cpp:1: dui error: unknown standard specified: 'c89' The problem is that these standards have no value for __STDC_VERSION__ so simplecpp::getCStdString() returns... |
| 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 | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| 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 | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width