<?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>171864</bug_id>
          
          <creation_ts>2017-05-09 10:37:53 -0700</creation_ts>
          <short_desc>[Win] Specify source file type when preprocessing IDL files</short_desc>
          <delta_ts>2017-05-10 07:31:34 -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>Tools / Tests</component>
          <version>WebKit 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>
          
          <blocked>171618</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Don Olmstead">don.olmstead</reporter>
          <assigned_to name="Don Olmstead">don.olmstead</assigned_to>
          <cc>achristensen</cc>
    
    <cc>bfulgham</cc>
    
    <cc>commit-queue</cc>
    
    <cc>lforschler</cc>
    
    <cc>pvollan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1306446</commentid>
    <comment_count>0</comment_count>
    <who name="Don Olmstead">don.olmstead</who>
    <bug_when>2017-05-09 10:37:53 -0700</bug_when>
    <thetext>The source file type, https://msdn.microsoft.com/en-us/library/032xwy55.aspx, should be specified to the preprocessor when running IDL generation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1306663</commentid>
    <comment_count>1</comment_count>
      <attachid>309559</attachid>
    <who name="Don Olmstead">don.olmstead</who>
    <bug_when>2017-05-09 16:27:25 -0700</bug_when>
    <thetext>Created attachment 309559
Patch

Adds /FP to the list of CODE_GENERATOR_PREPROCESSOR_ARGUMENTS. This is equivalent to the -x cpp used in GCC/Clang.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1306671</commentid>
    <comment_count>2</comment_count>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2017-05-09 16:55:29 -0700</bug_when>
    <thetext>I have a bot building with VS2017 now and it&apos;s fine without this.  What does this improve or fix?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1306675</commentid>
    <comment_count>3</comment_count>
    <who name="Don Olmstead">don.olmstead</who>
    <bug_when>2017-05-09 17:01:41 -0700</bug_when>
    <thetext>(In reply to Alex Christensen from comment #2)
&gt; I have a bot building with VS2017 now and it&apos;s fine without this.  What does
&gt; this improve or fix?

I&apos;m trying to get things building with clang-cl.

With cl the flag isn&apos;t explicitly needed for it to function. With clang-cl if the flag isn&apos;t there then it returns nothing to STDOUT and the build fails.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1306838</commentid>
    <comment_count>4</comment_count>
      <attachid>309559</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2017-05-10 07:31:33 -0700</bug_when>
    <thetext>Comment on attachment 309559
Patch

Clearing flags on attachment: 309559

Committed r216583: &lt;http://trac.webkit.org/changeset/216583&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1306839</commentid>
    <comment_count>5</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2017-05-10 07:31:34 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>309559</attachid>
            <date>2017-05-09 16:27:25 -0700</date>
            <delta_ts>2017-05-10 07:31:33 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-171864.diff</filename>
            <type>text/plain</type>
            <size>1241</size>
            <attacher name="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