On Fri, May 23, 2014 at 10:46:15AM +0200, David Coppa wrote:
> On Fri, May 23, 2014 at 10:39 AM, Jonathan Gray <[email protected]> wrote:
> > As cppcheck is now built with -std=c++0x it can no longer
> > use the base gcc.
>
> Does this work with llvm or is it requiring a more modern libstdc++
> for stuff like std::move or std::forward?
Trying to build with clang gives a large amount of
local symbol 226: discarded in section
`.text._ZN5Check9runChecksEPK9TokenizerPK8SettingsP11ErrorLogger' from
build/checknonreentrantfunctions.o
when linking which fails because we don't have the ld
patch to ignore these sections because it broke something.
It would also mean hard coding the archs which
have GCC4 but don't have LLVM, ie
MODULES = lang/python gcc4 lang/clang
MODGCC4_LANGS = c++
MODGCC4_ARCHS = alpha arm hppa hppa64 sh
MODCLANG_LANGS = c++
MODCLANG_ARCHS = ${LLVM_ARCHS}