<?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>43360</bug_id>
          
          <creation_ts>2010-08-02 09:42:15 -0700</creation_ts>
          <short_desc>[Qt] Fix warnings in WebCore/platform/WindowsKeyboardCodes.h</short_desc>
          <delta_ts>2010-08-08 15:27:40 -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>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt, QtTriaged</keywords>
          <priority>P3</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>43191</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>aroben</cc>
    
    <cc>lkcl</cc>
    
    <cc>tonikitoo</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>258930</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2010-08-02 09:42:15 -0700</bug_when>
    <thetext>In file included from ..\..\..\WebCore\platform\qt\PlatformKeyboardEventQt.cpp:32:0:
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:37:0: warning: &quot;VK_BACK&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1869:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:38:0: warning: &quot;VK_TAB&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1870:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:39:0: warning: &quot;VK_CLEAR&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1871:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:40:0: warning: &quot;VK_RETURN&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1872:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:41:0: warning: &quot;VK_SHIFT&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1873:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:42:0: warning: &quot;VK_CONTROL&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1874:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:43:0: warning: &quot;VK_MENU&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1875:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:44:0: warning: &quot;VK_PAUSE&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1876:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:45:0: warning: &quot;VK_CAPITAL&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1877:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:57:0: warning: &quot;VK_SPACE&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1890:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:58:0: warning: &quot;VK_PRIOR&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1891:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:59:0: warning: &quot;VK_NEXT&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1892:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:60:0: warning: &quot;VK_END&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1893:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:61:0: warning: &quot;VK_HOME&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1894:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:62:0: warning: &quot;VK_LEFT&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1895:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:63:0: warning: &quot;VK_UP&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1896:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:64:0: warning: &quot;VK_RIGHT&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1897:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:65:0: warning: &quot;VK_DOWN&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1898:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:66:0: warning: &quot;VK_SELECT&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1899:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:67:0: warning: &quot;VK_PRINT&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1900:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:68:0: warning: &quot;VK_EXECUTE&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1901:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:69:0: warning: &quot;VK_SNAPSHOT&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1902:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:70:0: warning: &quot;VK_INSERT&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1903:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:71:0: warning: &quot;VK_DELETE&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1904:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:72:0: warning: &quot;VK_HELP&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1905:0: note: this is the location of the previous definition

In file included from ..\..\..\WebKit\qt\WebCoreSupport\EditorClientQt.cpp:49:0:
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:37:0: warning: &quot;VK_BACK&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1869:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:38:0: warning: &quot;VK_TAB&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1870:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:39:0: warning: &quot;VK_CLEAR&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1871:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:40:0: warning: &quot;VK_RETURN&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1872:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:41:0: warning: &quot;VK_SHIFT&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1873:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:42:0: warning: &quot;VK_CONTROL&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1874:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:43:0: warning: &quot;VK_MENU&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1875:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:44:0: warning: &quot;VK_PAUSE&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1876:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:45:0: warning: &quot;VK_CAPITAL&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1877:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:57:0: warning: &quot;VK_SPACE&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1890:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:58:0: warning: &quot;VK_PRIOR&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1891:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:59:0: warning: &quot;VK_NEXT&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1892:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:60:0: warning: &quot;VK_END&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1893:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:61:0: warning: &quot;VK_HOME&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1894:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:62:0: warning: &quot;VK_LEFT&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1895:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:63:0: warning: &quot;VK_UP&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1896:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:64:0: warning: &quot;VK_RIGHT&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1897:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:65:0: warning: &quot;VK_DOWN&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1898:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:66:0: warning: &quot;VK_SELECT&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1899:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:67:0: warning: &quot;VK_PRINT&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1900:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:68:0: warning: &quot;VK_EXECUTE&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1901:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:69:0: warning: &quot;VK_SNAPSHOT&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1902:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:70:0: warning: &quot;VK_INSERT&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1903:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:71:0: warning: &quot;VK_DELETE&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1904:0: note: this is the location of the previous definition
..\..\..\WebCore\platform/WindowsKeyboardCodes.h:72:0: warning: &quot;VK_HELP&quot; redefined
c:\mingw-45\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winuser.h:1905:0: note: this is the location of the previous definition

VK_xxx macros also defined in mingw/include/winuser.h. We should use these defines when we use MinGW,
or #undef macros before defining them in WindowsKeyboardCodes.h</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>258935</commentid>
    <comment_count>1</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2010-08-02 09:56:28 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 20721 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>259364</commentid>
    <comment_count>2</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2010-08-03 04:14:20 -0700</bug_when>
    <thetext>Reopened, because https://bugs.webkit.org/show_bug.cgi?id=20721 is obsolete, defining VK_XXX macros changed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>259365</commentid>
    <comment_count>3</comment_count>
      <attachid>63319</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2010-08-03 04:15:11 -0700</bug_when>
    <thetext>Created attachment 63319
proposed fix</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>259367</commentid>
    <comment_count>4</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2010-08-03 04:15:58 -0700</bug_when>
    <thetext>*** Bug 20721 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>261939</commentid>
    <comment_count>5</comment_count>
      <attachid>63319</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2010-08-08 15:27:31 -0700</bug_when>
    <thetext>Comment on attachment 63319
proposed fix

Clearing flags on attachment: 63319

Committed r64957: &lt;http://trac.webkit.org/changeset/64957&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>261940</commentid>
    <comment_count>6</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2010-08-08 15:27:40 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>63319</attachid>
            <date>2010-08-03 04:15:11 -0700</date>
            <delta_ts>2010-08-08 15:27:31 -0700</delta_ts>
            <desc>proposed fix</desc>
            <filename>1.patch</filename>
            <type>text/plain</type>
            <size>1555</size>
            <attacher name="Csaba Osztrogonác">ossy</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYkNvcmUvQ2hhbmdlTG9nIGIvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXgg
YzlmNzc0MC4uM2Q1MTgwMyAxMDA2NDQKLS0tIGEvV2ViQ29yZS9DaGFuZ2VMb2cKKysrIGIvV2Vi
Q29yZS9DaGFuZ2VMb2cKQEAgLTEsMyArMSwxMiBAQAorMjAxMC0wOC0wMyAgQ3NhYmEgT3N6dHJv
Z29uw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