Hello,
I’m experiencing multiple issues on my intel mac when trying to build a simple plugin:
In file included from src/Blank.cpp:1:
In file included from src/Blank.hpp:3:
In file included from src/plugin.hpp:1:
In file included from ./dep/Rack-SDK/include/rack.hpp:24:
./dep/Rack-SDK/include/string.hpp:1:5: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
", "c"}
^
./dep/Rack-SDK/include/string.hpp:1:1: error: expected unqualified-id
", "c"}
^
./dep/Rack-SDK/include/string.hpp:1:6: warning: missing terminating '"' character [-Winvalid-pp-token]
", "c"}
^
./dep/Rack-SDK/include/string.hpp:46:27: error: implicit instantiation of undefined template 'std::vector<std::string>'
std::vector<std::string> parts;
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/iosfwd:259:28: note: template is declared here
class _LIBCPP_TEMPLATE_VIS vector;
^
In file included from src/Blank.cpp:1:
In file included from src/Blank.hpp:3:
In file included from src/plugin.hpp:1:
In file included from ./dep/Rack-SDK/include/rack.hpp:24:
./dep/Rack-SDK/include/string.hpp:67:1: error: extraneous closing brace ('}')
} // namespace string
^
./dep/Rack-SDK/include/string.hpp:68:1: error: extraneous closing brace ('}')
} // namespace rack
^
./dep/Rack-SDK/include/string.hpp:132:1: error: unterminated /* comment
/** Splits a string into a vector of tokens.
^
In file included from src/Blank.cpp:1:
In file included from src/Blank.hpp:3:
In file included from src/plugin.hpp:1:
In file included from ./dep/Rack-SDK/include/rack.hpp:27:
In file included from ./dep/Rack-SDK/include/random.hpp:3:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/random:1690:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/numeric:292:18: error: no template named 'iterator_traits'; did you mean '::std::iterator_traits'?
typename iterator_traits<_InputIterator>::value_type __t(*__first);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__iterator/iterator_traits.h:400:29: note: '::std::iterator_traits' declared here
struct _LIBCPP_TEMPLATE_VIS iterator_traits
^
In file included from src/Blank.cpp:1:
In file included from src/Blank.hpp:3:
In file included from src/plugin.hpp:1:
In file included from ./dep/Rack-SDK/include/rack.hpp:27:
In file included from ./dep/Rack-SDK/include/random.hpp:3:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/random:1690:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/numeric:315:18: error: no template named 'iterator_traits'; did you mean '::std::iterator_traits'?
typename iterator_traits<_InputIterator>::value_type __t(*__first);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__iterator/iterator_traits.h:400:29: note: '::std::iterator_traits' declared here
struct _LIBCPP_TEMPLATE_VIS iterator_traits
^
In file included from src/Blank.cpp:1:
In file included from src/Blank.hpp:3:
In file included from src/plugin.hpp:1:
In file included from ./dep/Rack-SDK/include/rack.hpp:27:
In file included from ./dep/Rack-SDK/include/random.hpp:3:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/random:1690:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/numeric:458:18: error: no template named 'iterator_traits'; did you mean '::std::iterator_traits'?
typename iterator_traits<_InputIterator>::value_type __acc(*__first);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__iterator/iterator_traits.h:400:29: note: '::std::iterator_traits' declared here
struct _LIBCPP_TEMPLATE_VIS iterator_traits
^
In file included from src/Blank.cpp:1:
In file included from src/Blank.hpp:3:
In file included from src/plugin.hpp:1:
In file included from ./dep/Rack-SDK/include/rack.hpp:27:
In file included from ./dep/Rack-SDK/include/random.hpp:3:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/random:1690:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/numeric:462:22: error: no template named 'iterator_traits'; did you mean '::std::iterator_traits'?
typename iterator_traits<_InputIterator>::value_type __val(*__first);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__iterator/iterator_traits.h:400:29: note: '::std::iterator_traits' declared here
struct _LIBCPP_TEMPLATE_VIS iterator_traits
^
In file included from src/Blank.cpp:1:
In file included from src/Blank.hpp:3:
In file included from src/plugin.hpp:1:
In file included from ./dep/Rack-SDK/include/rack.hpp:27:
In file included from ./dep/Rack-SDK/include/random.hpp:3:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/random:1690:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/numeric:468:21: error: no member named 'move' in namespace 'rack::string::std::__1'; did you mean '::std::move'?
__acc = _VSTD::move(__val);
^~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:858:15: note: expanded from macro '_VSTD'
#define _VSTD std::_LIBCPP_ABI_NAMESPACE
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__utility/move.h:27:1: note: '::std::move' declared here
move(_Tp&& __t) _NOEXCEPT {
^
In file included from src/Blank.cpp:1:
In file included from src/Blank.hpp:3:
In file included from src/plugin.hpp:1:
In file included from ./dep/Rack-SDK/include/rack.hpp:27:
In file included from ./dep/Rack-SDK/include/random.hpp:3:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/random:1690:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/numeric:482:18: error: no template named 'iterator_traits'; did you mean '::std::iterator_traits'?
typename iterator_traits<_InputIterator>::value_type __acc(*__first);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__iterator/iterator_traits.h:400:29: note: '::std::iterator_traits' declared here
struct _LIBCPP_TEMPLATE_VIS iterator_traits
^
In file included from src/Blank.cpp:1:
In file included from src/Blank.hpp:3:
In file included from src/plugin.hpp:1:
In file included from ./dep/Rack-SDK/include/rack.hpp:27:
In file included from ./dep/Rack-SDK/include/random.hpp:3:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/random:1690:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/numeric:486:22: error: no template named 'iterator_traits'; did you mean '::std::iterator_traits'?
typename iterator_traits<_InputIterator>::value_type __val(*__first);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__iterator/iterator_traits.h:400:29: note: '::std::iterator_traits' declared here
struct _LIBCPP_TEMPLATE_VIS iterator_traits
^
In file included from src/Blank.cpp:1:
In file included from src/Blank.hpp:3:
In file included from src/plugin.hpp:1:
In file included from ./dep/Rack-SDK/include/rack.hpp:27:
In file included from ./dep/Rack-SDK/include/random.hpp:3:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/random:1690:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/numeric:492:21: error: no member named 'move' in namespace 'rack::string::std::__1'; did you mean '::std::move'?
__acc = _VSTD::move(__val);
^~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:858:15: note: expanded from macro '_VSTD'
#define _VSTD std::_LIBCPP_ABI_NAMESPACE
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__utility/move.h:27:1: note: '::std::move' declared here
move(_Tp&& __t) _NOEXCEPT {
^
In file included from src/Blank.cpp:1:
In file included from src/Blank.hpp:3:
In file included from src/plugin.hpp:1:
In file included from ./dep/Rack-SDK/include/rack.hpp:27:
In file included from ./dep/Rack-SDK/include/random.hpp:3:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/random:1725:16: error: no template named 'is_convertible'; did you mean '::std::is_convertible'?
!is_convertible<_Sseq, typename _Engine::result_type>::value &&
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:1728:61: note: '::std::is_convertible' declared here
template <class _T1, class _T2> struct _LIBCPP_TEMPLATE_VIS is_convertible
^
In file included from src/Blank.cpp:1:
In file included from src/Blank.hpp:3:
In file included from src/plugin.hpp:1:
In file included from ./dep/Rack-SDK/include/rack.hpp:27:
In file included from ./dep/Rack-SDK/include/random.hpp:3:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/random:1726:33: error: no template named 'remove_cv'; did you mean '::std::remove_cv'?
!is_same<typename remove_cv<_Sseq>::type, _Engine>::value;
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:715:50: note: '::std::remove_cv' declared here
template <class _Tp> struct _LIBCPP_TEMPLATE_VIS remove_cv
^
In file included from src/Blank.cpp:1:
In file included from src/Blank.hpp:3:
In file included from src/plugin.hpp:1:
In file included from ./dep/Rack-SDK/include/rack.hpp:27:
In file included from ./dep/Rack-SDK/include/random.hpp:3:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/random:1726:16: error: no template named 'is_same'; did you mean '::std::is_same'?
!is_same<typename remove_cv<_Sseq>::type, _Engine>::value;
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:558:29: note: '::std::is_same' declared here
struct _LIBCPP_TEMPLATE_VIS is_same : _BoolConstant<__is_same(_Tp, _Up)> { };
^
In file included from src/Blank.cpp:1:
In file included from src/Blank.hpp:3:
In file included from src/plugin.hpp:1:
In file included from ./dep/Rack-SDK/include/rack.hpp:27:
In file included from ./dep/Rack-SDK/include/random.hpp:3:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/random:1899:1: error: no template named 'basic_ostream'; did you mean '::std::basic_ostream'?
basic_ostream<_CharT, _Traits>&
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/ostream:151:28: note: '::std::basic_ostream' declared here
class _LIBCPP_TEMPLATE_VIS basic_ostream
^
In file included from src/Blank.cpp:1:
In file included from src/Blank.hpp:3:
In file included from src/plugin.hpp:1:
In file included from ./dep/Rack-SDK/include/rack.hpp:27:
In file included from ./dep/Rack-SDK/include/random.hpp:3:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/random:1900:12: error: no template named 'basic_ostream'; did you mean '::std::basic_ostream'?
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/ostream:151:28: note: '::std::basic_ostream' declared here
class _LIBCPP_TEMPLATE_VIS basic_ostream
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
make: *** [build/src/Blank.cpp.o] Error 1
Anyone else dealing with this issue?