On 3/20/2015 4:31 PM, David Reiser wrote:
> On Mar 20, 2015, at 7:15 AM, Hanspeter Niederstrasser 
> <f...@snaggledworks.com> wrote:
>>
>> On 3/19/2015 9:46 PM, David Reiser wrote:
>>> g++ -c -pipe -Xarch_x86_64 -mmacosx-version-min=10.10 -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 
>>> -I/sw/include -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.10 -fPIC 
>>> -fvisibility=hidden -fvisibility-inlines-hidden -isysroot 
>>> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk
>>>  -DNDEBUG -DBUILDING_QT__=1 -DQT_ASCII_CAST_WARNINGS -DENABLE_XSLT=0 
>>> -DENABLE_WEB_TIMING=0 -DENABLE_JAVASCRIPT_DEBUGGER=1 -DENABLE_DATABASE=1 
>>> -DENABLE_EVENTSOURCE=1 -DENABLE_OFFLINE_WEB_APPLICATIONS=1 
>>> -DENABLE_DOM_STORAGE=1 -DENABLE_ICONDATABASE=1 -DENABLE_CHANNEL_MESSAGING=1 
>>> -DENABLE_DIRECTORY_UPLOAD=0 -DENABLE_FILE_SYSTEM=0 -DENABLE_QUOTA=0 
>>> -DENABLE_SQLITE=1 -DENABLE_DASHBOARD_SUPPORT=0 -DENABLE_FILTERS=1 
>>> -DENABLE_XPATH=1 -DENABLE_WCSS=0 -DENABLE_SHARED_WORKERS=1 -DENABLE_WORK
>> ERS=1 -DE
>> NABLE_XHTMLMP=0 -DENABLE_DETAILS=1 -DENABLE_METER_TAG=1 
>> -DENABLE_PROGRESS_TAG=1 -DENABLE_BLOB=1 -DENABLE_NOTIFICATIONS=1 
>> -DENABLE_INPUT_SPEECH=0 -DENABLE_INSPECTOR=1 -DENABLE_3D_RENDERING=1 
>> -DENABLE_WEB_AUDIO=0 -DENABLE_WEBGL=0 -DENABLE_MEDIA_STATISTICS=0 
>> -DENABLE_VIDEO_TRACK=0 -DENABLE_TOUCH_ICON_LOADING=0 
>> -DENABLE_ANIMATION_API=0 -DENABLE_SVG=1 -DENABLE_SVG_FONTS=1 
>> -DENABLE_SVG_FOREIGN_OBJECT=1 -DENABLE_SVG_ANIMATION=1 
>> -DENABLE_SVG_AS_IMAGE=1 -DENABLE_SVG_USE=1 -DENABLE_DATALIST=1 
>> -DENABLE_TILED_BACKING_STORE=1 -DENABLE_NETSCAPE_PLUGIN_API=1 
>> -DENABLE_WEB_SOCKETS=1 -DWTF_USE_QT_BEARER=1 -DENABLE_TOUCH_EVENTS=1 
>> -DENABLE_VIDEO=0 -DBUILDING_JavaScriptCore -DBUILDING_WTF -DBUILDING_WEBKIT 
>> -DQT_MAKEDLL -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_GUI_LIB 
>> -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE 
>> -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 
>> -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_HAVE_AVX -DQT_SHARED 
>> -I../../../../../mkspecs/macx
>> -g++ -I.
>> -I.moc/debug-static -I../../../../../lib/QtCore.framework/Versions/4/Headers 
>> -I../../../../../include/QtCore 
>> -I../../../../../lib/QtNetwork.framework/Versions/4/Headers 
>> -I../../../../../include/QtNetwork 
>> -I../../../../../lib/QtGui.framework/Versions/4/Headers 
>> -I../../../../../include/QtGui -I../../../../../include -I../JavaScriptCore 
>> -I../../Source -I../ThirdParty -I../JavaScriptCore/assembler 
>> -I../JavaScriptCore/bytecode -I../JavaScriptCore/bytecompiler 
>> -I../JavaScriptCore/heap -I../JavaScriptCore/dfg 
>> -I../JavaScriptCore/debugger -I../JavaScriptCore/interpreter 
>> -I../JavaScriptCore/jit -I../JavaScriptCore/parser 
>> -I../JavaScriptCore/profiler -I../JavaScriptCore/runtime 
>> -I../JavaScriptCore/wtf -I../JavaScriptCore/wtf/gobject 
>> -I/sw/src/fink.build/qt4-base-mac-4.8.6-4/qt-everywhere-opensource-src-4.8.6/src/3rdparty/webkit/Source/JavaScriptCore/wtf/symbian
>>  -I../JavaScriptCore/wtf/unicode -I../JavaScriptCore/yarr 
>> -I../JavaScriptCore/API -I../JavaScriptCore/ForwardingHeaders -I../Ja
>> vaScriptC
>> ore/generated -Ibridge/qt -Ipage/qt -Iplatform/graphics/qt 
>> -Iplatform/network/qt -Iplatform/qt -I../WebKit/qt/Api 
>> -I../WebKit/qt/WebCoreSupport -I. -Iaccessibility -Ibindings 
>> -Ibindings/generic -Ibridge -Icss -Idom -Idom/default -Iediting -Ifileapi 
>> -Ihistory -Ihtml -Ihtml/canvas -Ihtml/parser -Ihtml/shadow -Iinspector 
>> -Iloader -Iloader/appcache -Iloader/archive -Iloader/cache -Iloader/icon 
>> -Imathml -Inotifications -Ipage -Ipage/animation -Iplatform 
>> -Iplatform/animation -Iplatform/audio -Iplatform/graphics 
>> -Iplatform/graphics/filters -Iplatform/graphics/filters/arm 
>> -Iplatform/graphics/texmap -Iplatform/graphics/transforms 
>> -Iplatform/image-decoders -Iplatform/leveldb -Iplatform/mock 
>> -Iplatform/network -Iplatform/sql -Iplatform/text -Iplatform/text/transcoder 
>> -Iplugins -Irendering -Irendering/mathml -Irendering/style -Irendering/svg 
>> -Istorage -Isvg -Isvg/animation -Isvg/graphics -Isvg/graphics/filters 
>> -Isvg/properties -Itesting -Iwebaudio -Iwebsockets 
>> -I/sw/src/fink.build/qt4-ba
>> se-mac-4.
>> 8.6-4/qt-everywhere-opensource-src-4.8.6/src/3rdparty/webkit/Source/WebCore/wml
>>  -Iworkers -Ixml -Ibridge/jsc -Ibindings/js 
>> -I/sw/src/fink.build/qt4-base-mac-4.8.6-4/qt-everywhere-opensource-src-4.8.6/src/3rdparty/webkit/Source/WebCore/bindings/js/specialization
>>  -Ibridge/c -Itesting/js -Igenerated -I../../Source -I../../include 
>> -I../include/QtWebKit -I../include -Iplatform/mac 
>> -F/sw/src/fink.build/qt4-base-mac-4.8.6-4/qt-everywhere-opensource-src-4.8.6/lib
>>  -o .obj/debug-static/ScriptControllerBase.o 
>> bindings/ScriptControllerBase.cpp
>>> In file included from bindings/ScriptControllerBase.cpp:22:
>>> In file included from bindings/js/ScriptController.h:26:
>>> In file included from bindings/js/JSDOMWindowShell.h:32:
>>> In file included from generated/JSDOMWindow.h:25:
>>> In file included from bindings/js/JSDOMWindowBase.h:23:
>>> In file included from bindings/js/JSDOMBinding.h:25:
>>> In file included from bindings/js/JSDOMGlobalObject.h:30:
>>> In file included from ../JavaScriptCore/runtime/JSGlobalObject.h:25:
>>> In file included from ../JavaScriptCore/runtime/JSArray.h:24:
>>> In file included from ../JavaScriptCore/runtime/JSObject.h:26:
>>> In file included from ../JavaScriptCore/runtime/ArgList.h:25:
>>> In file included from ../JavaScriptCore/interpreter/CallFrame.h:26:
>>> In file included from ../JavaScriptCore/runtime/JSGlobalData.h:33:
>>> In file included from ../JavaScriptCore/heap/Heap.h:25:
>>> In file included from ../JavaScriptCore/heap/HandleHeap.h:30:
>>> ../JavaScriptCore/heap/Handle.h:145:46: warning: class template 
>>> 'HandleConverter' was previously declared as a struct template 
>>> [-Wmismatched-tags]
>>>      template <typename A, typename B> friend class HandleConverter;
>>>                                               ^
>>> ../JavaScriptCore/heap/Handle.h:94:45: note: previous use is here
>>> template <typename Base, typename T> struct HandleConverter {
>>>                                              ^
>>> ../JavaScriptCore/heap/Handle.h:145:46: note: did you mean struct here?
>>>      template <typename A, typename B> friend class HandleConverter;
>>>                                               ^~~~~
>>>                                               struct
>>> In file included from bindings/ScriptControllerBase.cpp:22:
>>> In file included from bindings/js/ScriptController.h:26:
>>> In file included from bindings/js/JSDOMWindowShell.h:32:
>>> In file included from generated/JSDOMWindow.h:25:
>>> In file included from bindings/js/JSDOMWindowBase.h:23:
>>> In file included from bindings/js/JSDOMBinding.h:25:
>>> In file included from bindings/js/JSDOMGlobalObject.h:30:
>>> In file included from ../JavaScriptCore/runtime/JSGlobalObject.h:25:
>>> In file included from ../JavaScriptCore/runtime/JSArray.h:24:
>>> In file included from ../JavaScriptCore/runtime/JSObject.h:35:
>>> In file included from ../JavaScriptCore/runtime/ScopeChain.h:25:
>>> In file included from ../JavaScriptCore/runtime/Structure.h:37:
>>> ../JavaScriptCore/runtime/JSTypeInfo.h:73:52: warning: use of logical '&&' 
>>> with constant operand [-Wconstant-logical-operand]
>>>          unsigned isFinal() const { return m_flags2 && (IsJSFinalObject >> 
>>> 8); }
>>>                                                     ^  
>>> ~~~~~~~~~~~~~~~~~~~~~~
>>> ../JavaScriptCore/runtime/JSTypeInfo.h:73:52: note: use '&' for a bitwise 
>>> operation
>>>          unsigned isFinal() const { return m_flags2 && (IsJSFinalObject >> 
>>> 8); }
>>>                                                     ^~
>>>                                                     &
>>> ../JavaScriptCore/runtime/JSTypeInfo.h:73:52: note: remove constant to 
>>> silence this warning
>>>          unsigned isFinal() const { return m_flags2 && (IsJSFinalObject >> 
>>> 8); }
>>>                                                    
>>> ~^~~~~~~~~~~~~~~~~~~~~~~~~
>>> In file included from bindings/ScriptControllerBase.cpp:26:
>>> In file included from loader/DocumentLoader.h:36:
>>> In file included from loader/NavigationAction.h:32:
>>> In file included from /sw/include/Event.h:46:
>>> /sw/include/ev.h:188:5: warning: '__STDC_VERSION__' is not defined, 
>>> evaluates to 0 [-Wundef]
>>> #if __STDC_VERSION__ >= 199901L || __GNUC__ >= 3
>>>      ^
>>> In file included from bindings/ScriptControllerBase.cpp:22:
>>> In file included from bindings/js/ScriptController.h:26:
>>> In file included from bindings/js/JSDOMWindowShell.h:32:
>>> In file included from generated/JSDOMWindow.h:24:
>>> In file included from page/DOMWindow.h:30:
>>> In file included from dom/EventTarget.h:35:
>>> In file included from dom/EventNames.h:25:
>>> In file included from platform/ThreadGlobalData.h:30:
>>> In file included from ../JavaScriptCore/wtf/HashMap.h:24:
>>> In file included from ../JavaScriptCore/wtf/HashTable.h:26:
>>> In file included from ../JavaScriptCore/wtf/HashTraits.h:24:
>>> In file included from ../JavaScriptCore/wtf/HashFunctions.h:24:
>>> In file included from ../JavaScriptCore/wtf/RefPtr.h:28:
>>> ../JavaScriptCore/wtf/PassRefPtr.h:53:16: error: member access into 
>>> incomplete type 'WebCore::Event'
>>>              ptr->ref();
>>>                 ^
>>> ../JavaScriptCore/wtf/RefPtr.h:113:9: note: in instantiation of function 
>>> template specialization 'WTF::refIfNotNull<WebCore::Event>' requested here
>>>          refIfNotNull(optr);
>>>          ^
>>> loader/NavigationAction.h:39:11: note: in instantiation of member function 
>>> 'WTF::RefPtr<WebCore::Event>::operator=' requested here
>>>      class NavigationAction {
>>>            ^
>>> dom/EventListener.h:35:11: note: forward declaration of 'WebCore::Event'
>>>      class Event;
>>>            ^
>>> In file included from bindings/ScriptControllerBase.cpp:22:
>>> In file included from bindings/js/ScriptController.h:26:
>>> In file included from bindings/js/JSDOMWindowShell.h:32:
>>> In file included from generated/JSDOMWindow.h:24:
>>> In file included from page/DOMWindow.h:30:
>>> In file included from dom/EventTarget.h:35:
>>> In file included from dom/EventNames.h:25:
>>> In file included from platform/ThreadGlobalData.h:30:
>>> In file included from ../JavaScriptCore/wtf/HashMap.h:24:
>>> In file included from ../JavaScriptCore/wtf/HashTable.h:26:
>>> In file included from ../JavaScriptCore/wtf/HashTraits.h:24:
>>> In file included from ../JavaScriptCore/wtf/HashFunctions.h:24:
>>> In file included from ../JavaScriptCore/wtf/RefPtr.h:28:
>>> ../JavaScriptCore/wtf/PassRefPtr.h:59:16: error: member access into 
>>> incomplete type 'WebCore::Event'
>>>              ptr->deref();
>>>                 ^
>>> ../JavaScriptCore/wtf/RefPtr.h:116:9: note: in instantiation of function 
>>> template specialization 'WTF::derefIfNotNull<WebCore::Event>' requested here
>>>          derefIfNotNull(ptr);
>>>          ^
>>> loader/NavigationAction.h:39:11: note: in instantiation of member function 
>>> 'WTF::RefPtr<WebCore::Event>::operator=' requested here
>>>      class NavigationAction {
>>>            ^
>>> dom/EventListener.h:35:11: note: forward declaration of 'WebCore::Event'
>>>      class Event;
>>>            ^
>>
>> Do you have any of Fink's libeventN or a third party libevent installed?
>>   Qt4 BuildConflicts with Fink's libevent packages, but this error is
>> exactly what one gets when the build picks up an external libevent header.
>>
>> Hanspeter
>>
>
> Not exactly. Fink’s libev4 was the offending package. Thanks for the pointer.

Ah.  I did not know that libev4 was a newer 'libevent'.  Guess that's 
another package that goes into the BuildConflicts field.

Hanspeter


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to