Here is what I get. using perl 5.8.8 & bison 2.5: libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src -I../../../src/common -I../../../src/common -I../../../src/gtk -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libdrm -I/usr/include/harfbuzz -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE -I/usr/kerberos/include/ -O2 -g -D_FORTIFY_SOURCE=2 -fstack-protector -Wno-unused-function -Wno-pointer-sign -Wall -pthread -I/usr/include/enchant -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -MT perl_plugin.lo -MD -MP -MF .deps/perl_plugin.Tpo -c perl_plugin.c -fPIC -DPIC -o .libs/perl_plugin.o In file included from /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:3716, from perl_plugin.c:50: /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perly.h:70: error: conflicting types for 'YYSTYPE' matcher_parser_parse.h:287: note: previous declaration of 'YYSTYPE' was here
perl 5.8.8 is several years old and, afaik, now unsupported. My guess would be that this is fixed in a newer perl. Can you upgrade perl?
I can try to bump perl locally and see if the issue persists. I probably can't easily bump it in our repository, as I can't right away foresee what it will break
Works with newer perl, so resolving as won't fix. If you want to fix it for old perl, feel free to reopen.