diff options
| author | fanquake <[email protected]> | 2020-06-29 11:24:25 +0800 |
|---|---|---|
| committer | fanquake <[email protected]> | 2020-06-29 11:31:17 +0800 |
| commit | 9952242c03fe587b5dff46a9f770e319146103bf (patch) | |
| tree | 6177b4850642e0ed13144fe421cd2b3dc07e6497 /src/node/ui_interface.cpp | |
| parent | Merge #19114: scripted-diff: TxoutType C++11 scoped enum class (diff) | |
| download | discoin-9952242c03fe587b5dff46a9f770e319146103bf.tar.xz discoin-9952242c03fe587b5dff46a9f770e319146103bf.zip | |
build: improve builtin_clz* detection
The way we currently test with AC_CHECK_DECLS do not work with Clang:
```bash
configure:21492: clang++-10 -std=c++11 -c -g -O2 -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS conftest.cpp >&5
conftest.cpp:100:10: error: builtin functions must be directly called
(void) __builtin_clz;
^
1 error generated.
```
This also removes the __builtin_clz() check, as we don't actually use
it anywhere, and it's trvial to re-add detection if we do start using
it at some point.
Diffstat (limited to 'src/node/ui_interface.cpp')
0 files changed, 0 insertions, 0 deletions