<?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>157733</bug_id>
          
          <creation_ts>2016-05-15 17:51:07 -0700</creation_ts>
          <short_desc>[GTK][CMake] DerivedSources should be compiled with -Wno-unused-parameter</short_desc>
          <delta_ts>2017-07-13 11:42:44 -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>WebKitGTK</component>
          <version>Other</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</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>155047</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Michael Catanzaro">mcatanzaro</assigned_to>
          <cc>achristensen</cc>
    
    <cc>bugs-noreply</cc>
    
    <cc>darin</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>mrobinson</cc>
    
    <cc>ossy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1193301</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2016-05-15 17:51:07 -0700</bug_when>
    <thetext>DerivedSources should be compiled with -Wno-unused-parameter, to avoid useless warnings in Geoclue2Interface.c.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1193312</commentid>
    <comment_count>1</comment_count>
      <attachid>278989</attachid>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2016-05-15 18:39:09 -0700</bug_when>
    <thetext>Created attachment 278989
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1195712</commentid>
    <comment_count>2</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2016-05-23 20:54:34 -0700</bug_when>
    <thetext>(In reply to comment #0)
&gt; DerivedSources should be compiled with -Wno-unused-parameter, to avoid
&gt; useless warnings in Geoclue2Interface.c.

We really want to compile all derived sources this way, just because of that one file?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1195776</commentid>
    <comment_count>3</comment_count>
      <attachid>278989</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2016-05-24 00:53:30 -0700</bug_when>
    <thetext>Comment on attachment 278989
Patch

I haven&apos;t seen this warning, maybe geoclue is disabled in my build.

But I agree with Darin, we shouldn&apos;t disable unused parameter warnings because of 
one file. I prefer set_source_file_properties() for this problematic generated source.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1328526</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2017-07-13 11:42:44 -0700</bug_when>
    <thetext>(In reply to Csaba Osztrogonác from comment #3)
&gt; Comment on attachment 278989 [details]
&gt; Patch
&gt; 
&gt; I haven&apos;t seen this warning, maybe geoclue is disabled in my build.
&gt; 
&gt; But I agree with Darin, we shouldn&apos;t disable unused parameter warnings
&gt; because of 
&gt; one file. I prefer set_source_file_properties() for this problematic
&gt; generated source.

I guess I must have done this at some point in a different bug, because I think I remember fixing it, and it definitely does not occur anymore.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>278989</attachid>
            <date>2016-05-15 18:39:09 -0700</date>
            <delta_ts>2016-05-24 00:53:30 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-157733-20160515204003.patch</filename>
            <type>text/plain</type>
            <size>1351</size>
            <attacher name="Michael Catanzaro">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yMjljOTZiYWY1MDI1NDNlMzY0MmJiNjdk
NWE0NCAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ01ha2VMaXN0cy50eHQKKysrIGIvU291
cmNlL1dlYkNvcmUvQ01ha2VMaXN0cy50eHQKQEAgLTM4NDIsNiArMzg0MiwxMCBAQCBpZiAoV0lO
MzIpCiAgICAgYWRkX2RlcGVuZGVuY2llcyhXZWJDb3JlIFdlYkNvcmVEZXJpdmVkU291cmNlcykK
IGVuZGlmICgpCiAKK2lmIChDTUFLRV9DT01QSUxFUl9JU19HTlVDWFggT1IgIiR7Q01BS0VfQ1hY
X0NPTVBJTEVSX0lEfSIgU1RSRVFVQUwgIkNsYW5nIikKKyAgICBBRERfVEFSR0VUX1BST1BFUlRJ
RVMoV2ViQ29yZURlcml2ZWRTb3VyY2VzIENPTVBJTEVfRkxBR1MgIi1Xbm8tdW51c2VkLXBhcmFt
ZXRlciIpCitlbmRpZiAoKQorCiAjIFRoZSAtZnRyZWUtc3JhIG9wdGltaXphdGlvbiAoaW1wbGlj
aXQgd2l0aCAtTzIpIGNhdXNlcyBjcmFzaGVzIHdoZW4KICMgYWxsb2NhdGluZyBsYXJnZSBjaHVu
a3Mgb2YgbWVtb3J5IHVzaW5nIGJtYWxsb2Mgb24gSW50ZWwgMzJiaXQuCiAjIFNlZSBodHRwczov
L2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9MTQ2NDQwCg==
</data>
<flag name="review"
          id="303055"
          type_id="1"
          status="-"
          setter="ossy"
    />
    <flag name="commit-queue"
          id="303671"
          type_id="3"
          status="-"
          setter="ossy"
    />
          </attachment>
      

    </bug>

</bugzilla>