Skip to content

x86 clang compilation broken #496

@hummeleBop

Description

@hummeleBop

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 int, const winrt::guid &,       void *, void **) __attribute__((stdcall)) noexcept' from incompatible type '(lambda at out-herschel-uwp\Generated       Files\winrt/base.h:4106:13)'
        result = fallback;
                 ^~~~~~~~
out-herschel-uwp\Generated Files\winrt/base.h(4105,9): note: in instantiation of function template specialization             'winrt::impl::load_runtime_function<int (*)(unsigned int, const winrt::guid &, void *, void **)
      __attribute__((stdcall)) noexcept, (lambda at out-herschel-uwp\Generated Files\winrt/base.h:4106:13)>' requested
      here
        load_runtime_function("RoGetAgileReference", handler,
        ^
out-herschel-uwp\Generated Files\winrt/base.h(4098,18): error: assigning to 'int (*)(int, void *, void *)
      __attribute__((stdcall)) noexcept' from incompatible type '(lambda at out-herschel-uwp\Generated
      Files\winrt/base.h:4474:17)'
        result = fallback;
                 ^~~~~~~~
out-herschel-uwp\Generated Files\winrt/base.h(4473,19): note: in instantiation of function template specialization            'winrt::impl::load_runtime_function<int (*)(int, void *, void *) __attribute__((stdcall)) noexcept, (lambda at
      out-herschel-uwp\Generated Files\winrt/base.h:4474:17)>' requested here
            impl::load_runtime_function("RoOriginateLanguageException", handler,
                  ^
out-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)'
        result = fallback;
                 ^~~~~~~~
out-herschel-uwp\Generated Files\winrt/base.h(4744,15): note: in instantiation of function template specialization            'winrt::impl::load_runtime_function<void (*)(int) __attribute__((stdcall)) noexcept, (lambda at
      out-herschel-uwp\Generated Files\winrt/base.h:4745:13)>' requested here
        impl::load_runtime_function("RoFailFastWithErrorContext", handler,
              ^
out-herschel-uwp\Generated Files\winrt/base.h(4098,18): error: assigning to 'int (*)(void *, const winrt::guid &, void
      **) __attribute__((stdcall)) noexcept' from incompatible type '(lambda at out-herschel-uwp\Generated
      Files\winrt/base.h:5626:13)'
        result = fallback;
                 ^~~~~~~~
out-herschel-uwp\Generated Files\winrt/base.h(5625,15): note: in instantiation of function template specialization
      'winrt::impl::load_runtime_function<int (*)(void *, const winrt::guid &, void **) __attribute__((stdcall))              noexcept, (lambda at out-herschel-uwp\Generated Files\winrt/base.h:5626:13)>' requested here
        impl::load_runtime_function("RoGetActivationFactory", handler,
              ^

It doesn't seem to be a big issue, but it could be great to have a fix :)

Have a nice day

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions