Skip to content

Instantly share code, notes, and snippets.

@beanieboi
Created May 8, 2013 19:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save beanieboi/5543088 to your computer and use it in GitHub Desktop.
Save beanieboi/5543088 to your computer and use it in GitHub Desktop.
clang++ -DETLOG -std=c++0x -pedantic -Wall -I./backtrace/ -g0 -O3 -std=c++11 -stdlib=libc++ -o backtrace/libs/backtrace/src/backtrace.o -c backtrace/libs/backtrace/src/backtrace.cpp
In file included from backtrace/libs/backtrace/src/backtrace.cpp:10:
./backtrace/boost/backtrace.hpp:62:21: error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >'
std::string trace_line(unsigned frame_no) const
^
/usr/bin/../lib/c++/v1/iosfwd:187:27: note: template is declared here
class _LIBCPP_VISIBLE basic_string;
^
In file included from backtrace/libs/backtrace/src/backtrace.cpp:10:
./backtrace/boost/backtrace.hpp:65:24: error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >'
return stack_trace::get_symbol(frames_[frame_no]);
^
/usr/bin/../lib/c++/v1/iosfwd:187:27: note: template is declared here
class _LIBCPP_VISIBLE basic_string;
^
In file included from backtrace/libs/backtrace/src/backtrace.cpp:10:
./backtrace/boost/backtrace.hpp:66:20: error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >'
return std::string();
^
/usr/bin/../lib/c++/v1/iosfwd:187:27: note: template is declared here
class _LIBCPP_VISIBLE basic_string;
^
In file included from backtrace/libs/backtrace/src/backtrace.cpp:10:
./backtrace/boost/backtrace.hpp:69:21: error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >'
std::string trace() const
^
/usr/bin/../lib/c++/v1/iosfwd:187:27: note: template is declared here
class _LIBCPP_VISIBLE basic_string;
^
In file included from backtrace/libs/backtrace/src/backtrace.cpp:10:
./backtrace/boost/backtrace.hpp:72:24: error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >'
return std::string();
^
/usr/bin/../lib/c++/v1/iosfwd:187:27: note: template is declared here
class _LIBCPP_VISIBLE basic_string;
^
In file included from backtrace/libs/backtrace/src/backtrace.cpp:10:
./backtrace/boost/backtrace.hpp:73:20: error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >'
return stack_trace::get_symbols(&frames_.front(),frames_.size());
^
/usr/bin/../lib/c++/v1/iosfwd:187:27: note: template is declared here
class _LIBCPP_VISIBLE basic_string;
^
6 errors generated.
make: *** [backtrace/libs/backtrace/src/backtrace.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment