Skip to content

dpctl_capi does not compile with C compiler #1344

Description

@oleksandr-pavlyk
18:15:03  <elided>/lib/python3.10/site-packages/dpctl/include/dpctl_capi.h:31:32: \
                                    error: expected identifier or '(' before string constant
18:15:03   #define CYTHON_EXTERN_C extern "C"
18:15:03                                  ^

This was introduced while transitioning to Cython 3.0 in gh-1302.

This define was added unconditionally, while it should have only been added for C++ compilers.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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