-
@ OrzBruford@mitsugu.github.io
2025-05-03 23:44:19``` nkf.c:6946:5: error: call to undeclared function 'setlocale'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 6946 | setlocale(LC_CTYPE, ""); | ^ nkf.c:6946:15: error: use of undeclared identifier 'LC_CTYPE' 6946 | setlocale(LC_CTYPE, ""); | ^ 2 errors generated. make: *** [Makefile:20: nkf.o] Error 1 ``` つまり nkf の開発は Windows でしか行われてないと。nkf.c の #includeを ifdef の外に置かないとビルドできんわな。