|
From: Tatsuro M. <tma...@ya...> - 2016-02-03 05:40:33
|
----- Original Message ----- > From: Tatsuro MATSUOKA > To: gnuplot-beta > Cc: > Date: 2016/2/3, Wed 13:24 > Subject: cannot compile doc2html.c on current cvs (2016-01-31) on MinGW > > 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 I have made a patch to config/config.mgw. A patch file is attached. Tatsuro |