[Webkit-unassigned] [Bug 118534] New: [buildfix] Fix build on gcc 4.8.1 when compiling with -Werror=maybe-uninitialized

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 10 10:52:56 PDT 2013


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

           Summary: [buildfix] Fix build on gcc 4.8.1 when compiling with
                    -Werror=maybe-uninitialized
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: hugo.lima at openbossa.org


The warning is triggered because an uint32_t:2 is used to hold and Enum, so when this variable is used in a switch the compiler think anything could be there.

I'm aware that Efl builds with -Werror on, but those errors make me think if is better to compile with -Werror=no-maybe-uninitialized just to avoid patches like this one that doesn't help code wise and are here just make the compiler help.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list