While cross-buidling NetBSD-current on macOS with clang, I end up with:
/dist/src/external/gpl3/gcc/dist/libcpp/lex.cc:1168:8: warning: scoped enumerations are a C++11 extension [-Wc++11-extensions] enum class kind { ^ /dist/src/external/gpl3/gcc/dist/libcpp/lex.cc:1173:3: error: unknown type name 'constexpr' constexpr uchar utf8_start = 0xe2; ^ /dist/src/external/gpl3/gcc/dist/libcpp/lex.cc:1173:18: error: expected ';' after top level declarator constexpr uchar utf8_start = 0xe2; ^ ; My work-around is to use HOST_CXXFLAGS="-std=c++11". Maybe it should be set somewhere else in the code, so other users won't encounter the error? Kind regards, Adam