Skip to content

"The symbol _Alignas does not fit here" when compiling with nvidia cuda. #290

Open
@noahmartinwilliams

Description

@noahmartinwilliams

I was working on compiling This project on the latest version (saturday july 15th 2023, commit 34b9002f28032ddeb3d89a5fa373d89035ac112e), and it gave an error saying that "_Alignas did not fit on line 2930 of /opt/cuda/include/cuda.h .
My OS is arch Linux (up to date as of sunday july 2nd 2023), my version of cuda is 12.2.9, my ghc version is 9.0.2, my version of stack is 2.11.1, and my version of c2hs is 0.28.8.
This is the specific error I got.

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