There shouldn't be such error if all done right. The only case when I were able get the same error as you mentioned, is if wchar.h were included into function body (which is wrong and shouldn't be done) instead of global scope. Include wchar.h at the top of source file (like other include files) and it will work.
Crystax wcsncasecmp was not declared in this scope
-
13-04-2022 - |
Pregunta
I'm making a android app with crystax Improved Android NDK, and I did it:
#include <wchar.h>
wcsncasecmp(L"", L"", 0);
and I getting the follow error:
jni/MooveBike.cpp:30:34: error: 'wcsncasecmp' was not declared in this scope
what i did wrong?
Solución
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow