<?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>29083</bug_id>
          
          <creation_ts>2009-09-09 06:54:29 -0700</creation_ts>
          <short_desc>Disable some ARM compiler warnings</short_desc>
          <delta_ts>2009-09-10 05:01:54 -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>Platform</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Laszlo Gombos">laszlo.gombos</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>eric</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>145722</commentid>
    <comment_count>0</comment_count>
    <who name="Laszlo Gombos">laszlo.gombos</who>
    <bug_when>2009-09-09 06:54:29 -0700</bug_when>
    <thetext>By default the ARM compiler is very chatty and it is hard to see &quot;the wood for the trees&quot;.

I would propose to disable the following ARM warnings (as far as I can tell none of these warnings are enabled on most ports):

#68-D: integer conversion resulted in a change of sign
#111-D: statement is unreachable
#177-D: variable XXX was declared but never referenced
#368-D: class XXX defines no constructor to initialize the following: YYY
#830-D: function XXX &quot;XXX::operator new&quot; has no corresponding operator delete (to be called if an exception is thrown during initialization of an allocated object)
#1293-D: assignment in condition</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>145726</commentid>
    <comment_count>1</comment_count>
      <attachid>39268</attachid>
    <who name="Laszlo Gombos">laszlo.gombos</who>
    <bug_when>2009-09-09 07:06:52 -0700</bug_when>
    <thetext>Created attachment 39268
proposed path

Also did a bit of refactoring so that the rules don&apos;t repeat for all ARM compiler targets.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>145748</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-09-09 07:53:19 -0700</bug_when>
    <thetext>Maybe we should add a comment in the build file about the warnings you are disabling?  Or at least in the ChangeLog?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>145754</commentid>
    <comment_count>3</comment_count>
    <who name="Laszlo Gombos">laszlo.gombos</who>
    <bug_when>2009-09-09 08:01:34 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; Maybe we should add a comment in the build file about the warnings you are
&gt; disabling?  Or at least in the ChangeLog?

Eric, I will add the list of warnings to the ChangeLog when I commit. Thanks !</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>145787</commentid>
    <comment_count>4</comment_count>
      <attachid>39272</attachid>
    <who name="Laszlo Gombos">laszlo.gombos</who>
    <bug_when>2009-09-09 09:29:14 -0700</bug_when>
    <thetext>Created attachment 39272
Updated ChangeLog

Incorporating Eric&apos;s comment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>146010</commentid>
    <comment_count>5</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-09-09 16:52:31 -0700</bug_when>
    <thetext>Do you really want to disable all these?

#68-D: integer conversion resulted in a change of sign
#111-D: statement is unreachable
#177-D: variable XXX was declared but never referenced
#368-D: class XXX defines no constructor to initialize the following: YYY
#830-D: function XXX &quot;XXX::operator new&quot; has no corresponding operator delete
(to be called if an exception is thrown during initialization of an allocated
object)
#1293-D: assignment in condition

All of those sound useful (and likely real bugs), no?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>146165</commentid>
    <comment_count>6</comment_count>
    <who name="Laszlo Gombos">laszlo.gombos</who>
    <bug_when>2009-09-10 04:48:52 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; Do you really want to disable all these?
&gt; 
&gt; #68-D: integer conversion resulted in a change of sign
&gt; #111-D: statement is unreachable
&gt; #177-D: variable XXX was declared but never referenced
&gt; #368-D: class XXX defines no constructor to initialize the following: YYY
&gt; #830-D: function XXX &quot;XXX::operator new&quot; has no corresponding operator delete
&gt; (to be called if an exception is thrown during initialization of an allocated
&gt; object)
&gt; #1293-D: assignment in condition
&gt; 
&gt; All of those sound useful (and likely real bugs), no?

Eric, I scanned trough the warnings and the corresponding code and I could not spot a real bug. The direction is definitively to get rid of all the warnings gradually (and take them out from this list), but restricting the list help to focus on the remaining warnings first.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>146167</commentid>
    <comment_count>7</comment_count>
    <who name="Laszlo Gombos">laszlo.gombos</who>
    <bug_when>2009-09-10 05:01:34 -0700</bug_when>
    <thetext>Committed as http://trac.webkit.org/changeset/48250</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>39268</attachid>
            <date>2009-09-09 07:06:52 -0700</date>
            <delta_ts>2009-09-09 09:29:14 -0700</delta_ts>
            <desc>proposed path</desc>
            <filename>patch_29083.txt</filename>
            <type>text/plain</type>
            <size>1400</size>
            <attacher name="Laszlo Gombos">laszlo.gombos</attacher>
            
              <data encoding="base64">SW5kZXg6IENoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBDaGFuZ2VMb2cJKHJldmlzaW9uIDQ4MjA1
KQorKysgQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTIgQEAKKzIwMDktMDkt
MDkgIExhc3psbyBHb21ib3MgIDxsYXN6bG8uMS5nb21ib3NAbm9ra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S1ub19wYXJzZV90ZW1wbGF0ZXMKKyAgICBERUZJTkVTICo9IFFUX05PX1VJVE9PTFMK
IH0gCiAKKyotYXJtY2MgeworICAgIFFNQUtFX0NGTEFHUyArPSAkJFJWQ1RfQ09NTU9OX0NGTEFH
UworICAgIFFNQUtFX0NYWEZMQUdTICs9ICQkUlZDVF9DT01NT05fQ1hYRkxBR1MKK30KKwogc3lt
YmlhbiB7Ci0gICAgUU1BS0VfQ1hYRkxBR1MuQVJNQ0MgKz0gLS1nbnUgLS1ub19wYXJzZV90ZW1w
bGF0ZXMKLSAgICBERUZJTkVTICo9IFFUX05PX1VJVE9PTFMKKyAgICBRTUFLRV9DWFhGTEFHUy5B
Uk1DQyArPSAkJFJWQ1RfQ09NTU9OX0NYWEZMQUdTCiB9CiAKIGNvbnRhaW5zKERFRklORVMsIFFU
X05PX1VJVE9PTFMpOiBDT05GSUcgLT0gdWl0b29scwo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>39272</attachid>
            <date>2009-09-09 09:29:14 -0700</date>
            <delta_ts>2009-09-10 05:01:54 -0700</delta_ts>
            <desc>Updated ChangeLog</desc>
            <filename>patch_29083.txt</filename>
            <type>text/plain</type>
            <size>1856</size>
            <attacher name="Laszlo Gombos">laszlo.gombos</attacher>
            
              <data encoding="base64">SW5kZXg6IENoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBDaGFuZ2VMb2cJKHJldmlzaW9uIDQ4MjA5
KQorKysgQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMjEgQEAKKzIwMDktMDkt
MDkgIExhc3psbyBHb21ib3MgIDxsYXN6bG8uMS5nb21ib3NAbm9raWEuY29tPgorCisgICAgICAg
IFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIERpc2FibGUg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