Bug 91943

Summary: Build failure in WebCore/xml/XPathParser.cpp with bison-2.6
Product: WebKit Reporter: Mike Gilbert <floppymaster>
Component: XMLAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: gnome, menard, tomi.kyostila
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Difference in XPathGrammar.h output between bison-2.4.3 and bison-2.6 none

Description Mike Gilbert 2012-07-22 10:20:23 PDT
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.
Comment 1 Mike Gilbert 2012-07-22 10:21:46 PDT
Created attachment 153697 [details]
Difference in XPathGrammar.h output between bison-2.4.3 and bison-2.6
Comment 3 Alexis Menard (darktears) 2012-07-25 10:15:45 PDT

*** This bug has been marked as a duplicate of bug 92264 ***