JuliaLang/julia — Issue #434: julia doesn't build on Fedora 16
Author: jchia
Created: 2012-02-21 16:36:28+00:00
State: open

I got the following error:

config.status: executing tools/sample/Makefile commands
llvm[3]: Compiling APFloat.cpp for Release build
In file included from APFloat.cpp:15:
In file included from /home/josh.chia/julia/external/llvm-3.0/include/llvm/ADT/APFloat.h:104:
In file included from /home/josh.chia/julia/external/llvm-3.0/include/llvm/ADT/APInt.h:18:
In file included from /home/josh.chia/julia/external/llvm-3.0/include/llvm/ADT/ArrayRef.h:13:
In file included from /home/josh.chia/julia/external/llvm-3.0/include/llvm/ADT/SmallVector.h:18:
In file included from /usr/include/c++/4.6.2/algorithm:61:
/usr/include/c++/4.6.2/bits/stl_algobase.h:378:43: error: unexpected type name '_ValueTypeI':
expected expression
const bool __simple = (__is_trivial(_ValueTypeI)
^
/usr/include/c++/4.6.2/bits/stl_algobase.h:383:40: error: non-type template argument of type
'const bool' is not an integral constant expression
return std::__copy_move<_IsMove, __simple,
^~~~~~~~
...

Apparently CLANG has som problems. Is there a way to not use CLANG? If not, how do we fix this error? I'm on commit 3c3e0a of julia.