Re: [gtk-osx-devel] Bison 3 and WebKit
- From: John Ralls <jralls ceridwen us>
- To: Philip Chimento <philip chimento gmail com>
- Cc: gtk-osx-devel-list gnome org
- Subject: Re: [gtk-osx-devel] Bison 3 and WebKit
- Date: Mon, 8 Dec 2014 17:15:31 -0800
On Dec 8, 2014, at 3:37 PM, Philip Chimento <philip chimento gmail com> wrote:
On Sun, Dec 7, 2014 at 5:05 PM, John Ralls <jralls ceridwen us> wrote:
The upgrade of Bison to version 3 which you graciously provided breaks the WebKit build, which you also
graciously provided. ISTR that you mumbled something about working on building a newer WebKit version. Are
you?
Yes! It's been a bit pre-empted by other stuff, but I am still working on building WebKit 2.4.7. What is it
about Bison 3 that breaks the old build?
erivedSources/WebCore/CSSGrammar.cpp:64:25: note: expanded from macro 'yylex'
#define yylex cssyylex
^~~~~~~~
Source/WebCore/css/CSSGrammar.y:96:12: note: candidate function not viable:
requires 2 arguments, but 1 was provided
static int cssyylex(YYSTYPE* yylval, void* parser)
^
Source/WebCore/css/CSSGrammar.y:305:33: error: use of undeclared identifier
'parser'; did you mean 'pause'?
static_cast<CSSParser*>(parser)->m_rule = (yyvsp[-2].rule);
^~~~~~
pause
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/unistd.h:462:6:
note:
'pause' declared here
int pause(void) __DARWIN_ALIAS_C(pause);
^
Source/WebCore/css/CSSGrammar.y:305:9: error: static_cast from 'int (*)()' to
'WebCore::CSSParser *' is not allowed
static_cast<CSSParser*>(parser)->m_rule = (yyvsp[-2].rule);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Source/WebCore/css/CSSGrammar.y:311:33: error: use of undeclared identifier
'parser'; did you mean 'pause'?
static_cast<CSSParser*>(parser)->m_keyframe = (yyvsp[-2].keyframeRule);
^~~~~~
pause
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/unistd.h:462:6:
note:
'pause' declared here
int pause(void) __DARWIN_ALIAS_C(pause);
^
Source/WebCore/css/CSSGrammar.y:311:9: error: static_cast from 'int (*)()' to
'WebCore::CSSParser *' is not allowed
static_cast<CSSParser*>(parser)->m_keyframe = (yyvsp[-2].keyframeRule);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Source/WebCore/css/CSSGrammar.y:323:48: error: use of undeclared identifier
'parser'; did you mean 'pause'?
CSSParser* p = static_cast<CSSParser*>(parser);
^~~~~~
pause
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/unistd.h:462:6:
note:
'pause' declared here
int pause(void) __DARWIN_ALIAS_C(pause);
^
Source/WebCore/css/CSSGrammar.y:323:24: error: static_cast from 'int (*)()' to
'WebCore::CSSParser *' is not allowed
CSSParser* p = static_cast<CSSParser*>(parser);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Source/WebCore/css/CSSGrammar.y:337:49: error: use of undeclared identifier
'parser'; did you mean 'pause'?
CSSParser* p = static_cast<CSSParser*>(parser);
^~~~~~
pause
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/unistd.h:462:6:
note:
'pause' declared here
int pause(void) __DARWIN_ALIAS_C(pause);
^
Source/WebCore/css/CSSGrammar.y:337:25: error: static_cast from 'int (*)()' to
'WebCore::CSSParser *' is not allowed
CSSParser* p = static_cast<CSSParser*>(parser);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Source/WebCore/css/CSSGrammar.y:345:52: error: use of undeclared identifier
'parser'; did you mean 'pause'?
CSSParser* p = static_cast<CSSParser*>(parser);
^~~~~~
pause
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/unistd.h:462:6:
note:
'pause' declared here
int pause(void) __DARWIN_ALIAS_C(pause);
^
Source/WebCore/css/CSSGrammar.y:345:28: error: static_cast from 'int (*)()' to
'WebCore::CSSParser *' is not allowed
CSSParser* p = static_cast<CSSParser*>(parser);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Source/WebCore/css/CSSGrammar.y:376:45: error: use of undeclared identifier
'parser'; did you mean 'pause'?
CSSParser* p = static_cast<CSSParser*>(parser);
^~~~~~
pause
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/unistd.h:462:6:
note:
'pause' declared here
int pause(void) __DARWIN_ALIAS_C(pause);
^
Source/WebCore/css/CSSGrammar.y:376:21: error: static_cast from 'int (*)()' to
'WebCore::CSSParser *' is not allowed
CSSParser* p = static_cast<CSSParser*>(parser);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Source/WebCore/css/CSSGrammar.y:377:45: error: use of undeclared identifier
'parser'; did you mean 'pause'?
(yyval.rule) = static_cast<CSSParser*>(parser)->createCharsetRule((...
^~~~~~
pause
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/unistd.h:462:6:
note:
'pause' declared here
int pause(void) __DARWIN_ALIAS_C(pause);
^
Source/WebCore/css/CSSGrammar.y:377:21: error: static_cast from 'int (*)()' to
'WebCore::CSSParser *' is not allowed
(yyval.rule) = static_cast<CSSParser*>(parser)->createCharsetRule((...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Source/WebCore/css/CSSGrammar.y:397:45: error: use of undeclared identifier
'parser'; did you mean 'pause'?
CSSParser* p = static_cast<CSSParser*>(parser);
^~~~~~
pause
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/unistd.h:462:6:
note:
'pause' declared here
int pause(void) __DARWIN_ALIAS_C(pause);
^
Source/WebCore/css/CSSGrammar.y:397:21: error: static_cast from 'int (*)()' to
'WebCore::CSSParser *' is not allowed
CSSParser* p = static_cast<CSSParser*>(parser);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Source/WebCore/css/CSSGrammar.y:417:33: error: use of undeclared identifier
'parser'; did you mean 'pause'?
static_cast<CSSParser*>(parser)->m_hadSyntacticallyValidCSSRule = true;
^~~~~~
pause
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/unistd.h:462:6:
note:
'pause' declared here
int pause(void) __DARWIN_ALIAS_C(pause);
^
Source/WebCore/css/CSSGrammar.y:417:9: error: static_cast from 'int (*)()' to
'WebCore::CSSParser *' is not allowed
static_cast<CSSParser*>(parser)->m_hadSyntacticallyValidCSSRule = true;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Moving ~/.local/bin/bison out of the way, so that it uses the one Apple ships (v.2.3), clears the problem.
Regards,
John Ralls
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]