[LLVMdev] G++ 3.4.5 under RedHat AS4 fails to compile Clang trunk

Anton Korobeynikov anton at korobeynikov.info
Thu Mar 31 13:14:59 PDT 2011


> Compilation error output is attached.
>
> Seems that G++ 3.4.5 fails to pick the right specialization version of
> getExprLocImpl() function in lib/AST/Expr.cpp.
>
> http://llvm.org/docs/GettingStarted.html#brokengcc
FWIW: gcc 3.4.x does not implement DR214. Thus it cannot pick the
right specialization.
The current workaround is http://pastebin.com/k6Zq5kkv

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-dev mailing list