Skip to content

Conversation

hebasto
Copy link
Member

@hebasto hebasto commented Dec 21, 2021

All of the EnableClmul() function call sites are guarded by the HAVE_CLMUL macro. Using the same guarding for its definition gets rid of a possible -Wunused-function compiler warning.

Closes #53.

All of the EnableClmul() function call sites are guarded by the
HAVE_CLMUL macro. Using the same guarding for its definition gets rid of
a possible `-Wunused-function` compiler warning.
@sipa
Copy link
Collaborator

sipa commented Dec 21, 2021

utACK 4d9db2b

@sipa sipa merged commit 7eeb778 into bitcoin-core:master Dec 21, 2021
@hebasto hebasto deleted the 211221-clmul branch December 21, 2021 21:53
fanquake added a commit to fanquake/bitcoin that referenced this pull request Feb 4, 2022
7eeb778fef Merge bitcoin-core/minisketch#58: Move `#ifdef HAVE_CLMUL` guard outside of the EnableClmul definition
4d9db2b897 Move `#ifdef HAVE_CLMUL` guard outside of the EnableClmul definition

git-subtree-dir: src/minisketch
git-subtree-split: 7eeb778fef45e21abca01ede85cf0a82e8a510df
maflcko pushed a commit to bitcoin/bitcoin that referenced this pull request Feb 4, 2022
8fcb19f Squashed 'src/minisketch/' changes from 89629eb2c7..7eeb778fef (fanquake)

Pull request description:

  Marco mentioned issues running the native valgrind job (it sets `-Werror`) on arm64 hardware due to compile errors:
  ```bash
  minisketch/src/minisketch.cpp:66:20: error: unused function 'EnableClmul' [-Werror,-Wunused-function]
  ```

  Pull the subtree to fix this. The only change here is bitcoin-core/minisketch#58.

ACKs for top commit:
  MarcoFalke:
    cr ACK 4382d09

Tree-SHA512: 8dbb2d8a4269e187987a9e6084c6265ed8256859b0776474c2d332df64427cd55608932e1e2053dcc3d8d1699a82c667afae20c3db7a35407bea662ada65a5f7
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Feb 6, 2022
8fcb19f Squashed 'src/minisketch/' changes from 89629eb2c7..7eeb778fef (fanquake)

Pull request description:

  Marco mentioned issues running the native valgrind job (it sets `-Werror`) on arm64 hardware due to compile errors:
  ```bash
  minisketch/src/minisketch.cpp:66:20: error: unused function 'EnableClmul' [-Werror,-Wunused-function]
  ```

  Pull the subtree to fix this. The only change here is bitcoin-core/minisketch#58.

ACKs for top commit:
  MarcoFalke:
    cr ACK 4382d09

Tree-SHA512: 8dbb2d8a4269e187987a9e6084c6265ed8256859b0776474c2d332df64427cd55608932e1e2053dcc3d8d1699a82c667afae20c3db7a35407bea662ada65a5f7
sh15h4nk pushed a commit to sh15h4nk/bitcoin that referenced this pull request Feb 13, 2022
7eeb778fef Merge bitcoin-core/minisketch#58: Move `#ifdef HAVE_CLMUL` guard outside of the EnableClmul definition
4d9db2b897 Move `#ifdef HAVE_CLMUL` guard outside of the EnableClmul definition

git-subtree-dir: src/minisketch
git-subtree-split: 7eeb778fef45e21abca01ede85cf0a82e8a510df
rebroad pushed a commit to rebroad/bitcoin that referenced this pull request Feb 15, 2022
7eeb778fef Merge bitcoin-core/minisketch#58: Move `#ifdef HAVE_CLMUL` guard outside of the EnableClmul definition
4d9db2b897 Move `#ifdef HAVE_CLMUL` guard outside of the EnableClmul definition

git-subtree-dir: src/minisketch
git-subtree-split: 7eeb778fef45e21abca01ede85cf0a82e8a510df
janus pushed a commit to BitgesellOfficial/bitgesell that referenced this pull request Jul 24, 2022
7eeb778fef Merge bitcoin-core/minisketch#58: Move `#ifdef HAVE_CLMUL` guard outside of the EnableClmul definition
4d9db2b897 Move `#ifdef HAVE_CLMUL` guard outside of the EnableClmul definition

git-subtree-dir: src/minisketch
git-subtree-split: 7eeb778fef45e21abca01ede85cf0a82e8a510df
backpacker69 pushed a commit to peercoin/peercoin that referenced this pull request Jan 18, 2023
7eeb778fef Merge bitcoin-core/minisketch#58: Move `#ifdef HAVE_CLMUL` guard outside of the EnableClmul definition
4d9db2b897 Move `#ifdef HAVE_CLMUL` guard outside of the EnableClmul definition

git-subtree-dir: src/minisketch
git-subtree-split: 7eeb778fef45e21abca01ede85cf0a82e8a510df
kwvg added a commit to kwvg/dash that referenced this pull request Oct 20, 2024
7eeb778fef Merge bitcoin-core/minisketch#58: Move `#ifdef HAVE_CLMUL` guard outside of the EnableClmul definition
4d9db2b897 Move `#ifdef HAVE_CLMUL` guard outside of the EnableClmul definition

git-subtree-dir: src/minisketch
git-subtree-split: 7eeb778fef45e21abca01ede85cf0a82e8a510df
rebroad pushed a commit to rebroad/bitcoin that referenced this pull request Mar 29, 2025
7eeb778fef Merge bitcoin-core/minisketch#58: Move `#ifdef HAVE_CLMUL` guard outside of the EnableClmul definition
4d9db2b897 Move `#ifdef HAVE_CLMUL` guard outside of the EnableClmul definition

git-subtree-dir: src/minisketch
git-subtree-split: 7eeb778fef45e21abca01ede85cf0a82e8a510df
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.

Clang "unused function EnableClmul" warning on 32-bit systems
2 participants