[Webkit-unassigned] [Bug 55576] New: Compilation fails because of stricter warning(s) with GCC 4.5 compiler

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 2 07:25:30 PST 2011


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

           Summary: Compilation fails because of stricter warning(s) with
                    GCC 4.5 compiler
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: christoph at maxiom.de
                CC: barraclough at apple.com, ossy at webkit.org,
                    msaboff at apple.com


Trying to build svn r79936 via "build-webkit --qt", I get the following compilation error:

Source/JavaScriptCore/yarr/YarrParser.h:454:64: error: ‘characterClassConstructor.JSC::Yarr::Parser<JSC::Yarr::SyntaxChecker>::CharacterClassParserDelegate::m_character’ may be used uninitialized in this function

As discussed with Ossy on #webkit, it might be caused by stricter warnings of the GCC 4.5 compiler. I am using the openSUSE 11.3 compiler, which is "gcc (SUSE Linux) 4.5.0 20100604 [gcc-4_5-branch revision 160292]".

Full error is below:

make[1]: Entering directory `/local/build/webkit/Release/JavaScriptCore'
g++ -c -pipe -Wall -Wextra -Wreturn-type -fno-strict-aliasing -Wcast-align -Wchar-subscripts -Wformat-security -Wreturn-type -Wno-unused-parameter -Wno-sign-compare -Wno-switch -Wno-switch-enum -Wundef -Wmissing-noreturn -Winit-self -Werror -fno-stack-protector -O3 -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -D_REENTRANT -DBUILDING_QT__=1 -DNDEBUG -DXP_UNIX -DBUILDING_JavaScriptCore -DBUILDING_WTF -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I../../../../Qt4/qt-4.7/mkspecs/linux-g++ -I../../../../git/Qt/webkit/Source/JavaScriptCore -I../../../../Qt4/qt-4.7/include/QtCore -I../../../../Qt4/qt-4.7/include -I../../../../git/Qt/webkit/Source/JavaScriptCore -I../../../../git/Qt/webkit/Source -I../../../../git/Qt/webkit/Source/ThirdParty -I../../../../git/Qt/webkit/Source/JavaScriptCore/assembler -I../../../../git/Qt/webkit/Source/JavaScriptCore/bytecode -I../../../../git/Qt/webkit/Source/JavaScriptCore/bytecompiler -I../../../../git/Qt/webkit/Source/JavaScriptCore/collector/handles -I../../../../git/Qt/webkit/Source/JavaScriptCore/debugger -I../../../../git/Qt/webkit/Source/JavaScriptCore/interpreter -I../../../../git/Qt/webkit/Source/JavaScriptCore/jit -I../../../../git/Qt/webkit/Source/JavaScriptCore/parser -I../../../../git/Qt/webkit/Source/JavaScriptCore/profiler -I../../../../git/Qt/webkit/Source/JavaScriptCore/runtime -I../../../../git/Qt/webkit/Source/JavaScriptCore/wtf -I../../../../git/Qt/webkit/Source/JavaScriptCore/wtf/gobject -I/local/git/Qt/webkit/Source/JavaScriptCore/wtf/symbian -I../../../../git/Qt/webkit/Source/JavaScriptCore/wtf/unicode -I../../../../git/Qt/webkit/Source/JavaScriptCore/yarr -I../../../../git/Qt/webkit/Source/JavaScriptCore/API -I../../../../git/Qt/webkit/Source/JavaScriptCore/ForwardingHeaders -Igenerated -I../include/QtWebKit -I../include -I. -I../../../../git/Qt/webkit/Source/JavaScriptCore -I. -o obj/release/YarrSyntaxChecker.o ../../../../git/Qt/webkit/Source/JavaScriptCore/yarr/YarrSyntaxChecker.cpp
cc1plus: warnings being treated as errors
In file included from ../../../../git/Qt/webkit/Source/JavaScriptCore/yarr/YarrSyntaxChecker.cpp:29:0:
../../../../git/Qt/webkit/Source/JavaScriptCore/yarr/YarrParser.h: In member function ‘void JSC::Yarr::Parser<Delegate>::parseTokens() [with Delegate = JSC::Yarr::SyntaxChecker]’:
../../../../git/Qt/webkit/Source/JavaScriptCore/yarr/YarrParser.h:454:64: error: ‘characterClassConstructor.JSC::Yarr::Parser<JSC::Yarr::SyntaxChecker>::CharacterClassParserDelegate::m_character’ may be used uninitialized in this function
../../../../git/Qt/webkit/Source/JavaScriptCore/yarr/YarrParser.h:454:64: note: ‘characterClassConstructor.JSC::Yarr::Parser<JSC::Yarr::SyntaxChecker>::CharacterClassParserDelegate::m_character’ was declared here
make[1]: *** [obj/release/YarrSyntaxChecker.o] Fehler 1
make[1]: Leaving directory `/local/build/webkit/Release/JavaScriptCore'
make: *** [sub-JavaScriptCore-JavaScriptCore-pro-make_default-ordered] Fehler 2

-- 
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