Hi Joel, test compiled bison git repo branch-2.5 of today with the new graphviz.c patches and with gnulib and autoconf of today git with a newer gcc version: gcc (SUSE Linux) 4.5.0 20100420 [gcc-4_5-branch revision 158562]
and compilation stops with this message: gcc -std=gnu99 -I. -I./lib -I./lib -I. -g -O2 -MT src/src_bison-scan-code-c.o -MD -MP -MF src/.deps/src_bison-scan-code-c.Tpo -c -o src/src_bison-scan-code-c.o `test -f 'src/scan-code-c.c' || echo './'`src/scan-code-c.c In file included from src/scan-code-c.c:3:0: src/scan-code.c:788:11: error: conflicting types for 'code_get_leng' ./src/flex-scanner.h:28:1: note: previous declaration of 'code_get_leng' was here In file included from src/scan-code-c.c:3:0: src/scan-code.c:2343:11: error: conflicting types for 'code_get_leng' ./src/flex-scanner.h:28:1: note: previous declaration of 'code_get_leng' was here in scan-code.c is: yy_size_t code_get_leng (void ); in flex-scanner.h is: int FLEX_PREFIX (get_leng) (void); changed the flex-scanner.h entry and it compiled perfect. make maintainer-check log is perfect: All 307 tests behaved as expected. All 307 tests behaved as expected. All 307 tests behaved as expected. checked the new dot output and it is now: // Generated by GNU Bison 2.4.502-bc81d-dirty. // Report bugs to <[email protected]>. // Home page: <http://www.gnu.org/software/bison/>. digraph "dot-grammar.y" { ... } when creating filename with spaces it is also in the postscript header of dot ps output, but no problem: %%Title: ./test test.y and vcgview has no problems reading bison dot graph. checked using xsltproc and xml2dot.xsl generates the same dot file as using 'bison --graph' output. noticed git bison repo branch-2.5 does not have the INSTALL file and ./bootstrap creates a symlink from gnulib INSTALL. in the bootstrap log is message to stderr about this: Makefile.am: installing `./INSTALL' Thanks.
