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

Fix build #387

Closed
wants to merge 4 commits into from
Closed

Fix build #387

wants to merge 4 commits into from

Conversation

nauaneed
Copy link
Contributor

WIP to fix GitHub actions builds.

Seems like extern fabs() in linalg3.pyx is assumed to have c++ linkage as linalg3.cpp file is generated. However, this fabs() ends up conflicting with the declaration with c linkage from /usr/include/x86_64-linux-gnu/bits/mathcalls.h on ubuntu github actions runner.
Builds were failing on windows github actions runner due to some
conflict involving fmax() and fmin().

Seems like  fmax() and fmin() were defined soleley for windows as
they are a part of C99 standard but earlier MSVC not support C99
features fully. But now, MSVC supports it. So, it is no longer required.
@nauaneed nauaneed closed this Nov 28, 2023
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.

1 participant