Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error with clang 18/19 #285

Open
razaqq opened this issue Feb 12, 2025 · 2 comments
Open

Build error with clang 18/19 #285

razaqq opened this issue Feb 12, 2025 · 2 comments

Comments

@razaqq
Copy link
Contributor

razaqq commented Feb 12, 2025

With clang 18/19 on windows (using conan to install simd/6.1.143) im getting the following compile error

Simd\SimdDrawing.hpp(260,19): error : no member named 'FillPixel' in namespace 'Simd'
    260 |             Simd::FillPixel<A, Color>(canvas.Region(rect).Ref(), color);
        |             ~~~~~~^
Simd\SimdDrawing.hpp(260,29): error : use of template template parameter 'A' requires template arguments
    260 |             Simd::FillPixel<A, Color>(canvas.Region(rect).Ref(), color);
        |                             ^
Simd/SimdDrawing.hpp(255,36): note: template is declared here
    255 |     template<template<class> class A, class Color> SIMD_INLINE void DrawFilledRectangle(View<A> & canvas, Rectangle<ptrdiff_t> rect, const Color & color)
        |              ~~~~~~~~~~~~~~~       ^
  2 errors generated.
  ninja: build stopped: subcommand failed.
@razaqq razaqq changed the title Build error with clang 18 Build error with clang 18/19 Feb 13, 2025
@ermig1979
Copy link
Owner

Thank you for bug report.
I see that is Windows/Clang specific bug because Clang compiles Simd fine on Ubuntu.

@razaqq
Copy link
Contributor Author

razaqq commented Feb 14, 2025

I should specify that clang-cl is being used

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants