Title: `WIN32` definition for creating DLLs on Windows is somewhat misleading · Issue #63 · docopt/docopt.cpp · GitHub
Open Graph Title: `WIN32` definition for creating DLLs on Windows is somewhat misleading · Issue #63 · docopt/docopt.cpp
X Title: `WIN32` definition for creating DLLs on Windows is somewhat misleading · Issue #63 · docopt/docopt.cpp
Description: The PR that added WIN32 dllimport/dllexport stuff inadvertently seems to have broken static linking with docopt_s if you have WIN32 defined. The problem seems to be with symbols being tagged with dllexport/dllimport due to the WIN32 flag...
Open Graph Description: The PR that added WIN32 dllimport/dllexport stuff inadvertently seems to have broken static linking with docopt_s if you have WIN32 defined. The problem seems to be with symbols being tagged with d...
X Description: The PR that added WIN32 dllimport/dllexport stuff inadvertently seems to have broken static linking with docopt_s if you have WIN32 defined. The problem seems to be with symbols being tagged with d...
Opengraph URL: https://github.com/docopt/docopt.cpp/issues/63
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`WIN32` definition for creating DLLs on Windows is somewhat misleading","articleBody":"The PR that added WIN32 dllimport/dllexport stuff inadvertently seems to have broken static linking with docopt_s if you have WIN32 defined.\n\nThe problem seems to be with symbols being tagged with dllexport/dllimport due to the WIN32 flag being defined.\n\nThe problem is exhibited on my setup:\nusing CMake with `-G\"Visual Studio 14 2015 Win64\" -TLLVM-vs2014` arguments (so clang 3.9.0 toolset and using msbuild/visual studio to build)\n\nI am unsure if the same problem is exhibited when building with cl.\n\nI think a good resolution is maybe changing the WIN32 flag to be named something a little more obvious like WIN32_DLL or something and providing some documentation regarding it in the CMakeLists.txt and Readme.rst file.\n\nIf you want I could write up a quick blurb and do some more testing to verify whether this happens when using cl or not and submit a PR Just let me know!\n","author":{"url":"https://github.com/blandcr","@type":"Person","name":"blandcr"},"datePublished":"2016-10-21T07:11:21Z","url":"https://github.com/docopt/docopt.cpp/issues/63"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:a7bc9d63-7a29-483a-49ee-269b5b4f722d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E6FE:07D0:116551C:16CEE86:6B000BE7 |
| html-safe-nonce | 5192ee509fee6c20b57e5d34e64a2fd793be4976462579e5ca82e1a7decad7bd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNkZFOjA3RDA6MTE2NTUxQzoxNkNFRTg2OjZCMDAwQkU3IiwidmlzaXRvcl9pZCI6IjY5MDY1MjE4MTQyMzU2MTQxODMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b9b4ba3f443b6671fb69e360cc73e32feec3621626ac908a0baf492fa9eb190d |
| hovercard-subject-tag | issue:184414573 |
| 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/docopt/docopt.cpp/63/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c7ecae2f1d114d0da9a5d7263a70da0ceac462ce1374ebafdcf4f6a201b37dae/docopt/docopt.cpp/issues/63 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c7ecae2f1d114d0da9a5d7263a70da0ceac462ce1374ebafdcf4f6a201b37dae/docopt/docopt.cpp/issues/63 |
| og:image:alt | The PR that added WIN32 dllimport/dllexport stuff inadvertently seems to have broken static linking with docopt_s if you have WIN32 defined. The problem seems to be with symbols being tagged with d... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | blandcr |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0a0d8686a27478df474dd7415776a7a080cde8838b3cd92ea7601187572e5729 |
| turbo-cache-control | no-preview |
| go-import | github.com/docopt/docopt.cpp git https://github.com/docopt/docopt.cpp.git |
| octolytics-dimension-user_id | 1820478 |
| octolytics-dimension-user_login | docopt |
| octolytics-dimension-repository_id | 14197245 |
| octolytics-dimension-repository_nwo | docopt/docopt.cpp |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 14197245 |
| octolytics-dimension-repository_network_root_nwo | docopt/docopt.cpp |
| 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 | 16a11879678aaf97e2a42c33ee70830aa084fa37 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width