Ao tentar compilar o arquivo forca.cpp gera os erros abaixo:
,,C:\Users\epmsimm\AppData\Local\Temp\ccigcgJD.o:forca.cpp:(.text+0xb6): undefined reference to sorteia_palavra[abi:cxx11]()'
C:\Users\epmsimm\AppData\Local\Temp\ccigcgJD.o:forca.cpp:(.text+0x137): undefined reference to
nao_acertou(std::cxx11::basic_string<char, std::char_traits, std::allocator >, std::map<char, bool, std::less, std::allocator<std::pair<char const, bool> > >)'
C:\Users\epmsimm\AppData\Local\Temp\ccigcgJD.o:forca.cpp:(.text+0x1b4): undefined reference to imprime_erros(std::vector<char, std::allocator<char> >)'
C:\Users\epmsimm\AppData\Local\Temp\ccigcgJD.o:forca.cpp:(.text+0x1fb): undefined reference to
imprime_palavra(std::cxx11::basic_string<char, std::char_traits, std::allocator >, std::map<char, bool, std::less, std::allocator<std::pair<char const, bool> > >)'
C:\Users\epmsimm\AppData\Local\Temp\ccigcgJD.o:forca.cpp:(.text+0x223): undefined reference to chuta(std::map<char, bool, std::less<char>, std::allocator<std::pair<char const, bool> > >*, std::vector<char, std::allocator<char> >*)'
C:\Users\epmsimm\AppData\Local\Temp\ccigcgJD.o:forca.cpp:(.text+0x262): undefined reference to
nao_acertou(std::_cxx11::basicstring<char, std::char_traits, std::allocator >, std::map<char, bool, std::less, std::allocator<std::pair<char const, bool> > >)'
C:\Users\epmsimm\AppData\Local\Temp\ccigcgJD.o:forca.cpp:(.text+0x311): undefined reference to `adiciona_palavra()'
O que há de comum neles é a informação __cxx11 e não consigo corrigir este erro. Do que se trata? Como corrigir?