Re: [MacPorts] #36784: webkit-gtk: error: ‘PassRefPtr_should_never_be_assigned_to’ was not declared in this scope
MacPorts
noreply at macports.org
Sun Oct 28 23:50:52 PDT 2012
#36784: webkit-gtk: error: ‘PassRefPtr_should_never_be_assigned_to’ was not
declared in this scope
---------------------------+------------------------
Reporter: ryandesign@… | Owner: jeremyhu@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: | Keywords:
Port: webkit-gtk |
---------------------------+------------------------
Comment (by jeremyhu@…):
{{{
:info:build ccache /usr/bin/llvm-g++-4.2 -DHAVE_CONFIG_H -I. -isystem
./Source/ThirdParty/gtest/include -I./Tools/TestWebKitAPI
-I./Source/ThirdParty/gtest/include -I./DerivedSources/WebKit2/include
-Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-
security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-
arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-
exceptions -DENABLE_GLIB_SUPPORT=1 -DBUILDING_CAIRO__=1 -DBUILDING_GTK__=1
-DBUILDING_SOUP__=1 -DWTF_CHANGES -DXP_UNIX -DMOZ_X11
-DWTF_USE_ICU_UNICODE=1 -DWTF_USE_GSTREAMER=1
-DWTF_USE_ACCELERATED_COMPOSITING=1 -DENABLE_3D_RENDERING=1
-DWTF_USE_TEXTURE_MAPPER=1 -DWTF_USE_TEXTURE_MAPPER_GL=1 -DWTF_USE_GLX=1
-DWTF_USE_OPENGL=1 -DGTK_API_VERSION_2=1 -DNDEBUG -DENABLE_JIT=0
-I./Source -I./Source/JavaScriptCore -I./Source/JavaScriptCore/API
-I./Source/JavaScriptCore/assembler -I./Source/JavaScriptCore/bytecode
-I./Source/JavaScriptCore/bytecompiler -I./Source/JavaScriptCore/dfg
-I./Source/JavaScriptCore/disassembler -I./Source/JavaScriptCore/heap
-I./Source/JavaScriptCore/debugger
-I./Source/JavaScriptCore/ForwardingHeaders
-I./Source/JavaScriptCore/interpreter -I./Source/JavaScriptCore/jit
-I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/llint
-I./Source/JavaScriptCore/parser -I./Source/JavaScriptCore/profiler
-I./Source/JavaScriptCore/runtime -I./Source/JavaScriptCore/tools
-I./Source/JavaScriptCore/yarr -I./DerivedSources/JavaScriptCore
-I./Source/WTF -D_REENTRANT -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include -I/opt/local/include -D_REENTRANT
-I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include
-I/opt/local/include/atk-1.0 -I/opt/local/include/cairo
-I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/pango-1.0
-I/opt/local/include/gio-unix-2.0/ -I/opt/local/include
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/include/pixman-1 -I/opt/local/include/freetype2
-I/opt/local/include/libpng15 -L/opt/local/lib -lgmodule-2.0
-lgthread-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl
-I/opt/local/include/cairo -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include -I/opt/local/include
-I/opt/local/include/pixman-1 -I/opt/local/include/freetype2
-I/opt/local/include/libpng15 -D_REENTRANT
-I/opt/local/include/libsoup-2.4 -I/opt/local/include/libxml2
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/include -pipe -O2 -arch x86_64 -O2 -MT
Tools/TestWebKitAPI/Tests/WTF/Programs_TestWebKitAPI_TestWTF-
RedBlackTree.o -MD -MP -MF Tools/TestWebKitAPI/Tests/WTF/.deps
/Programs_TestWebKitAPI_TestWTF-RedBlackTree.Tpo -c -o
Tools/TestWebKitAPI/Tests/WTF/Programs_TestWebKitAPI_TestWTF-
RedBlackTree.o `test -f 'Tools/TestWebKitAPI/Tests/WTF/RedBlackTree.cpp'
|| echo './'`Tools/TestWebKitAPI/Tests/WTF/RedBlackTree.cpp
:info:build In file included from /opt/local/include/gtest/internal/gtest-
internal.h:40,
:info:build from /opt/local/include/gtest/gtest.h:57,
:info:build from ./Tools/TestWebKitAPI/config.h:65,
:info:build from
Tools/TestWebKitAPI/Tests/WTF/CString.cpp:26:
:info:build /opt/local/include/gtest/internal/gtest-port.h:224:5: warning:
"GTEST_OS_CYGWIN" is not defined
:info:build /opt/local/include/gtest/internal/gtest-port.h:224:24:
warning: "GTEST_OS_LINUX" is not defined
:info:build /opt/local/include/gtest/internal/gtest-port.h:270:28:
warning: "__EXCEPTIONS" is not defined
:info:build /opt/local/include/gtest/internal/gtest-port.h:418:7: warning:
"GTEST_OS_SYMBIAN" is not defined
:info:build /opt/local/include/gtest/internal/gtest-port.h:467:5: warning:
"GTEST_OS_LINUX" is not defined
:info:build /opt/local/include/gtest/internal/gtest-port.h:477:6: warning:
"GTEST_OS_WINDOWS_MOBILE" is not defined
:info:build /opt/local/include/gtest/internal/gtest-port.h:477:34:
warning: "GTEST_OS_SYMBIAN" is not defined
:info:build /opt/local/include/gtest/internal/gtest-port.h:485:6: warning:
"GTEST_OS_LINUX" is not defined
:info:build /opt/local/include/gtest/internal/gtest-port.h:836:5: warning:
"GTEST_OS_LINUX" is not defined
:info:build /opt/local/include/gtest/internal/gtest-port.h:1252:5:
warning: "GTEST_OS_WINDOWS" is not defined
:info:build /opt/local/include/gtest/internal/gtest-port.h:1273:5:
warning: "GTEST_OS_WINDOWS" is not defined
:info:build /opt/local/include/gtest/internal/gtest-port.h:1340:6:
warning: "GTEST_OS_WINDOWS_MOBILE" is not defined
:info:build /opt/local/include/gtest/internal/gtest-port.h:1346:6:
warning: "GTEST_OS_WINDOWS_MOBILE" is not defined
:info:build /opt/local/include/gtest/internal/gtest-port.h:1353:6:
warning: "GTEST_OS_WINDOWS_MOBILE" is not defined
:info:build /opt/local/include/gtest/internal/gtest-port.h:1364:5:
warning: "GTEST_OS_WINDOWS_MOBILE" is not defined
:info:build /opt/local/include/gtest/internal/gtest-port.h:1381:5:
warning: "GTEST_OS_WINDOWS_MOBILE" is not defined
:info:build /opt/local/include/gtest/internal/gtest-port.h:1444:5:
warning: "GTEST_OS_WINDOWS" is not defined
:info:build In file included from /opt/local/include/gtest/gtest.h:57,
:info:build from ./Tools/TestWebKitAPI/config.h:65,
:info:build from
Tools/TestWebKitAPI/Tests/WTF/CString.cpp:26:
:info:build /opt/local/include/gtest/internal/gtest-internal.h:42:5:
warning: "GTEST_OS_LINUX" is not defined
:info:build In file included from /opt/local/include/gtest/internal/gtest-
internal.h:55,
:info:build from /opt/local/include/gtest/gtest.h:57,
:info:build from ./Tools/TestWebKitAPI/config.h:65,
:info:build from
Tools/TestWebKitAPI/Tests/WTF/CString.cpp:26:
:info:build /opt/local/include/gtest/internal/gtest-string.h:103:5:
warning: "GTEST_OS_WINDOWS_MOBILE" is not defined
:info:build In file included from /opt/local/include/gtest/gtest.h:57,
:info:build from ./Tools/TestWebKitAPI/config.h:65,
:info:build from
Tools/TestWebKitAPI/Tests/WTF/CString.cpp:26:
:info:build /opt/local/include/gtest/internal/gtest-internal.h:262:5:
warning: "GTEST_OS_CYGWIN" is not defined
:info:build /opt/local/include/gtest/internal/gtest-internal.h:262:5:
warning: "GTEST_OS_SOLARIS" is not defined
:info:build /opt/local/include/gtest/internal/gtest-internal.h:269:5:
warning: "GTEST_OS_CYGWIN" is not defined
:info:build /opt/local/include/gtest/internal/gtest-internal.h:269:5:
warning: "GTEST_OS_SOLARIS" is not defined
:info:build /opt/local/include/gtest/internal/gtest-internal.h:548:5:
warning: "GTEST_OS_WINDOWS" is not defined
:info:build In file included from /opt/local/include/gtest/gtest.h:59,
:info:build from ./Tools/TestWebKitAPI/config.h:65,
:info:build from
Tools/TestWebKitAPI/Tests/WTF/CString.cpp:26:
:info:build /opt/local/include/gtest/gtest-death-test.h:190:6: warning:
"GTEST_OS_WINDOWS" is not defined
:info:build In file included from /opt/local/include/gtest/gtest.h:60,
:info:build from ./Tools/TestWebKitAPI/config.h:65,
:info:build from
Tools/TestWebKitAPI/Tests/WTF/CString.cpp:26:
:info:build /opt/local/include/gtest/gtest-message.h:111:5: warning:
"GTEST_OS_SYMBIAN" is not defined
:info:build /opt/local/include/gtest/gtest-message.h:175:5: warning:
"GTEST_OS_CYGWIN" is not defined
:info:build /opt/local/include/gtest/gtest-message.h:175:5: warning:
"GTEST_OS_SOLARIS" is not defined
:info:build /opt/local/include/gtest/gtest-message.h:181:5: warning:
"GTEST_OS_CYGWIN" is not defined
:info:build /opt/local/include/gtest/gtest-message.h:181:5: warning:
"GTEST_OS_SOLARIS" is not defined
:info:build /opt/local/include/gtest/gtest-message.h:196:5: warning:
"GTEST_OS_SYMBIAN" is not defined
:info:build In file included from /opt/local/include/gtest/gtest.h:61,
:info:build from ./Tools/TestWebKitAPI/config.h:65,
:info:build from
Tools/TestWebKitAPI/Tests/WTF/CString.cpp:26:
:info:build /opt/local/include/gtest/gtest-param-test.h:154:6: warning:
"GTEST_OS_SYMBIAN" is not defined
:info:build In file included from ./Tools/TestWebKitAPI/config.h:65,
:info:build from
Tools/TestWebKitAPI/Tests/WTF/CString.cpp:26:
:info:build /opt/local/include/gtest/gtest.h:1214:5: warning:
"GTEST_OS_CYGWIN" is not defined
:info:build /opt/local/include/gtest/gtest.h:1214:5: warning:
"GTEST_OS_SOLARIS" is not defined
:info:build /opt/local/include/gtest/gtest.h:1227:5: warning:
"GTEST_OS_CYGWIN" is not defined
:info:build /opt/local/include/gtest/gtest.h:1227:5: warning:
"GTEST_OS_SOLARIS" is not defined
:info:build /opt/local/include/gtest/gtest.h:1469:5: warning:
"GTEST_OS_CYGWIN" is not defined
:info:build /opt/local/include/gtest/gtest.h:1469:5: warning:
"GTEST_OS_SOLARIS" is not defined
:info:build /opt/local/include/gtest/gtest.h:1658:6: warning:
"GTEST_DONT_DEFINE_FAIL" is not defined
:info:build /opt/local/include/gtest/gtest.h:1667:6: warning:
"GTEST_DONT_DEFINE_SUCCEED" is not defined
:info:build /opt/local/include/gtest/gtest.h:1874:5: warning:
"GTEST_OS_WINDOWS" is not defined
:info:build /opt/local/include/gtest/gtest.h:2007:6: warning:
"GTEST_DONT_DEFINE_TEST" is not defined
:info:build i686-apple-darwin11-llvm-g++-4.2: -lgmodule-2.0: linker input
file unused because linking not done
:info:build i686-apple-darwin11-llvm-g++-4.2: -lgthread-2.0: linker input
file unused because linking not done
:info:build i686-apple-darwin11-llvm-g++-4.2: -lgio-2.0: linker input file
unused because linking not done
:info:build i686-apple-darwin11-llvm-g++-4.2: -lgobject-2.0: linker input
file unused because linking not done
:info:build i686-apple-darwin11-llvm-g++-4.2: -lglib-2.0: linker input
file unused because linking not done
:info:build i686-apple-darwin11-llvm-g++-4.2: -lintl: linker input file
unused because linking not done
:info:build In file included from ./Source/WTF/wtf/text/CString.h:30,
:info:build from
Tools/TestWebKitAPI/Tests/WTF/CString.cpp:29:
:info:build ./Source/WTF/wtf/PassRefPtr.h: In member function
‘WTF::PassRefPtr<T>& WTF::PassRefPtr<T>::operator=(const
WTF::PassRefPtr<T>&)’:
:info:build ./Source/WTF/wtf/PassRefPtr.h:84: error:
‘PassRefPtr_should_never_be_assigned_to’ was not declared in this scope
:info:build ./Source/WTF/wtf/PassRefPtr.h:84: error: there are no
arguments to ‘COMPILE_ASSERT’ that depend on a template parameter, so a
declaration of ‘COMPILE_ASSERT’ must be available
:info:build ./Source/WTF/wtf/PassRefPtr.h:84: error: (if you use
‘-fpermissive’, G++ will accept your code, but allowing the use of an
undeclared name is deprecated)
}}}
It built fine for me on my MountainLion machine. =(
--
Ticket URL: <https://trac.macports.org/ticket/36784#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list