Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Windows 上で Lem を起動すると、以下の WARNING が出るようになったため、
対応しました。
WARNING の発生箇所は、frontends/ncurses/term.lisp の term-init 関数内の
(lem-setlocale/cffi:setlocale lem-setlocale/cffi:+lc-all+ "")
のところでした。
(
lem-setlocale/cffi:+lc-all+
の値が、Linux では 6 で、MinGW では 0 になるようです)このため、MSYS2/MinGW-w64 (64bit) 環境で、SWIG を回して対応しました。
<以下は SWIG のメモ>
SWIG 4 は Lisp (CFFI) に非対応とのことで、SWIG 3.0.12 をインストールする。
( Status of target languages for SWIG 4 swig/swig#1437 )
そして、以下のように実行する。
これで、cffi.lisp ができるので、cffi_windows.lisp にリネームし、
先頭に以下の2行を挿入し、1個上のフォルダに移動する。