Bug 91943 - Build failure in WebCore/xml/XPathParser.cpp with bison-2.6
Summary: Build failure in WebCore/xml/XPathParser.cpp with bison-2.6
Status: RESOLVED DUPLICATE of bug 92264
Alias: None
Product: WebKit
Classification: Unclassified
Component: XML (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-22 10:20 PDT by Mike Gilbert
Modified: 2012-07-25 10:15 PDT (History)
3 users (show)

See Also:


Attachments
Difference in XPathGrammar.h output between bison-2.4.3 and bison-2.6 (2.71 KB, text/plain)
2012-07-22 10:21 PDT, Mike Gilbert
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***