On Fri, Jun 10, 2016 at 01:28:01AM -0700,
woll...@gmail.com wrote:
> configure:17925: g++ -c -g -O2 -I/usr/local/include -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -std=c++11 -fno-exceptions -fno-rtti -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS conftest.cpp >&5
> In file included from /usr/local/include/llvm/Support/Casting.h:19:0,
> from /usr/local/include/clang/Basic/LLVM.h:22,
> from /usr/local/include/clang/Basic/SourceLocation.h:18,
> from conftest.cpp:71:
> /usr/local/include/llvm/Support/type_traits.h:37:29: error: 'is_trivially_copyable' is not a member of 'std'
> static const bool value = std::is_trivially_copyable<T>::value;
> ^
> /usr/local/include/llvm/Support/type_traits.h:37:57: error: expected primary-expression before '>' token
> static const bool value = std::is_trivially_copyable<T>::value;
> ^
> /usr/local/include/llvm/Support/type_traits.h:37:58: error: '::value' has not been declared
> static const bool value = std::is_trivially_copyable<T>::value;
> ^
It seems your g++ cannot parse the clang headers (at least not with
the options that were used when compiling clang).
Try compiling ppcg with the same compiler that was used to compile clang
(probably clang).
skimo