Title: x86 clang compilation broken · Issue #496 · microsoft/cppwinrt · GitHub
Open Graph Title: x86 clang compilation broken · Issue #496 · microsoft/cppwinrt
X Title: x86 clang compilation broken · Issue #496 · microsoft/cppwinrt
Description: Hey there, I'm still using clang-check to get more warnings from my source code. However, since the last update, I get the following errors : out-herschel-uwp\Generated Files\winrt/base.h(4098,18): error: assigning to 'int (*)(unsigned i...
Open Graph Description: Hey there, I'm still using clang-check to get more warnings from my source code. However, since the last update, I get the following errors : out-herschel-uwp\Generated Files\winrt/base.h(4098,18):...
X Description: Hey there, I'm still using clang-check to get more warnings from my source code. However, since the last update, I get the following errors : out-herschel-uwp\Generated Files\winrt/base.h(4098,...
Opengraph URL: https://github.com/microsoft/cppwinrt/issues/496
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"x86 clang compilation broken","articleBody":"Hey there,\r\n\r\nI'm still using clang-check to get more warnings from my source code.\r\nHowever, since the last update, I get the following errors :\r\n\r\n```\r\nout-herschel-uwp\\Generated Files\\winrt/base.h(4098,18): error: assigning to 'int (*)(unsigned int, const winrt::guid &, void *, void **) __attribute__((stdcall)) noexcept' from incompatible type '(lambda at out-herschel-uwp\\Generated Files\\winrt/base.h:4106:13)'\r\n result = fallback;\r\n ^~~~~~~~\r\nout-herschel-uwp\\Generated Files\\winrt/base.h(4105,9): note: in instantiation of function template specialization 'winrt::impl::load_runtime_function\u003cint (*)(unsigned int, const winrt::guid &, void *, void **)\r\n __attribute__((stdcall)) noexcept, (lambda at out-herschel-uwp\\Generated Files\\winrt/base.h:4106:13)>' requested\r\n here\r\n load_runtime_function(\"RoGetAgileReference\", handler,\r\n ^\r\nout-herschel-uwp\\Generated Files\\winrt/base.h(4098,18): error: assigning to 'int (*)(int, void *, void *)\r\n __attribute__((stdcall)) noexcept' from incompatible type '(lambda at out-herschel-uwp\\Generated\r\n Files\\winrt/base.h:4474:17)'\r\n result = fallback;\r\n ^~~~~~~~\r\nout-herschel-uwp\\Generated Files\\winrt/base.h(4473,19): note: in instantiation of function template specialization 'winrt::impl::load_runtime_function\u003cint (*)(int, void *, void *) __attribute__((stdcall)) noexcept, (lambda at\r\n out-herschel-uwp\\Generated Files\\winrt/base.h:4474:17)>' requested here\r\n impl::load_runtime_function(\"RoOriginateLanguageException\", handler,\r\n ^\r\nout-herschel-uwp\\Generated Files\\winrt/base.h(4098,18): error: assigning to 'void (*)(int) __attribute__((stdcall)) noexcept' from incompatible type '(lambda at out-herschel-uwp\\Generated Files\\winrt/base.h:4745:13)'\r\n result = fallback;\r\n ^~~~~~~~\r\nout-herschel-uwp\\Generated Files\\winrt/base.h(4744,15): note: in instantiation of function template specialization 'winrt::impl::load_runtime_function\u003cvoid (*)(int) __attribute__((stdcall)) noexcept, (lambda at\r\n out-herschel-uwp\\Generated Files\\winrt/base.h:4745:13)>' requested here\r\n impl::load_runtime_function(\"RoFailFastWithErrorContext\", handler,\r\n ^\r\nout-herschel-uwp\\Generated Files\\winrt/base.h(4098,18): error: assigning to 'int (*)(void *, const winrt::guid &, void\r\n **) __attribute__((stdcall)) noexcept' from incompatible type '(lambda at out-herschel-uwp\\Generated\r\n Files\\winrt/base.h:5626:13)'\r\n result = fallback;\r\n ^~~~~~~~\r\nout-herschel-uwp\\Generated Files\\winrt/base.h(5625,15): note: in instantiation of function template specialization\r\n 'winrt::impl::load_runtime_function\u003cint (*)(void *, const winrt::guid &, void **) __attribute__((stdcall)) noexcept, (lambda at out-herschel-uwp\\Generated Files\\winrt/base.h:5626:13)>' requested here\r\n impl::load_runtime_function(\"RoGetActivationFactory\", handler,\r\n ^\r\n```\r\n\r\n\r\nIt doesn't seem to be a big issue, but it could be great to have a fix :)\r\n\r\nHave a nice day","author":{"url":"https://github.com/hummeleBop","@type":"Person","name":"hummeleBop"},"datePublished":"2020-01-29T01:17:00Z","url":"https://github.com/microsoft/cppwinrt/issues/496"}
| 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:c39f0d6d-bd63-4c5b-851f-279e9e96b3b5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CB6C:23E2FF:510F52:6ED67B:6B0072DA |
| html-safe-nonce | fa2635721e9f721c53180d11758a5b1fcc21d7dd3695ada672c7c91a5e3d1a30 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjZDOjIzRTJGRjo1MTBGNTI6NkVENjdCOjZCMDA3MkRBIiwidmlzaXRvcl9pZCI6IjkwNTEwOTQ0Mzk3NTM0NDg1OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | da1416da5e534a4154ff305a0ed48dc8d3769095f253d6cd9f407174261998b4 |
| hovercard-subject-tag | issue:556582297 |
| 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/microsoft/cppwinrt/496/issue_layout |
| twitter:image | https://opengraph.githubassets.com/599f5596526a9801324879c5c89069ba1f94c5ef358557b941da3afe5b1090a4/microsoft/cppwinrt/issues/496 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/599f5596526a9801324879c5c89069ba1f94c5ef358557b941da3afe5b1090a4/microsoft/cppwinrt/issues/496 |
| og:image:alt | Hey there, I'm still using clang-check to get more warnings from my source code. However, since the last update, I get the following errors : out-herschel-uwp\Generated Files\winrt/base.h(4098,18):... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hummeleBop |
| hostname | github.com |
| expected-hostname | github.com |
| None | 75c2b65dd205f26961d0c29afed1a8d0bb7cca9f05780571dfd1ef93eb539d16 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/cppwinrt git https://github.com/microsoft/cppwinrt.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 68223326 |
| octolytics-dimension-repository_nwo | microsoft/cppwinrt |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 68223326 |
| octolytics-dimension-repository_network_root_nwo | microsoft/cppwinrt |
| 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 | 84e563eb4b55f8fa102f325f117533cee9e3df4a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width