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

BLD: meson: fix Clang warnings coming from -Wno-unused-but-set-variable #103

Merged
merged 1 commit into from
Dec 24, 2021

Conversation

rgommers
Copy link
Owner

This fixes warnings like these:

warning: unknown warning option '-Wno-unused-but-set-variable'; did you mean '-Wno-unused-const-variable'? [-Wunknown-warning-option]

There was a warning for every C extension, so by far the noisiest problem on macOS.

There is still another somewhat noisy issue:

ld: warning: -pie being ignored. It is only used when linking a main executable

This is a known issue, see mesonbuild/meson#4651

@rgommers rgommers merged commit fa2a3de into meson Dec 24, 2021
@rgommers rgommers deleted the fix-macos-warnings branch December 24, 2021 13:06
czgdp1807 pushed a commit to czgdp1807/scipy that referenced this pull request Jan 14, 2022
QUADPACK: dqk15w.f: line rgommers#103, wrong weights of the 7-point gauss rule
The weights of wg should be the same as "dqk15.f":
rgommers#103: "0.3818300505051889d+00", should be changed to "0.3818300505051189d+00".
This is a historical typo that commonly exists in every code that embeds netlib-quadpack, which does not necessarily produce an actual numerical error in the calculation of the error of the quadrature using the Gauss-Kronrod rule.

Reviewed/discussed in scipy#14807.

An upstream fix at netlib/quadpack made on 05 Oct 2021, see scipy#14807 (comment)
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.

None yet

1 participant