Embedded cling error with latest xcode

Hi,

O I see - you’re compiling cling with cling’s clang. Don’t do that :slight_smile: I.e. please make sure you use the “native” compiler.

  • don’t add cling’s bin directory to PATH when calling CMake
  • or pass -DCMAKE_CXX_COMPILER=/usr/bin/clang++ to the cmake invocation

Cheers, Axel.