<?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>101197</bug_id>
          
          <creation_ts>2012-11-05 02:13:29 -0800</creation_ts>
          <short_desc>[EFL] Fix build warning in EWebLauncher/main.c</short_desc>
          <delta_ts>2012-11-05 02:57:45 -0800</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 EFL</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>1</everconfirmed>
          <reporter name="KyungTae Kim">ktf.kim</reporter>
          <assigned_to name="KyungTae Kim">ktf.kim</assigned_to>
          <cc>gyuyoung.kim</cc>
    
    <cc>haraken</cc>
    
    <cc>lucas.de.marchi</cc>
    
    <cc>rakuco</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>758351</commentid>
    <comment_count>0</comment_count>
    <who name="KyungTae Kim">ktf.kim</who>
    <bug_when>2012-11-05 02:13:29 -0800</bug_when>
    <thetext>For fixing the follow build warnings :
/mnt/buildbot/efl-linux-slave-1/efl-linux-64-release/build/Tools/EWebLauncher/main.c:941:9: warning: initialization from incompatible pointer type [enabled by default]
/mnt/buildbot/efl-linux-slave-1/efl-linux-64-release/build/Tools/EWebLauncher/main.c:941:9: warning: (near initialization for ‘values[0].strp’) [enabled by default]
/mnt/buildbot/efl-linux-slave-1/efl-linux-64-release/build/Tools/EWebLauncher/main.c:943:9: warning: initialization from incompatible pointer type [enabled by default]
/mnt/buildbot/efl-linux-slave-1/efl-linux-64-release/build/Tools/EWebLauncher/main.c:943:9: warning: (near initialization for ‘values[2].strp’) [enabled by default]
/mnt/buildbot/efl-linux-slave-1/efl-linux-64-release/build/Tools/EWebLauncher/main.c:948:9: warning: initialization from incompatible pointer type [enabled by default]
/mnt/buildbot/efl-linux-slave-1/efl-linux-64-release/build/Tools/EWebLauncher/main.c:948:9: warning: (near initialization for ‘values[7].strp’) [enabled by default]
/mnt/buildbot/efl-linux-slave-1/efl-linux-64-release/build/Tools/EWebLauncher/main.c:949:9: warning: initialization from incompatible pointer type [enabled by default]
/mnt/buildbot/efl-linux-slave-1/efl-linux-64-release/build/Tools/EWebLauncher/main.c:949:9: warning: (near initialization for ‘values[8].strp’) [enabled by default]


The destination for ECORE_GETOPT_VALUE_STR is char**, but the source is  &amp;(const char*).
One of them need to be fixed.

//Ecore_Getopt.h
union _Ecore_Getopt_Value
{
   char          **strp;
..
};</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>758357</commentid>
    <comment_count>1</comment_count>
      <attachid>172298</attachid>
    <who name="KyungTae Kim">ktf.kim</who>
    <bug_when>2012-11-05 02:18:59 -0800</bug_when>
    <thetext>Created attachment 172298
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>758360</commentid>
    <comment_count>2</comment_count>
      <attachid>172298</attachid>
    <who name="Kentaro Hara">haraken</who>
    <bug_when>2012-11-05 02:24:55 -0800</bug_when>
    <thetext>Comment on attachment 172298
Patch

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

&gt; Tools/EWebLauncher/main.c:146
&gt; +    char *engine;

According to the WebKit coding style, this should be &apos;char* engine&apos; instead of &apos;char *engine&apos;. Same comments for the following variables.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>758361</commentid>
    <comment_count>3</comment_count>
      <attachid>172298</attachid>
    <who name="Gyuyoung Kim">gyuyoung.kim</who>
    <bug_when>2012-11-05 02:28:20 -0800</bug_when>
    <thetext>Comment on attachment 172298
Patch

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

&gt;&gt; Tools/EWebLauncher/main.c:146
&gt;&gt; +    char *engine;
&gt; 
&gt; According to the WebKit coding style, this should be &apos;char* engine&apos; instead of &apos;char *engine&apos;. Same comments for the following variables.

Kentaro, this is EFL simple application. So, we follow EFL coding style for EWebLauncher.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>758363</commentid>
    <comment_count>4</comment_count>
      <attachid>172298</attachid>
    <who name="Kentaro Hara">haraken</who>
    <bug_when>2012-11-05 02:29:43 -0800</bug_when>
    <thetext>Comment on attachment 172298
Patch

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

&gt;&gt;&gt; Tools/EWebLauncher/main.c:146
&gt;&gt;&gt; +    char *engine;
&gt;&gt; 
&gt;&gt; According to the WebKit coding style, this should be &apos;char* engine&apos; instead of &apos;char *engine&apos;. Same comments for the following variables.
&gt; 
&gt; Kentaro, this is EFL simple application. So, we follow EFL coding style for EWebLauncher.

Makes sense. Thanks for the clarification.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>758384</commentid>
    <comment_count>5</comment_count>
      <attachid>172298</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-11-05 02:57:41 -0800</bug_when>
    <thetext>Comment on attachment 172298
Patch

Clearing flags on attachment: 172298

Committed r133452: &lt;http://trac.webkit.org/changeset/133452&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>758385</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-11-05 02:57:45 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>172298</attachid>
            <date>2012-11-05 02:18:59 -0800</date>
            <delta_ts>2012-11-05 02:57:41 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-101197-20121105191715.patch</filename>
            <type>text/plain</type>
            <size>1554</size>
            <attacher name="KyungTae Kim">ktf.kim</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTMzNDQ0CmRpZmYgLS1naXQgYS9Ub29scy9DaGFuZ2VMb2cg
Yi9Ub29scy9DaGFuZ2VMb2cKaW5kZXggMjBkNmU0NGYwMWU1ZjkzZjM1NDBmNzZhZDFkZThjNDg4
NWY3ODVhYi4uMzcwNWE2NDViNTY1MTE2YjkzZjY1ZjVkMGYzM2ZkZmFiNTVjODE0MSAxMDA2NDQK
LS0tIGEvVG9vbHMvQ2hhbmdlTG9nCisrKyBiL1Rvb2xzL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE2
IEBACisyMDEyLTExLTA1ICBLeXVuZ1RhZSBLaW0gIDxrdGYua2ltQHNhbXN1bmcuY29tPgorCisg
ICAgICAgIFtFRkxdIEZpeCBidWlsZCB3YXJuaW5nIGluIEVXZWJMYXVuY2hlci9tYWluLmMKKyAg
ICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTEwMTE5NworCisg
ICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIEJlY2F1c2UgdGhl
IHN0cnAgb2YgX0Vjb3JlX0dldG9wdF9WYWx1ZSBpcyBjaGFyKiogKEVjb3JlX0dldG9wdC5oKSwK
KyAgICAgICAgVGhlIHBhcmFtZXRlciBvZiBFQ09SRV9HRVRPUFRfVkFMVUVfU1RSIHNob3VsZCBi
ZSBjaGFyKgorCisgICAgICAgICogRVdlYkxhdW5jaGVyL21haW4uYzoKKyAgICAgICAgKF9Vc2Vy
X0FyZ3VtZW50cyk6CisKIDIwMTItMTEtMDUgIENocm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