When building chromium with bison-2.6, the following error occurs: third_party/WebKit/Source/WebCore/xml/XPathParser.cpp: In member function ‘WebCore::XPath::Expression* WebCore::XPath::Parser::parseStatement(const WTF::String&, WTF::PassRefPtr<WebCore::XPathNSResolver>, WebCore::ExceptionCode&)’: third_party/WebKit/Source/WebCore/xml/XPathParser.cpp:478:39: error: too many arguments to function ‘int WebCore::XPath::xpathyyparse()’ /var/tmp/portage/www-client/chromium-21.0.1180.49/work/chromium-21.0.1180.49/out/Release/obj/gen/webkit/XPathGrammar.hpp:108:5: note: declared here It seems that bison-2.6 produces different output for WebCore/xml/XPathGrammar.y than previous versions.
Created attachment 153697 [details] Difference in XPathGrammar.h output between bison-2.4.3 and bison-2.6
Chromium bug: http://code.google.com/p/chromium/issues/detail?id=138243 Gentoo bug: https://bugs.gentoo.org/show_bug.cgi?id=427438
*** This bug has been marked as a duplicate of bug 92264 ***