WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
157798
Fix the allinone-build after
r198669
https://bugs.webkit.org/show_bug.cgi?id=157798
Summary
Fix the allinone-build after r198669
Csaba Osztrogonác
Reported
2016-05-17 09:51:03 PDT
$ Tools/Scripts/build-webkit --efl --allinone-build ... In file included from ../../Source/WebCore/DerivedSources.cpp:34:0: DerivedSources/WebCore/ExceptionCodeDescription.h:41:5: error: "ENABLE" is not defined [-Werror=undef] #if ENABLE(INDEXED_DATABASE) ^ DerivedSources/WebCore/ExceptionCodeDescription.h:41:11: error: missing binary operator before token "(" #if ENABLE(INDEXED_DATABASE) ^ cc1plus: all warnings being treated as errors ... It's incorrect to use ENABLE macros anywhere without including config.h. It's surprising how it builds on Apple Windows build.
Attachments
Patch
(1.47 KB, patch)
2016-05-17 10:06 PDT
,
Csaba Osztrogonác
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Csaba Osztrogonác
Comment 1
2016-05-17 10:06:12 PDT
Created
attachment 279134
[details]
Patch
Alex Christensen
Comment 2
2016-05-17 11:05:50 PDT
I think a better solution would be to #include config.h in DerivedSources.cpp.
Michael Catanzaro
Comment 3
2016-05-17 19:46:05 PDT
Comment on
attachment 279134
[details]
Patch (Reviewed this before reading Alex's comment.)
Csaba Osztrogonác
Comment 4
2016-05-18 01:33:05 PDT
(In reply to
comment #2
)
> I think a better solution would be to #include config.h in > DerivedSources.cpp.
Unfortunately it doesn't work. Including config.h causes more problems: In file included from ../../Source/WebCore/bindings/js/JSDOMPromise.h:29:0, from ../../Source/WebCore/html/HTMLMediaElement.h:35, from ../../Source/WebCore/html/HTMLAudioElement.h:31, from DerivedSources/WebCore/HTMLElementFactory.cpp:128, from ../../Source/WebCore/DerivedSources.cpp:36: ../../Source/WebCore/bindings/js/JSDOMBinding.h: In instantiation of 'void WebCore::uncacheWrapper(WebCore::DOMWrapperWorld&, DOMClass*, WrapperClass*) [with DOMClass = JSC::Profile; WrapperClass = WebCore::JSScriptProfile]': DerivedSources/WebCore/JSScriptProfile.cpp:174:71: required from here ../../Source/WebCore/bindings/js/JSDOMBinding.h:457:44: error: cannot convert 'JSC::Profile*' to 'JSC::ArrayBuffer*' for argument '1' to 'void* WebCore::wrapperKey(JSC::ArrayBuffer*)' ../../Source/WebCore/bindings/js/JSDOMBinding.h: In instantiation of 'void WebCore::uncacheWrapper(WebCore::DOMWrapperWorld&, DOMClass*, WrapperClass*) [with DOMClass = JSC::ProfileNode; WrapperClass = WebCore::JSScriptProfileNode]': DerivedSources/WebCore/JSScriptProfileNode.cpp:229:79: required from here ../../Source/WebCore/bindings/js/JSDOMBinding.h:457:44: error: cannot convert 'JSC::ProfileNode*' to 'JSC::ArrayBuffer*' for argument '1' to 'void* WebCore::wrapperKey(JSC::ArrayBuffer*)' I don't have time to investigate newer and newer failures, I still would like to propose my original patch.
Csaba Osztrogonác
Comment 5
2016-05-18 01:53:37 PDT
Comment on
attachment 279134
[details]
Patch Let's land it as is. And then let anybody to fix DerivedSources.cpp if there is any interest in it.
WebKit Commit Bot
Comment 6
2016-05-18 02:14:45 PDT
Comment on
attachment 279134
[details]
Patch Clearing flags on attachment: 279134 Committed
r201074
: <
http://trac.webkit.org/changeset/201074
>
WebKit Commit Bot
Comment 7
2016-05-18 02:14:49 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug