Hi, seems like a cool project. Not sure if maybe my compiler is not what you're using but here is the output of running make:
โ MineSweeper git:(master) make
g++ source/mine.cpp -o mine
In file included from source/mine.cpp:1:
In file included from source/field.hpp:7:
In file included from source/sevsegdisp.hpp:5:
source/setup.hpp:44:13: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using KEY = char;
^
In file included from source/mine.cpp:1:
In file included from source/field.hpp:7:
In file included from source/sevsegdisp.hpp:6:
source/buffer.hpp:55:9: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
for(auto str : buf) std::cout << str << std::endl;
^
source/buffer.hpp:55:18: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
for(auto str : buf) std::cout << str << std::endl;
^
In file included from source/mine.cpp:1:
In file included from source/field.hpp:7:
In file included from source/sevsegdisp.hpp:7:
source/colour.hpp:3:16: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using COLOUR = const std::string;
^
In file included from source/mine.cpp:1:
In file included from source/field.hpp:7:
source/sevsegdisp.hpp:134:13: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
for(auto str : numbers[nos[i]]){
^
source/sevsegdisp.hpp:134:22: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
for(auto str : numbers[nos[i]]){
^
In file included from source/mine.cpp:1:
In file included from source/field.hpp:9:
source/display.hpp:11:22: warning: missing terminating '"' character [-Winvalid-pp-token]
std :: cout << R"(
^
source/display.hpp:11:22: error: expected ';' after expression
std :: cout << R"(
^
;
source/display.hpp:11:21: error: use of undeclared identifier 'R'
std :: cout << R"(
^
source/display.hpp:11:22: error: expected expression
std :: cout << R"(
^
source/display.hpp:18:105: warning: missing terminating '"' character [-Winvalid-pp-token]
## ## ## ## ## ######## ###### ### ### ######## ######## ## ######## ## ##)";
^
source/display.hpp:23:29: error: expected ';' after expression
writeBuf << white_fg <<R"( (_) )" << endl;
^
;
source/display.hpp:23:28: error: use of undeclared identifier 'R'
writeBuf << white_fg <<R"( (_) )" << endl;
^
source/display.hpp:23:68: error: invalid operands to binary expression ('const char *' and 'const std::string'
(aka 'const basic_string<char, char_traits<char>, allocator<char> >'))
writeBuf << white_fg <<R"( (_) )" << endl;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~
source/buffer.hpp:30:9: note: candidate function not viable: no known conversion from 'const char [37]' to
'Buffer &' for 1st argument
Buffer& operator<<(Buffer &curr, const std::string &str){
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:748:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[37]'
operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:755:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[37]'
operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:788:1: note: candidate template ignored: could
not match 'basic_ostream<char, type-parameter-0-0>' against 'char const[37]'
operator<<(basic_ostream<char, _Traits>& __os, char __c)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:795:1: note: candidate template ignored: could
not match 'basic_ostream<char, type-parameter-0-0>' against 'char const[37]'
operator<<(basic_ostream<char, _Traits>& __os, signed char __c)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:802:1: note: candidate template ignored: could
not match 'basic_ostream<char, type-parameter-0-0>' against 'char const[37]'
operator<<(basic_ostream<char, _Traits>& __os, unsigned char __c)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:809:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[37]'
operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:816:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[37]'
operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:862:1: note: candidate template ignored: could
not match 'basic_ostream<char, type-parameter-0-0>' against 'char const[37]'
operator<<(basic_ostream<char, _Traits>& __os, const char* __str)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:869:1: note: candidate template ignored: could
not match 'basic_ostream<char, type-parameter-0-0>' against 'char const[37]'
operator<<(basic_ostream<char, _Traits>& __os, const signed char* __str)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:877:1: note: candidate template ignored: could
not match 'basic_ostream<char, type-parameter-0-0>' against 'char const[37]'
operator<<(basic_ostream<char, _Traits>& __os, const unsigned char* __str)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:1044:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[37]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:1052:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[37]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:1061:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[37]'
operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:1069:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[37]'
operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:1090:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[37]'
operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:1982:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[37]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:2452:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[37]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:2773:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[37]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:2955:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[37]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:3208:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[37]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:3440:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[37]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:3663:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[37]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:3784:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[37]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:3896:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[37]'
operator<<(basic_ostream<_CharT, _Traits>& __os, const bernoulli_distribution& __x)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:4074:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[37]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:4192:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[37]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:4303:5: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[37]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:4496:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[37]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:4717:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[37]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:4828:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[37]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:4947:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[37]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:5119:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[37]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:5255:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[37]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:5361:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[37]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:5465:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[37]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:5585:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[37]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:5707:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[37]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:5823:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[37]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:6046:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[37]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:6347:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[37]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:6686:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[37]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/iomanip:362:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[37]'
operator<<(basic_ostream<_CharT, _Traits>& __os, const __iom_t8<_MoneyT>& __x)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/iomanip:482:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[37]'
operator<<(basic_ostream<_CharT, _Traits>& __os, const __iom_t10<_CharT>& __x)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/iomanip:572:33: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[37]'
basic_ostream<_CharT, _Traits>& operator<<(
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/iomanip:592:33: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[37]'
basic_ostream<_CharT, _Traits>& operator<<(
^
In file included from source/mine.cpp:1:
In file included from source/field.hpp:9:
source/display.hpp:24:29: error: expected ';' after expression
writeBuf << white_fg <<R"( _ __ ___ _ _ __ ___ ___ )" << endl;
^
;
source/display.hpp:24:28: error: use of undeclared identifier 'R'
writeBuf << white_fg <<R"( _ __ ___ _ _ __ ___ ___ )" << endl;
^
source/display.hpp:24:68: error: invalid operands to binary expression ('const char *' and 'const std::string'
(aka 'const basic_string<char, char_traits<char>, allocator<char> >'))
writeBuf << white_fg <<R"( _ __ ___ _ _ __ ___ ___ )" << endl;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~
source/buffer.hpp:30:9: note: candidate function not viable: no known conversion from 'const char [33]' to
'Buffer &' for 1st argument
Buffer& operator<<(Buffer &curr, const std::string &str){
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:748:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[33]'
operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:755:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[33]'
operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:788:1: note: candidate template ignored: could
not match 'basic_ostream<char, type-parameter-0-0>' against 'char const[33]'
operator<<(basic_ostream<char, _Traits>& __os, char __c)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:795:1: note: candidate template ignored: could
not match 'basic_ostream<char, type-parameter-0-0>' against 'char const[33]'
operator<<(basic_ostream<char, _Traits>& __os, signed char __c)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:802:1: note: candidate template ignored: could
not match 'basic_ostream<char, type-parameter-0-0>' against 'char const[33]'
operator<<(basic_ostream<char, _Traits>& __os, unsigned char __c)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:809:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[33]'
operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:816:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[33]'
operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:862:1: note: candidate template ignored: could
not match 'basic_ostream<char, type-parameter-0-0>' against 'char const[33]'
operator<<(basic_ostream<char, _Traits>& __os, const char* __str)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:869:1: note: candidate template ignored: could
not match 'basic_ostream<char, type-parameter-0-0>' against 'char const[33]'
operator<<(basic_ostream<char, _Traits>& __os, const signed char* __str)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:877:1: note: candidate template ignored: could
not match 'basic_ostream<char, type-parameter-0-0>' against 'char const[33]'
operator<<(basic_ostream<char, _Traits>& __os, const unsigned char* __str)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:1044:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[33]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:1052:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[33]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:1061:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[33]'
operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:1069:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[33]'
operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:1090:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[33]'
operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:1982:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[33]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:2452:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[33]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:2773:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[33]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:2955:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[33]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:3208:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[33]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:3440:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[33]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:3663:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[33]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:3784:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[33]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:3896:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[33]'
operator<<(basic_ostream<_CharT, _Traits>& __os, const bernoulli_distribution& __x)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:4074:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[33]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:4192:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[33]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:4303:5: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[33]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:4496:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[33]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:4717:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[33]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:4828:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[33]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:4947:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[33]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:5119:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[33]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:5255:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[33]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:5361:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[33]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:5465:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[33]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:5585:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[33]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:5707:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[33]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:5823:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[33]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:6046:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[33]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:6347:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[33]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:6686:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[33]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/iomanip:362:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[33]'
operator<<(basic_ostream<_CharT, _Traits>& __os, const __iom_t8<_MoneyT>& __x)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/iomanip:482:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[33]'
operator<<(basic_ostream<_CharT, _Traits>& __os, const __iom_t10<_CharT>& __x)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/iomanip:572:33: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[33]'
basic_ostream<_CharT, _Traits>& operator<<(
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/iomanip:592:33: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[33]'
basic_ostream<_CharT, _Traits>& operator<<(
^
In file included from source/mine.cpp:1:
In file included from source/field.hpp:9:
source/display.hpp:25:29: error: expected ';' after expression
writeBuf << white_fg <<R"( | '_ ` _ \| | '_ \ / _ / __|)" << endl;
^
;
source/display.hpp:25:28: error: use of undeclared identifier 'R'
writeBuf << white_fg <<R"( | '_ ` _ \| | '_ \ / _ / __|)" << endl;
^
source/display.hpp:25:42: warning: unknown escape sequence '\|' [-Wunknown-escape-sequence]
writeBuf << white_fg <<R"( | '_ ` _ \| | '_ \ / _ / __|)" << endl;
^~
source/display.hpp:25:50: warning: unknown escape sequence '\ ' [-Wunknown-escape-sequence]
writeBuf << white_fg <<R"( | '_ ` _ \| | '_ \ / _ / __|)" << endl;
^~
source/display.hpp:25:68: error: invalid operands to binary expression ('const char *' and 'const std::string'
(aka 'const basic_string<char, char_traits<char>, allocator<char> >'))
writeBuf << white_fg <<R"( | '_ ` _ \| | '_ \ / _ / __|)" << endl;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~
source/buffer.hpp:30:9: note: candidate function not viable: no known conversion from 'const char [31]' to
'Buffer &' for 1st argument
Buffer& operator<<(Buffer &curr, const std::string &str){
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:748:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:755:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:788:1: note: candidate template ignored: could
not match 'basic_ostream<char, type-parameter-0-0>' against 'char const[31]'
operator<<(basic_ostream<char, _Traits>& __os, char __c)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:795:1: note: candidate template ignored: could
not match 'basic_ostream<char, type-parameter-0-0>' against 'char const[31]'
operator<<(basic_ostream<char, _Traits>& __os, signed char __c)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:802:1: note: candidate template ignored: could
not match 'basic_ostream<char, type-parameter-0-0>' against 'char const[31]'
operator<<(basic_ostream<char, _Traits>& __os, unsigned char __c)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:809:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:816:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:862:1: note: candidate template ignored: could
not match 'basic_ostream<char, type-parameter-0-0>' against 'char const[31]'
operator<<(basic_ostream<char, _Traits>& __os, const char* __str)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:869:1: note: candidate template ignored: could
not match 'basic_ostream<char, type-parameter-0-0>' against 'char const[31]'
operator<<(basic_ostream<char, _Traits>& __os, const signed char* __str)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:877:1: note: candidate template ignored: could
not match 'basic_ostream<char, type-parameter-0-0>' against 'char const[31]'
operator<<(basic_ostream<char, _Traits>& __os, const unsigned char* __str)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:1044:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:1052:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:1061:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:1069:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:1090:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:1982:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:2452:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:2773:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:2955:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:3208:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:3440:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:3663:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:3784:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:3896:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os, const bernoulli_distribution& __x)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:4074:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:4192:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:4303:5: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:4496:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:4717:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:4828:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:4947:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:5119:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:5255:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:5361:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:5465:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:5585:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:5707:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:5823:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:6046:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:6347:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:6686:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/iomanip:362:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os, const __iom_t8<_MoneyT>& __x)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/iomanip:482:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os, const __iom_t10<_CharT>& __x)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/iomanip:572:33: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
basic_ostream<_CharT, _Traits>& operator<<(
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/iomanip:592:33: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
basic_ostream<_CharT, _Traits>& operator<<(
^
In file included from source/mine.cpp:1:
In file included from source/field.hpp:9:
source/display.hpp:26:29: error: expected ';' after expression
writeBuf << white_fg <<R"( | | | | | | | | | | __\__ \)" << endl;
^
;
source/display.hpp:26:28: error: use of undeclared identifier 'R'
writeBuf << white_fg <<R"( | | | | | | | | | | __\__ \)" << endl;
^
source/display.hpp:26:56: warning: unknown escape sequence '\_' [-Wunknown-escape-sequence]
writeBuf << white_fg <<R"( | | | | | | | | | | __\__ \)" << endl;
^~
source/display.hpp:26:60: warning: unknown escape sequence '\)' [-Wunknown-escape-sequence]
writeBuf << white_fg <<R"( | | | | | | | | | | __\__ \)" << endl;
^~
source/display.hpp:26:68: error: invalid operands to binary expression ('const char *' and 'const std::string'
(aka 'const basic_string<char, char_traits<char>, allocator<char> >'))
writeBuf << white_fg <<R"( | | | | | | | | | | __\__ \)" << endl;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~
source/buffer.hpp:30:9: note: candidate function not viable: no known conversion from 'const char [31]' to
'Buffer &' for 1st argument
Buffer& operator<<(Buffer &curr, const std::string &str){
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:748:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:755:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:788:1: note: candidate template ignored: could
not match 'basic_ostream<char, type-parameter-0-0>' against 'char const[31]'
operator<<(basic_ostream<char, _Traits>& __os, char __c)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:795:1: note: candidate template ignored: could
not match 'basic_ostream<char, type-parameter-0-0>' against 'char const[31]'
operator<<(basic_ostream<char, _Traits>& __os, signed char __c)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:802:1: note: candidate template ignored: could
not match 'basic_ostream<char, type-parameter-0-0>' against 'char const[31]'
operator<<(basic_ostream<char, _Traits>& __os, unsigned char __c)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:809:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:816:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:862:1: note: candidate template ignored: could
not match 'basic_ostream<char, type-parameter-0-0>' against 'char const[31]'
operator<<(basic_ostream<char, _Traits>& __os, const char* __str)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:869:1: note: candidate template ignored: could
not match 'basic_ostream<char, type-parameter-0-0>' against 'char const[31]'
operator<<(basic_ostream<char, _Traits>& __os, const signed char* __str)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:877:1: note: candidate template ignored: could
not match 'basic_ostream<char, type-parameter-0-0>' against 'char const[31]'
operator<<(basic_ostream<char, _Traits>& __os, const unsigned char* __str)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:1044:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:1052:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:1061:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:1069:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:1090:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:1982:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:2452:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:2773:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:2955:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:3208:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:3440:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:3663:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:3784:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:3896:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os, const bernoulli_distribution& __x)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:4074:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:4192:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:4303:5: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:4496:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:4717:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:4828:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:4947:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:5119:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:5255:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:5361:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:5465:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:5585:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:5707:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:5823:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:6046:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:6347:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:6686:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/iomanip:362:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os, const __iom_t8<_MoneyT>& __x)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/iomanip:482:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
operator<<(basic_ostream<_CharT, _Traits>& __os, const __iom_t10<_CharT>& __x)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/iomanip:572:33: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
basic_ostream<_CharT, _Traits>& operator<<(
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/iomanip:592:33: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[31]'
basic_ostream<_CharT, _Traits>& operator<<(
^
In file included from source/mine.cpp:1:
In file included from source/field.hpp:9:
source/display.hpp:27:29: error: expected ';' after expression
writeBuf << white_fg <<R"( |_| |_| |_|_|_| |_|\___|___/)" << endl;
^
;
source/display.hpp:27:28: error: use of undeclared identifier 'R'
writeBuf << white_fg <<R"( |_| |_| |_|_|_| |_|\___|___/)" << endl;
^
source/display.hpp:27:52: warning: unknown escape sequence '\_' [-Wunknown-escape-sequence]
writeBuf << white_fg <<R"( |_| |_| |_|_|_| |_|\___|___/)" << endl;
^~
source/display.hpp:27:68: error: invalid operands to binary expression ('const char *' and 'const std::string'
(aka 'const basic_string<char, char_traits<char>, allocator<char> >'))
writeBuf << white_fg <<R"( |_| |_| |_|_|_| |_|\___|___/)" << endl;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~
source/buffer.hpp:30:9: note: candidate function not viable: no known conversion from 'const char [32]' to
'Buffer &' for 1st argument
Buffer& operator<<(Buffer &curr, const std::string &str){
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:748:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[32]'
operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:755:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[32]'
operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:788:1: note: candidate template ignored: could
not match 'basic_ostream<char, type-parameter-0-0>' against 'char const[32]'
operator<<(basic_ostream<char, _Traits>& __os, char __c)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:795:1: note: candidate template ignored: could
not match 'basic_ostream<char, type-parameter-0-0>' against 'char const[32]'
operator<<(basic_ostream<char, _Traits>& __os, signed char __c)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:802:1: note: candidate template ignored: could
not match 'basic_ostream<char, type-parameter-0-0>' against 'char const[32]'
operator<<(basic_ostream<char, _Traits>& __os, unsigned char __c)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:809:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[32]'
operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:816:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[32]'
operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:862:1: note: candidate template ignored: could
not match 'basic_ostream<char, type-parameter-0-0>' against 'char const[32]'
operator<<(basic_ostream<char, _Traits>& __os, const char* __str)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:869:1: note: candidate template ignored: could
not match 'basic_ostream<char, type-parameter-0-0>' against 'char const[32]'
operator<<(basic_ostream<char, _Traits>& __os, const signed char* __str)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:877:1: note: candidate template ignored: could
not match 'basic_ostream<char, type-parameter-0-0>' against 'char const[32]'
operator<<(basic_ostream<char, _Traits>& __os, const unsigned char* __str)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:1044:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[32]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:1052:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[32]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:1061:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[32]'
operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:1069:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[32]'
operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/ostream:1090:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[32]'
operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:1982:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[32]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:2452:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[32]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:2773:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[32]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:2955:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[32]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:3208:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[32]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:3440:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[32]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:3663:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[32]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:3784:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[32]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:3896:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[32]'
operator<<(basic_ostream<_CharT, _Traits>& __os, const bernoulli_distribution& __x)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:4074:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[32]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:4192:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[32]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:4303:5: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[32]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:4496:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[32]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:4717:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[32]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:4828:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[32]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:4947:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[32]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:5119:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[32]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:5255:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[32]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:5361:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[32]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:5465:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[32]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:5585:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[32]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:5707:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[32]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:5823:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[32]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:6046:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[32]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:6347:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[32]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/random:6686:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[32]'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/iomanip:362:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[32]'
operator<<(basic_ostream<_CharT, _Traits>& __os, const __iom_t8<_MoneyT>& __x)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/iomanip:482:1: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[32]'
operator<<(basic_ostream<_CharT, _Traits>& __os, const __iom_t10<_CharT>& __x)
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/iomanip:572:33: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[32]'
basic_ostream<_CharT, _Traits>& operator<<(
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/iomanip:592:33: note: candidate template ignored: could
not match 'basic_ostream<type-parameter-0-0, type-parameter-0-1>' against 'char const[32]'
basic_ostream<_CharT, _Traits>& operator<<(
^
In file included from source/mine.cpp:1:
In file included from source/field.hpp:9:
source/display.hpp:45:25: error: expected ';' after expression
writeBuf << col << R"( __ _____ _ _ )" << endl;
^
;
fatal error: too many errors emitted, stopping now [-ferror-limit=]
13 warnings and 20 errors generated.
make: *** [all] Error 1