<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>157798</bug_id>
          
          <creation_ts>2016-05-17 09:51:03 -0700</creation_ts>
          <short_desc>Fix the allinone-build after r198669</short_desc>
          <delta_ts>2016-05-18 02:14:49 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>155871</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Csaba Osztrogonác">ossy</assigned_to>
          <cc>achristensen</cc>
    
    <cc>bfulgham</cc>
    
    <cc>commit-queue</cc>
    
    <cc>ossy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1193855</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2016-05-17 09:51:03 -0700</bug_when>
    <thetext>$ Tools/Scripts/build-webkit --efl --allinone-build

...

In file included from ../../Source/WebCore/DerivedSources.cpp:34:0:
DerivedSources/WebCore/ExceptionCodeDescription.h:41:5: error: &quot;ENABLE&quot; is not defined [-Werror=undef]
 #if ENABLE(INDEXED_DATABASE)
     ^
DerivedSources/WebCore/ExceptionCodeDescription.h:41:11: error: missing binary operator before token &quot;(&quot;
 #if ENABLE(INDEXED_DATABASE)
           ^
cc1plus: all warnings being treated as errors

...

It&apos;s incorrect to use ENABLE macros anywhere without including config.h.
It&apos;s surprising how it builds on Apple Windows build.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1193857</commentid>
    <comment_count>1</comment_count>
      <attachid>279134</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2016-05-17 10:06:12 -0700</bug_when>
    <thetext>Created attachment 279134
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1193879</commentid>
    <comment_count>2</comment_count>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2016-05-17 11:05:50 -0700</bug_when>
    <thetext>I think a better solution would be to #include config.h in DerivedSources.cpp.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1194125</commentid>
    <comment_count>3</comment_count>
      <attachid>279134</attachid>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2016-05-17 19:46:05 -0700</bug_when>
    <thetext>Comment on attachment 279134
Patch

(Reviewed this before reading Alex&apos;s comment.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1194200</commentid>
    <comment_count>4</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2016-05-18 01:33:05 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; I think a better solution would be to #include config.h in
&gt; DerivedSources.cpp.

Unfortunately it doesn&apos;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 &apos;void WebCore::uncacheWrapper(WebCore::DOMWrapperWorld&amp;, DOMClass*, WrapperClass*) [with DOMClass = JSC::Profile; WrapperClass = WebCore::JSScriptProfile]&apos;:
DerivedSources/WebCore/JSScriptProfile.cpp:174:71:   required from here
../../Source/WebCore/bindings/js/JSDOMBinding.h:457:44: error: cannot convert &apos;JSC::Profile*&apos; to &apos;JSC::ArrayBuffer*&apos; for argument &apos;1&apos; to &apos;void* WebCore::wrapperKey(JSC::ArrayBuffer*)&apos;
../../Source/WebCore/bindings/js/JSDOMBinding.h: In instantiation of &apos;void WebCore::uncacheWrapper(WebCore::DOMWrapperWorld&amp;, DOMClass*, WrapperClass*) [with DOMClass = JSC::ProfileNode; WrapperClass = WebCore::JSScriptProfileNode]&apos;:
DerivedSources/WebCore/JSScriptProfileNode.cpp:229:79:   required from here
../../Source/WebCore/bindings/js/JSDOMBinding.h:457:44: error: cannot convert &apos;JSC::ProfileNode*&apos; to &apos;JSC::ArrayBuffer*&apos; for argument &apos;1&apos; to &apos;void* WebCore::wrapperKey(JSC::ArrayBuffer*)&apos;


I don&apos;t have time to investigate newer and newer failures, 
I still would like to propose my original patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1194203</commentid>
    <comment_count>5</comment_count>
      <attachid>279134</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2016-05-18 01:53:37 -0700</bug_when>
    <thetext>Comment on attachment 279134
Patch

Let&apos;s land it as is. And then let anybody to fix DerivedSources.cpp if there is any interest in it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1194207</commentid>
    <comment_count>6</comment_count>
      <attachid>279134</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2016-05-18 02:14:45 -0700</bug_when>
    <thetext>Comment on attachment 279134
Patch

Clearing flags on attachment: 279134

Committed r201074: &lt;http://trac.webkit.org/changeset/201074&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1194208</commentid>
    <comment_count>7</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2016-05-18 02:14:49 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>279134</attachid>
            <date>2016-05-17 10:06:12 -0700</date>
            <delta_ts>2016-05-18 02:14:45 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-157798-20160517100709.patch</filename>
            <type>text/plain</type>
            <size>1509</size>
            <attacher name="Csaba Osztrogonác">ossy</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjAxMDE2CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggZDFiYzE3Njg4YTc4MTBk
OGQ0NzY0NDk1ZjcyYjk4OWRhNzlkY2QzNC4uODk4Y2E4OTcyM2VkNjhjMDk2ODcwNGE1ODE1YmU4
ZWMyY2NjMWZjYyAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJDb3JlL0NoYW5nZUxvZwpAQCAtMSwzICsxLDEyIEBACisyMDE2LTA1LTE3ICBDc2Fi
YSBPc3p0cm9nb27DoWMgIDxvc3N5QHdlYmtpdC5vcmc+CisKKyAgICAgICAgRml4IHRoZSBhbGxp
bm9uZS1idWlsZCBhZnRlciByMTk4NjY5CisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3Jn
L3Nob3dfYnVnLmNnaT9pZD0xNTc3OTgKKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9P
UFMhKS4KKworICAgICAgICAqIENNYWtlTGlzdHMudHh0OiBVc2UgRGVyaXZlZFNvdXJjZXMuY3Bw
IG9ubHkgb24gV2luZG93cywgaXQncyBicm9rZW4gZXZlcnl3aGVyZSBlbHNlLgorCiAyMDE2LTA1
LTE3ICBNeWxlcyBDLiBNYXhmaWVsZCAgPG1tYXhmaWVsZEBhcHBsZS5jb20+CiAKICAg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