|
From: Tatsuro M. <tma...@ya...> - 2016-02-03 04:24:34
|
Hello I have tried to build the recent cvs tree using MinGW. In compiling doc2html.c, I have met a following error. gcc <snip> ../../docs/windows/doc2html.c ../../docs/termdoc.c ../../docs/xref.c version.co ../../docs/windows/doc2html.c: In function 'convert': ../../docs/windows/doc2html.c:171:72: error: 'VERSION_MAJOR' undeclared (first use in this function) fprintf(b, "<h1 align=\"center\">gnuplot %s patchlevel %s</h1>\n", VERSION_MAJOR, PATCHLEVEL); ^ ../../docs/windows/doc2html.c:171:72: note: each undeclared identifier is reported only once for each function it appears in ../../docs/windows/doc2html.c:171:87: error: 'PATCHLEVEL' undeclared (first use in this function) fprintf(b, "<h1 align=\"center\">gnuplot %s patchlevel %s</h1>\n", VERSION_MAJOR, PATCHLEVEL); For gnuplot 5.0.1, the corresponding line was fprintf(b, "<h1 align=\"center\">gnuplot %s patchlevel %s</h1>\n", gnuplot_version, gnuplot_patchlevel); Perhaps config.mgw should be modified to define VERSION_MAJOR and PATCHLEVEL values. Am I right? Tatsuro |