[Webkit-unassigned] [Bug 75657] New: build error : WTF::yield() was declared before with a different language

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 5 15:22:04 PST 2012


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

           Summary: build error : WTF::yield() was declared before with a
                    different language
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Other
        OS/Version: Other
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P3
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: tropikhajma at gmail.com


when building qt 4.8, the included webkit fails to build with the below error.

I found this patch helped me to move on, but I don't really speak c++ so I'm not sure if this is the correct way:
--- ./wtf/Threading.h.orig      Thu Jan  5 23:10:38 2012
+++ ./wtf/Threading.h   Thu Jan  5 23:11:14 2012
@@ -113,6 +113,6 @@
 using WTF::currentThread;
 using WTF::detachThread;
 using WTF::waitForThreadCompletion;
-using WTF::yield;
+//using WTF::yield;

 #endif // Threading_h



I'm ready to come up with proper patch along the webkit rules, but please let me know if the direction is ok.

-bash-4.1$ cd ~/packages/BUILD/qt-4.8.0/i386/qt-everywhere-opensource-src-4.8.0/src/3rdparty/webkit/Source/JavaScriptCore/
-bash-4.1$ gmake VERBOSE=1
/opt/test2/packages/BUILD/qt-4.8.0/i386/qt-everywhere-opensource-src-4.8.0/bin/qmake -spec ../../../../../mkspecs/solaris-cc -o Makefile JavaScriptCore.pro
/opt/test2/SolarisStudio12.3-solaris-x86-bin/solarisstudio12.3/bin/CC -c -I../../../../../mkspecs/solaris-cc -I. -I../../../../../include/QtCore -I../../../../../include -I. -I../../Source -I../ThirdParty -Iassembler -Ibytecode -Ibytecompiler -Iheap -Idfg -Idebugger -Iinterpreter -Ijit -Iparser -Iprofiler -Iruntime -Iwtf -Iwtf/gobject -I/opt/test2/packages/BUILD/qt-4.8.0/i386/qt-everywhere-opensource-src-4.8.0/src/3rdparty/webkit/Source/JavaScriptCore/wtf/symbian -Iwtf/unicode -Iyarr -IAPI -IForwardingHeaders -Igenerated -I../../Source -I../../include -I/include/QtWebKit -I/include -I.moc/debug-static -I/usr/sfw/include -D_REENTRANT -DNDEBUG -D__EXTENSIONS__ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS -DNO_DEBUG -D_UNICODE -DUNICODE -D_RWSTD_REENTRANT -D_XOPEN_SOURCE=500 -D_XPG5 -I/opt/kde4/include -m32 -xarch=sse2 -features=extensions,nestedaccess,tmplrefstatic -template=geninlinefuncs -s -xlang=c99 -xustr=ascii_utf16_ushort -Qoption ccfe 
 -features=gcc -Qoption ccfe -features=zla -Qoption ccfe ++boolflag:sunwcch=false -R/opt/kde4/lib -library=stdcxx4 -lCrun -I/usr/include/libpng14 -I/opt/kde4/include -I/usr/mysql/5.1/include/mysql -I/usr/include/libmng -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/odbc -KPIC -mt -DNDEBUG -DBUILDING_QT__=1 -DQT_ASCII_CAST_WARNINGS -DBUILDING_JavaScriptCore -DBUILDING_WTF -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_SHARED -o .obj/debug-static/YarrInterpreter.o yarr/YarrInterpreter.cpp
"./wtf/text/StringImplBase.h", line 46: Warning: Identifier expected instead of "}".
"yarr/YarrPattern.h", line 86: Warning: Identifier expected instead of "}".
"yarr/YarrPattern.h", line 99: Warning: Identifier expected instead of "}".
"yarr/YarrPattern.h", line 113: Warning: Types cannot be declared in anonymous union.
"yarr/YarrPattern.h", line 201: Warning: type hides JSC::Yarr::PatternTerm::type.
"yarr/YarrInterpreter.h", line 74: Warning: Identifier expected instead of "}".
"yarr/YarrInterpreter.h", line 85: Warning: Types cannot be declared in anonymous union.
"yarr/YarrInterpreter.h", line 99: Warning: Types cannot be declared in anonymous union.
"./wtf/OSAllocator.h", line 43: Warning: Identifier expected instead of "}".
"/usr/include/unistd.h", line 533: Error: WTF::yield() was declared before with a different language.
"yarr/YarrInterpreter.cpp", line 153: Warning: output hides JSC::Yarr::Interpreter::output.
1 Error(s) and 10 Warning(s) detected.

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