<?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>114740</bug_id>
          
          <creation_ts>2013-04-17 06:46:20 -0700</creation_ts>
          <short_desc>Add checking whether the compiler allows to use #pragma directive.</short_desc>
          <delta_ts>2013-04-18 05:54:46 -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>ANGLE</component>
          <version>528+ (Nightly build)</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>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Krzysztof Wolanski">k.wolanski</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>achicu</cc>
    
    <cc>commit-queue</cc>
    
    <cc>dino</cc>
    
    <cc>kling</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>877146</commentid>
    <comment_count>0</comment_count>
    <who name="Krzysztof Wolanski">k.wolanski</who>
    <bug_when>2013-04-17 06:46:20 -0700</bug_when>
    <thetext>Some compilers may complain that #pragma warning is an undefined macro.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>877148</commentid>
    <comment_count>1</comment_count>
      <attachid>198504</attachid>
    <who name="Krzysztof Wolanski">k.wolanski</who>
    <bug_when>2013-04-17 06:51:02 -0700</bug_when>
    <thetext>Created attachment 198504
proposed patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>877834</commentid>
    <comment_count>2</comment_count>
      <attachid>198504</attachid>
    <who name="Andreas Kling">kling</who>
    <bug_when>2013-04-18 05:41:38 -0700</bug_when>
    <thetext>Comment on attachment 198504
proposed patch

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

&gt; Source/ThirdParty/ANGLE/src/compiler/depgraph/DependencyGraph.cpp:7
&gt; +#if defined(_MSC_VER)

This should be #if COMPILER(MSVC)
Otherwise, it looks fine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>877836</commentid>
    <comment_count>3</comment_count>
    <who name="Andreas Kling">kling</who>
    <bug_when>2013-04-18 05:42:36 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; (From update of attachment 198504 [details])
&gt; View in context: https://bugs.webkit.org/attachment.cgi?id=198504&amp;action=review
&gt; 
&gt; &gt; Source/ThirdParty/ANGLE/src/compiler/depgraph/DependencyGraph.cpp:7
&gt; &gt; +#if defined(_MSC_VER)
&gt; 
&gt; This should be #if COMPILER(MSVC)
&gt; Otherwise, it looks fine.

Actually, since this is in ANGLE.. I guess we don&apos;t have config.h / wtf/Platform.h included.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>877838</commentid>
    <comment_count>4</comment_count>
      <attachid>198504</attachid>
    <who name="Andreas Kling">kling</who>
    <bug_when>2013-04-18 05:44:37 -0700</bug_when>
    <thetext>Comment on attachment 198504
proposed patch

Okay, I got that wrong. Checking MSC_VER directly is fine in ANGLE.
r=me!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>877843</commentid>
    <comment_count>5</comment_count>
      <attachid>198504</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-04-18 05:54:43 -0700</bug_when>
    <thetext>Comment on attachment 198504
proposed patch

Clearing flags on attachment: 198504

Committed r148669: &lt;http://trac.webkit.org/changeset/148669&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>877844</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-04-18 05:54:46 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>198504</attachid>
            <date>2013-04-17 06:51:02 -0700</date>
            <delta_ts>2013-04-18 05:54:43 -0700</delta_ts>
            <desc>proposed patch</desc>
            <filename>fix_pragma_warning.patch</filename>
            <type>text/plain</type>
            <size>1223</size>
            <attacher name="Krzysztof Wolanski">k.wolanski</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9UaGlyZFBhcnR5L0FOR0xFL0NoYW5nZUxvZyBiL1NvdXJjZS9U
aGlyZFBhcnR5L0FOR0xFL0NoYW5nZUxvZwppbmRleCAyMzUzYzcwLi4wNGM4Yjc4IDEwMDY0NAot
LS0gYS9Tb3VyY2UvVGhpcmRQYXJ0eS9BTkdMRS9DaGFuZ2VMb2cKKysrIGIvU291cmNlL1RoaXJk
UGFydHkvQU5HTEUvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTQgQEAKKzIwMTMtMDQtMTYgIEtyenlz
enRvZiBXb2xhbnNraSAgPGsud29sYW5za2lAc2Ftc3VuZy5jb20+CisKKyAgICAgICAgQWRkIGNo
ZWNraW5nIHdoZXRoZXIgdGhlIGNvbXBpbGVyIGFsbG93cyB0byB1c2UgI3ByYWdtYSBkaXJlY3Rp
dmUuCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD0xMTQ3
NDAKKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICBTb21l
IGNvbXBpbGVycyBtYXkgY29tcGxhaW4gdGhhdCAjcHJhZ21hIHdhcm5pbmcgaXMgYW4gdW5kZWZp
bmVkIG1hY3JvLgorCisgICAgICAgICogc3JjL2NvbXBpbGVyL2RlcGdyYXBo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