[Webkit-unassigned] [Bug 139131] New: Fix class was previously declared as a struct warnings

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 1 08:20:09 PST 2014


https://bugs.webkit.org/show_bug.cgi?id=139131

            Bug ID: 139131
           Summary: Fix class was previously declared as a struct warnings
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: evab.u-szeged at partner.samsung.com

warnings:
../../Source/WebCore/platform/graphics/texmap/TextureMapperGL.cpp:56:1: warning: 'TextureMapperGLData' defined as a struct here but previously declared as a class [-Wmismatched-tags]
struct TextureMapperGLData {
^
../../Source/WebCore/platform/graphics/texmap/TextureMapperGL.h:34:1: note: did you mean struct here?
class TextureMapperGLData;
^~~~~
struct
1 warning generated.

../../Source/WebKit2/UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.h:32:1: warning: class 'CoordinatedGraphicsState' was previously declared as a struct [-Wmismatched-tags]
class CoordinatedGraphicsState;
^
../../Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsState.h:175:8: note: previous use is here
struct CoordinatedGraphicsState {
       ^
../../Source/WebKit2/UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.h:32:1: note: did you mean struct here?
class CoordinatedGraphicsState;
^~~~~
struct
1 warning generated.

../../Source/WebKit2/UIProcess/CoordinatedGraphics/WebViewClient.h:39:1: warning: class 'ViewportAttributes' was previously declared as a struct [-Wmismatched-tags]
class ViewportAttributes;
^
../../Source/WebCore/dom/ViewportArguments.h:45:8: note: previous use is here
struct ViewportAttributes {
       ^
../../Source/WebKit2/UIProcess/CoordinatedGraphics/WebViewClient.h:39:1: note: did you mean struct here?
class ViewportAttributes;
^~~~~
struct
1 warning generated.
---

TextureMapperGLData, CoordinatedGraphicsState and ViewportAttributes are structs,
the noticed forward declarations incorrect, we should use struct instead of class.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141201/8bb47f57/attachment-0002.html>


More information about the webkit-unassigned mailing list