build: fix __builtin_expect detection for clang #145

pull theuni wants to merge 1 commits into bitcoin-core:master from theuni:clang-expect changing 1 files +5 −1
  1. theuni commented at 12:08 AM on December 9, 2014: contributor

    Using AC_CHECK_DECL, the generated test tries to cast the function to void. Clang doesn't allow that for builtins.

  2. jgarzik commented at 12:09 AM on December 9, 2014: none

    ut ACK

  3. sipa commented at 12:32 AM on December 9, 2014: contributor

    ACK if Travis happy.

  4. sipa commented at 1:35 AM on December 9, 2014: contributor

    Rebase, so this gets tested on top of #144?

  5. theuni force-pushed on Dec 9, 2014
  6. build: fix __builtin_expect detection for clang
    Using AC_CHECK_DECL, the generated test tries to cast the function to void.
    Clang doesn't allow that for builtins.
    1f46b006b7
  7. theuni commented at 3:42 AM on December 9, 2014: contributor

    done

  8. gmaxwell commented at 9:56 AM on December 9, 2014: contributor

    ACK

  9. sipa merged this on Dec 9, 2014
  10. sipa closed this on Dec 9, 2014

  11. sipa referenced this in commit 9000458677 on Dec 9, 2014

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/secp256k1. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-22 23:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me