<?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>47455</bug_id>
          
          <creation_ts>2010-10-09 13:07:18 -0700</creation_ts>
          <short_desc>[Qt] Compile fails when building qtwebkit with the &quot;--v8&quot; option...</short_desc>
          <delta_ts>2010-10-14 12:23:07 -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>WebKit Qt</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</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>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Dawit A.">adawit</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>commit-queue</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>292167</commentid>
    <comment_count>0</comment_count>
    <who name="Dawit A.">adawit</who>
    <bug_when>2010-10-09 13:07:18 -0700</bug_when>
    <thetext>Because of the following #include sequence in the generated webkit v8 source files:
V8Proxy.h -&gt; PlatformBridge.h -&gt; npapi.h -&gt; Xlib.h -&gt; X.h

That sequence leads to the word &quot;None&quot; being defined as 


#ifndef None
#define None                 0L /* universal null resource or null atom */
#endif

in X.h. Unfortunately that leads to the &quot;None&quot; in &quot;v8::None&quot; enum values being changed to v8::0L by the gcc preprocessor...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>292168</commentid>
    <comment_count>1</comment_count>
      <attachid>70366</attachid>
    <who name="Dawit A.">adawit</who>
    <bug_when>2010-10-09 13:09:29 -0700</bug_when>
    <thetext>Created attachment 70366
Proposed patch to fix compile issue...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>292173</commentid>
    <comment_count>2</comment_count>
      <attachid>70366</attachid>
    <who name="Andreas Kling">kling</who>
    <bug_when>2010-10-09 13:20:44 -0700</bug_when>
    <thetext>Comment on attachment 70366
Proposed patch to fix compile issue...

View in context: https://bugs.webkit.org/attachment.cgi?id=70366&amp;action=review

&gt; WebCore/platform/qt/PlatformBridge.h:80
&gt;  class NPObject;
&gt; +class NPP;

Snag this from ChromiumBridge.h instead:

typedef struct NPObject NPObject;
typedef struct _NPP NPP_t;
typedef NPP_t* NPP;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>292174</commentid>
    <comment_count>3</comment_count>
      <attachid>70368</attachid>
    <who name="Dawit A.">adawit</who>
    <bug_when>2010-10-09 13:20:48 -0700</bug_when>
    <thetext>Created attachment 70368
Proposed patch [Update 1]...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>292177</commentid>
    <comment_count>4</comment_count>
      <attachid>70368</attachid>
    <who name="Andreas Kling">kling</who>
    <bug_when>2010-10-09 13:24:09 -0700</bug_when>
    <thetext>Comment on attachment 70368
Proposed patch [Update 1]...

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>294273</commentid>
    <comment_count>5</comment_count>
      <attachid>70368</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-10-14 12:22:58 -0700</bug_when>
    <thetext>Comment on attachment 70368
Proposed patch [Update 1]...

Clearing flags on attachment: 70368

Committed r69791: &lt;http://trac.webkit.org/changeset/69791&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>294274</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-10-14 12:23:07 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>70366</attachid>
            <date>2010-10-09 13:09:29 -0700</date>
            <delta_ts>2010-10-09 13:20:48 -0700</delta_ts>
            <desc>Proposed patch to fix compile issue...</desc>
            <filename>bug_47455_fix_compile_with_v8_engine.patch</filename>
            <type>text/plain</type>
            <size>923</size>
            <attacher name="Dawit A.">adawit</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYkNvcmUvQ2hhbmdlTG9nIGIvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXgg
NjBlYjA5Ny4uNTdmYTE4NyAxMDA2NDQKLS0tIGEvV2ViQ29yZS9DaGFuZ2VMb2cKKysrIGIvV2Vi
Q29yZS9DaGFuZ2VMb2cKQEAgLTEsMyArMSwxMiBAQAorMjAxMC0xMC0wOSAgRGF3aXQgQWxlbWF5
ZWh1ICA8YWRhd2l0QGtkZS5vcmc+CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BT
ISkuCisKKyAgICAgICAgRml4IGNvbXBpbGUgZXJyb3Igd2hlbiBidWxkaW5nIHdlYmtpdCdzIFF0
IHBvcnQgdXNpbmcgdGhlICItLXY4IiBvcHRpb24uCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJr
aXQub3JnL3Nob3dfYnVnLmNnaT9pZD00NzQ1NQorCisgICAgICAgICogcGxhdGZvcm0vcXQvUGxh
dGZvcm1CcmlkZ2UuaDoKKwogMjAxMC0xMC0wMiAgRGF3aXQgQWxlbWF5ZWh1ICA8YWRhd2l0QGtk
ZS5vcmc+CiAKICAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkKZGlmZiAtLWdpdCBh
L1dlYkNvcmUvcGxhdGZvcm0vcXQvUGxhdGZvcm1CcmlkZ2UuaCBiL1dlYkNvcmUvcGxhdGZvcm0v
cXQvUGxhdGZvcm1CcmlkZ2UuaAppbmRleCA5MThlMTM5Li5lNDQxMTE2IDEwMDY0NAotLS0gYS9X
ZWJDb3JlL3BsYXRmb3JtL3F0L1BsYXRmb3JtQnJpZGdlLmgKKysrIGIvV2ViQ29yZS9wbGF0Zm9y
bS9xdC9QbGF0Zm9ybUJyaWRnZS5oCkBAIC0yNyw3ICsyNyw2IEBACiAjZGVmaW5lIFBsYXRmb3Jt
QnJpZGdlX2gKIAogI2luY2x1ZGUgIktVUkwuaCIKLSNpbmNsdWRlICJucGFwaS5oIgogI2luY2x1
ZGUgIlBsYXRmb3JtU3RyaW5nLmgiCiAKICNpbmNsdWRlIDx3dGYvVmVjdG9yLmg+CkBAIC03OCw2
ICs3Nyw3IEBACiAKIAogY2xhc3MgTlBPYmplY3Q7CitjbGFzcyBOUFA7CiAKIG5hbWVzcGFjZSBX
ZWJDb3JlIHsKIAo=
</data>
<flag name="review"
          id="60207"
          type_id="1"
          status="-"
          setter="kling"
    />
          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>70368</attachid>
            <date>2010-10-09 13:20:48 -0700</date>
            <delta_ts>2010-10-14 12:22:58 -0700</delta_ts>
            <desc>Proposed patch [Update 1]...</desc>
            <filename>bug_47455_fix_compile_with_v8_engine.patch</filename>
            <type>text/plain</type>
            <size>1049</size>
            <attacher name="Dawit A.">adawit</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYkNvcmUvQ2hhbmdlTG9nIGIvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXgg
NjBlYjA5Ny4uNTdmYTE4NyAxMDA2NDQKLS0tIGEvV2ViQ29yZS9DaGFuZ2VMb2cKKysrIGIvV2Vi
Q29yZS9DaGFuZ2VMb2cKQEAgLTEsMyArMSwxMiBAQAorMjAxMC0xMC0wOSAgRGF3aXQgQWxlbWF5
ZWh1ICA8YWRhd2l0QGtkZS5vcmc+CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1B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