Skip to content

Conversation

@seiko2plus
Copy link
Member

Fix testing extra checks when -Werror isn't applicable for Clang

In certain cases -Werror gets skipped during the availability test due
to "unused arguments" warnings. To solve the issue, -Werror-implicit-function-declaration
was added as a secondary flag, which is enough to guarantee the sanity of the testing process
when it comes to testing the availability of certain intrinsics.

closes #19624

…or Clang.

  In certain cases `-Werror` gets skipped during the availability test due
  to "unused arguments" warnings. To solve the issue, `-Werror-implicit-function-declaration`
  was added as a secondary flag, which is enough to guarantee the sanity of the testing process
  when it comes to testing the availability of certain intrinsics.
@github-actions github-actions bot added the 36 - Build Build related PR label Aug 11, 2021
@seiko2plus seiko2plus added the component: SIMD Issues in SIMD (fast instruction sets) code or machinery label Aug 11, 2021
@seiko2plus seiko2plus added the 09 - Backport-Candidate PRs tagged should be backported label Aug 11, 2021
@mattip mattip merged commit 38d843e into numpy:main Aug 11, 2021
@mattip
Copy link
Member

mattip commented Aug 11, 2021

Thanks @seiko2plus

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

Labels

36 - Build Build related PR component: SIMD Issues in SIMD (fast instruction sets) code or machinery

Projects

None yet

Development

Successfully merging this pull request may close these issues.

distutils/ccompiler_opt.py: Werror is silently disabled

3 participants