Skip to content

bugfix(#29): Fix Windows compilation error due to signedness of constants #41

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

Merged
merged 1 commit into from
Jun 11, 2022

Conversation

ConnorGray
Copy link
Collaborator

@ConnorGray ConnorGray commented Jun 11, 2022

This is a fix for #29.

The existing code assumed that the Wolfram LibraryLink constants would have
the same size and signedness on all platforms. This assumption was not correct
on Windows targeting MSVC, where constants that would be u32 on other platforms
would be i32.

See also:

…ants

This is a fix for:

    #29

The existing code assumed that the Wolfram LibraryLink constants would have
the same size and signedness on all platforms. This assumption was not correct
on Windows targeting MSVC, where constants that would be u32 on other platforms
would be i32.

See also:

    * rust-lang/rust-bindgen#1244
    * rust-lang/rust-bindgen#1361
@ConnorGray ConnorGray merged commit a64e54b into master Jun 11, 2022
@ConnorGray ConnorGray deleted the bugfix/fix-windows-compile-errors branch June 11, 2022 16:20
@ConnorGray ConnorGray linked an issue Jun 12, 2022 that may be closed by this pull request
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

Successfully merging this pull request may close these issues.

Failed to compile on windows
1 participant