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

Cannot compile with GHC 8.10.3 under Windows #9

Open
PaulJohnson opened this issue Jan 5, 2021 · 1 comment
Open

Cannot compile with GHC 8.10.3 under Windows #9

PaulJohnson opened this issue Jan 5, 2021 · 1 comment

Comments

@PaulJohnson
Copy link

Lots of error messages about incorrect types in .h files. The following is a short extract from stack build

svgcairo                         > C:/Users/Paul Johnson/AppData/Local/Programs/stack/x86_64-windows/ghc-8.10.3/mingw/lib/gcc/x86_64-w64-mingw32/9.2.0/include/xopintrin.h:606:45: note: expected '__vector(8) short int' but argument is of type 'short int'
svgcairo                         > C:/Users/Paul Johnson/AppData/Local/Programs/stack/x86_64-windows/ghc-8.10.3/mingw/lib/gcc/x86_64-w64-mingw32/9.2.0/include/xopintrin.h:606:58: error: incompatible type for argument 2 of '__builtin_ia32_vpcomgew'
svgcairo                         >   606 |   return (__m128i) __builtin_ia32_vpcomgew ((__v8hi)__A, (__v8hi)__B);
svgcairo                         >       |                                                          ^~~~~~~~~~~
svgcairo                         >       |                                                          |
svgcairo                         >       |                                                          short int
svgcairo                         > C:/Users/Paul Johnson/AppData/Local/Programs/stack/x86_64-windows/ghc-8.10.3/mingw/lib/gcc/x86_64-w64-mingw32/9.2.0/include/xopintrin.h:606:58: note: expected '__vector(8) short int' but argument is of type 'short int'
@PaulJohnson
Copy link
Author

Also GHC 8.10.4

@PaulJohnson PaulJohnson changed the title Cannot compile with GHC 8.10.3 Cannot compile with GHC 8.10.3 under Windows Mar 16, 2021
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

1 participant