<?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>51551</bug_id>
          
          <creation_ts>2010-12-23 12:12:32 -0800</creation_ts>
          <short_desc>[chromium] warnings when building on Windows</short_desc>
          <delta_ts>2013-04-11 13:00:28 -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 Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows 7</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</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>
          <dependson>50982</dependson>
    
    <dependson>51553</dependson>
    
    <dependson>51554</dependson>
    
    <dependson>51566</dependson>
    
    <dependson>51963</dependson>
    
    <dependson>51964</dependson>
    
    <dependson>51965</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Evan Martin">evan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jamesr</cc>
    
    <cc>schenney</cc>
    
    <cc>thakis</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>326204</commentid>
    <comment_count>0</comment_count>
    <who name="Evan Martin">evan</who>
    <bug_when>2010-12-23 12:12:32 -0800</bug_when>
    <thetext>We still get a few warnings when we build on Windows.  We should fix these, and then make warnings into errors so that they don&apos;t regress.

Here is a full list from a recent run:

e:\b\build\slave\win\build\src\third_party\WebKit\Tools\DumpRenderTree\TestNetscapePlugIn\Tests\NPRuntimeRemoveProperty.cpp(66) : warning C4244: &apos;initializing&apos; : conversion from &apos;const double&apos; to &apos;int32_t&apos;, possible loss of data

e:\b\build\slave\win\build\src\third_party\webkit\webcore\dom\ViewportArguments.h(78) : warning C4305: &apos;initializing&apos; : truncation from &apos;&apos; to &apos;bool&apos;
(this is bug 50982 and the code is truly wrong, possibly causing real problems)

e:\b\build\slave\win\build\src\third_party\WebKit\Tools\DumpRenderTree\chromium\LayoutTestController.cpp(1433) : warning C4244: &apos;argument&apos; : conversion from &apos;float&apos; to &apos;int&apos;, possible loss of data</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>326253</commentid>
    <comment_count>1</comment_count>
    <who name="Evan Martin">evan</who>
    <bug_when>2010-12-23 13:17:10 -0800</bug_when>
    <thetext>Oops, left one out:
..\html\TextMetrics.h(39) : warning C4244: &apos;return&apos; : conversion from &apos;const float&apos; to &apos;unsigned int&apos;, possible loss of data</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>326255</commentid>
    <comment_count>2</comment_count>
    <who name="Evan Martin">evan</who>
    <bug_when>2010-12-23 13:19:19 -0800</bug_when>
    <thetext>James, I&apos;m trying to fix all the Windows build warnings.
One of the last one is near a comment you added:

+    // FIXME: Is coercing to an integer value intentional? If so, there should be a static_cast&lt;unsigned&gt;() here.
     unsigned width() const { return m_width; }

Did you ever track down that issue?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>326256</commentid>
    <comment_count>3</comment_count>
    <who name="Evan Martin">evan</who>
    <bug_when>2010-12-23 13:19:36 -0800</bug_when>
    <thetext>(see bug 38073 for more context)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>326322</commentid>
    <comment_count>4</comment_count>
    <who name="Evan Martin">evan</who>
    <bug_when>2010-12-23 15:25:32 -0800</bug_when>
    <thetext>CC original author of the mystery code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>326323</commentid>
    <comment_count>5</comment_count>
    <who name="Evan Martin">evan</who>
    <bug_when>2010-12-23 15:25:48 -0800</bug_when>
    <thetext>Oops, sorry hyatt, wrong bug.  :(</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>