can't compile in clang
hero-clashes opened this issue · 3 comments
hero-clashes commented
so I am trying to build for android and android ndk use clang
and I am getting this error
C:\enough_words_c_tcod\include\zstr/strict_fstream.hpp:77:12: error: cannot initialize a variable of type 'char *' with
an rvalue of type 'int'
char * p = strerror_r(errno, &buff[0], buff.size());
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hero-clashes commented
okay making it use the same code as the apple one fixed the issue
hero-clashes commented
@ferdymercury not sure why you assigned me 😅
ferdymercury commented
ahh because you solved it yourself apparently ;)