[5.5] make gnuplot-ja.pdf fails on windows [mingw]
gcc -s -L/mingw64/lib -o doc2tex-ja.exe -DWINDOWS_NO_GUI \
-DALL_TERM_DOC \
-DVERSION_MAJOR='"5.5"' -DPATCHLEVEL='"0"' \
-DJAPANESE_DOC -I. -I../../src -DHAVE_CONFIG_H -I. -Ija/docs/ -Ija//term \
../../docs/doc2tex.c ../../docs/termdoc.c
In file included from ../../docs/doc2x.h:68,
from ../../docs/doc2tex.c:59:
./allterm-ja.h:852: error: unterminated #ifndef
852 | #ifndef JAPANESE_DOC
|
make: *** [Makefile:962: doc2tex-ja.exe] Error 1
It may be a bug in term-ja.diff made by me, sorry. Please use the attached file as term-ja.diff.
I applied the pacth.
By ignoring reversing all patches, I could build gnuplot-ja.pdf on windws [mingw].
Thanks!
Last edit: Tatsuro MATSUOKA 2022-04-15
I misunderstand how to use the diff file.
I replaced docs/term-ja.diff by given diff file that Shigeharu provided.
gnuplot-ja.pdf can be produced successfully.
Commit [e156a5] fixes the issue.
Thanks!
Related
Commit: [e156a5]