Package: foundry,bison,flex Severity: normal Hi,
I have a package, "foundry", which generates a number of lexers and parsers, in each case also using the header file generation and the options required to build both without any global state. When I build the package in unstable (flex 2.5.35, bison 2.7.1), I get build failures[1] because the header file generated from Bison requires the yyscan_t definition from the flex generated header file, and the header file generated from flex uses the YYSTYPE definition from the Bison generated header file. Obviously, one has to go before the other. The lexer was generated using %option reentrant and the parser uses %pure-parser %parse-param {yyscan_t scanner} %lex-param {yyscan_t scanner} This problem can be worked around by using void * rather than yyscan_t as the lines above -- nonetheless, a proper solution would be nice. Simon [1] https://buildd.debian.org/status/fetch.php?pkg=foundry&arch=i386&ver=0.0.20130703-1&stamp=1372849196 -- System Information: Debian Release: 7.1 APT prefers stable APT policy: (990, 'stable'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.9-1-amd64 (SMP w/8 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
signature.asc
Description: OpenPGP digital signature