Using AC_CHECK_DECL, the generated test tries to cast the function to void. Clang doesn't allow that for builtins.
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-
theuni commented at 12:08 AM on December 9, 2014: contributor
-
jgarzik commented at 12:09 AM on December 9, 2014: none
ut ACK
-
sipa commented at 12:32 AM on December 9, 2014: contributor
ACK if Travis happy.
- theuni force-pushed on Dec 9, 2014
-
1f46b006b7
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.
-
theuni commented at 3:42 AM on December 9, 2014: contributor
done
-
gmaxwell commented at 9:56 AM on December 9, 2014: contributor
ACK
- sipa merged this on Dec 9, 2014
- sipa closed this on Dec 9, 2014
- sipa referenced this in commit 9000458677 on Dec 9, 2014