Title: compilation with Visual Studio might fail because of `WIN32_LEAN_AND_MEAN` redefinition · Issue #562 · cppcheck-opensource/simplecpp · GitHub
Open Graph Title: compilation with Visual Studio might fail because of `WIN32_LEAN_AND_MEAN` redefinition · Issue #562 · cppcheck-opensource/simplecpp
X Title: compilation with Visual Studio might fail because of `WIN32_LEAN_AND_MEAN` redefinition · Issue #562 · cppcheck-opensource/simplecpp
Description: The downstream Visual Studio compilation fails with the following: 4>D:\a\cppcheck\cppcheck\externals\simplecpp\simplecpp.cpp(11,1): error C2220: the following warning is treated as an error [D:\a\cppcheck\cppcheck\lib\cppcheck.vcxproj] ...
Open Graph Description: The downstream Visual Studio compilation fails with the following: 4>D:\a\cppcheck\cppcheck\externals\simplecpp\simplecpp.cpp(11,1): error C2220: the following warning is treated as an error [D:\a\...
X Description: The downstream Visual Studio compilation fails with the following: 4>D:\a\cppcheck\cppcheck\externals\simplecpp\simplecpp.cpp(11,1): error C2220: the following warning is treated as an error [D:...
Opengraph URL: https://github.com/cppcheck-opensource/simplecpp/issues/562
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"compilation with Visual Studio might fail because of `WIN32_LEAN_AND_MEAN` redefinition","articleBody":"The downstream Visual Studio compilation fails with the following:\n\n```\n4\u003eD:\\a\\cppcheck\\cppcheck\\externals\\simplecpp\\simplecpp.cpp(11,1): error C2220: the following warning is treated as an error [D:\\a\\cppcheck\\cppcheck\\lib\\cppcheck.vcxproj]\n 4\u003eD:\\a\\cppcheck\\cppcheck\\externals\\simplecpp\\simplecpp.cpp(11,1): warning C4005: 'WIN32_LEAN_AND_MEAN': macro redefinition [D:\\a\\cppcheck\\cppcheck\\lib\\cppcheck.vcxproj]\n D:\\a\\cppcheck\\cppcheck\\lib\\check.cpp : message : see previous definition of 'WIN32_LEAN_AND_MEAN' (compiling source file ..\\externals\\simplecpp\\simplecpp.cpp) [D:\\a\\cppcheck\\cppcheck\\lib\\cppcheck.vcxproj]\n`` ","author":{"url":"https://github.com/firewave","@type":"Person","name":"firewave"},"datePublished":"2025-10-07T15:32:59.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/562/simplecpp/issues/562"}
| 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:dd001f98-cbde-82b2-1685-239bcaa4e07f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AB0A:3F60C6:A73578:E1869E:6A4ED149 |
| html-safe-nonce | 932597f59d02e62446085d1d18b34ad44c17d09a985a20ff88a886a7c88001ac |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjBBOjNGNjBDNjpBNzM1Nzg6RTE4NjlFOjZBNEVEMTQ5IiwidmlzaXRvcl9pZCI6IjM1MDY2Njk0NjQxMzIxNzgyNDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4b608a9a4b78cbe335ebc934c0496983ccb80d866ca8ab0456fd9a07f897b93c |
| hovercard-subject-tag | issue:3491992950 |
| 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/562/issue_layout |
| twitter:image | https://opengraph.githubassets.com/02ffe305d3ee6d2ca1f0c18f8b381f88a2279a77473129b07445a92f5f32b3ef/cppcheck-opensource/simplecpp/issues/562 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/02ffe305d3ee6d2ca1f0c18f8b381f88a2279a77473129b07445a92f5f32b3ef/cppcheck-opensource/simplecpp/issues/562 |
| og:image:alt | The downstream Visual Studio compilation fails with the following: 4>D:\a\cppcheck\cppcheck\externals\simplecpp\simplecpp.cpp(11,1): error C2220: the following warning is treated as an error [D:\a\... |
| 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