#39806: wxWidgets-devel: update to 2.9.5 ------------------------------+---------------------- Reporter: mojca@… | Owner: jwa@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch Port: wxWidgets-devel | ------------------------------+---------------------- Comment (by mojca@…): Here are the warnings in case that any of those matter (path slightly shortened): {{{ configure: WARNING: Defaulting to the builtin regex library for Unicode build. configure: WARNING: wxMutex::LockTimeout() will not work configure: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option configure: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled configure: WARNING: Joystick not supported by this system... disabled configure: WARNING: Dialup manager not supported on this platform... disabled /opt/local/var/macports/build/wxWidgets-2.9.5/build/bk-make-pch ./.pch/wxprec_basedll/wx/wxprec.h.gch wx/wxprec.h /usr/bin/clang++ -mmacosx-version-min=10.5 -I./.pch/wxprec_basedll -D__WXOSX_COCOA__ -DWXBUILDING -I../src/regex -DwxUSE_GUI=0 -DWXMAKINGDLL_BASE -DwxUSE_BASE=1 -dynamic -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno- ctor-dtor-privacy -Woverloaded-virtual -Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64 -I/opt/local/var/macports/build/wxWidgets-2.9.5/build/lib/wx/include /osx_cocoa-unicode-2.9 -I../include -I/opt/local/include -I/opt/local/include -DWX_PRECOMP -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -pipe -O2 -arch x86_64 -fno-common clang: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated /opt/local/var/macports/build/wxWidgets-2.9.5/build/bk-make-pch ./.pch/wxprec_netdll/wx/wxprec.h.gch wx/wxprec.h /usr/bin/clang++ -mmacosx-version-min=10.5 -I./.pch/wxprec_netdll -D__WXOSX_COCOA__ -DWXBUILDING -I../src/regex -DwxUSE_GUI=0 -DWXUSINGDLL -DWXMAKINGDLL_NET -dynamic -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64 -I/opt/local/var/macports/build/wxWidgets-2.9.5/build/lib/wx/include /osx_cocoa-unicode-2.9 -I../include -I/opt/local/include -I/opt/local/include -DWX_PRECOMP -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -pipe -O2 -arch x86_64 -fno-common clang: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated /opt/local/var/macports/build/wxWidgets-2.9.5/build/bk-make-pch ./.pch/wxprec_coredll/wx/wxprec.h.gch wx/wxprec.h /usr/bin/clang++ -mmacosx-version-min=10.5 -I./.pch/wxprec_coredll -D__WXOSX_COCOA__ -DWXBUILDING -I../src/regex -DWXUSINGDLL -DWXMAKINGDLL_CORE -DwxUSE_BASE=0 -dynamic -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno- ctor-dtor-privacy -Woverloaded-virtual -Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64 -I/opt/local/var/macports/build/wxWidgets-2.9.5/build/lib/wx/include /osx_cocoa-unicode-2.9 -I../include -I/opt/local/include -I/opt/local/include -DWX_PRECOMP -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -pipe -O2 -arch x86_64 -fno-common clang: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated /opt/local/var/macports/build/wxWidgets-2.9.5/build/bk-make-pch ./.pch/wxprec_advdll/wx/wxprec.h.gch wx/wxprec.h /usr/bin/clang++ -mmacosx-version-min=10.5 -I./.pch/wxprec_advdll -D__WXOSX_COCOA__ -DWXBUILDING -I../src/regex -DWXUSINGDLL -DWXMAKINGDLL_ADV -dynamic -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64 -I/opt/local/var/macports/build/wxWidgets-2.9.5/build/lib/wx/include /osx_cocoa-unicode-2.9 -I../include -I/opt/local/include -I/opt/local/include -DWX_PRECOMP -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -pipe -O2 -arch x86_64 -fno-common clang: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated /opt/local/var/macports/build/wxWidgets-2.9.5/build/bk-make-pch ./.pch/wxprec_mediadll/wx/wxprec.h.gch wx/wxprec.h /usr/bin/clang++ -mmacosx-version-min=10.5 -I./.pch/wxprec_mediadll -D__WXOSX_COCOA__ -DWXBUILDING -I../src/regex -DWXUSINGDLL -DWXMAKINGDLL_MEDIA -dynamic -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor- privacy -Woverloaded-virtual -Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64 -I/opt/local/var/macports/build/wxWidgets-2.9.5/build/lib/wx/include /osx_cocoa-unicode-2.9 -I../include -I/opt/local/include -I/opt/local/include -DWX_PRECOMP -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -pipe -O2 -arch x86_64 -fno-common clang: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated /opt/local/var/macports/build/wxWidgets-2.9.5/build/bk-make-pch ./.pch/wxprec_htmldll/wx/wxprec.h.gch wx/wxprec.h /usr/bin/clang++ -mmacosx-version-min=10.5 -I./.pch/wxprec_htmldll -D__WXOSX_COCOA__ -DWXBUILDING -I../src/regex -DWXUSINGDLL -DWXMAKINGDLL_HTML -dynamic -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64 -I/opt/local/var/macports/build/wxWidgets-2.9.5/build/lib/wx/include /osx_cocoa-unicode-2.9 -I../include -I/opt/local/include -I/opt/local/include -DWX_PRECOMP -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -pipe -O2 -arch x86_64 -fno-common clang: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated /opt/local/var/macports/build/wxWidgets-2.9.5/build/bk-make-pch ./.pch/wxprec_webviewdll/wx/wxprec.h.gch wx/wxprec.h /usr/bin/clang++ -mmacosx-version-min=10.5 -I./.pch/wxprec_webviewdll -D__WXOSX_COCOA__ -DWXBUILDING -I../src/regex -DWXUSINGDLL -DWXMAKINGDLL_WEBVIEW -dynamic -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor- privacy -Woverloaded-virtual -Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64 -I/opt/local/var/macports/build/wxWidgets-2.9.5/build/lib/wx/include /osx_cocoa-unicode-2.9 -I../include -I/opt/local/include -I/opt/local/include -DWX_PRECOMP -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -pipe -O2 -arch x86_64 -fno-common clang: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated /opt/local/var/macports/build/wxWidgets-2.9.5/build/bk-make-pch ./.pch/wxprec_qadll/wx/wxprec.h.gch wx/wxprec.h /usr/bin/clang++ -mmacosx- version-min=10.5 -I./.pch/wxprec_qadll -D__WXOSX_COCOA__ -DWXBUILDING -I../src/regex -DWXUSINGDLL -DWXMAKINGDLL_QA -dynamic -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64 -I/opt/local/var/macports/build/wxWidgets-2.9.5/build/lib/wx/include /osx_cocoa-unicode-2.9 -I../include -I/opt/local/include -I/opt/local/include -DWX_PRECOMP -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -pipe -O2 -arch x86_64 -fno-common clang: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated /opt/local/var/macports/build/wxWidgets-2.9.5/build/bk-make-pch ./.pch/wxprec_xmldll/wx/wxprec.h.gch wx/wxprec.h /usr/bin/clang++ -mmacosx-version-min=10.5 -I./.pch/wxprec_xmldll -D__WXOSX_COCOA__ -DWXBUILDING -I../src/regex -DwxUSE_GUI=0 -DWXUSINGDLL -DWXMAKINGDLL_XML -dynamic -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64 -I/opt/local/var/macports/build/wxWidgets-2.9.5/build/lib/wx/include /osx_cocoa-unicode-2.9 -I../include -I/opt/local/include -I/opt/local/include -DWX_PRECOMP -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -pipe -O2 -arch x86_64 -fno-common clang: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated /opt/local/var/macports/build/wxWidgets-2.9.5/build/bk-make-pch ./.pch/wxprec_xrcdll/wx/wxprec.h.gch wx/wxprec.h /usr/bin/clang++ -mmacosx-version-min=10.5 -I./.pch/wxprec_xrcdll -D__WXOSX_COCOA__ -DWXBUILDING -I../src/regex -DWXUSINGDLL -DWXMAKINGDLL_XRC -dynamic -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64 -I/opt/local/var/macports/build/wxWidgets-2.9.5/build/lib/wx/include /osx_cocoa-unicode-2.9 -I../include -I/opt/local/include -I/opt/local/include -DWX_PRECOMP -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -pipe -O2 -arch x86_64 -fno-common clang: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated /opt/local/var/macports/build/wxWidgets-2.9.5/build/bk-make-pch ./.pch/wxprec_auidll/wx/wxprec.h.gch wx/wxprec.h /usr/bin/clang++ -mmacosx-version-min=10.5 -I./.pch/wxprec_auidll -D__WXOSX_COCOA__ -DWXBUILDING -I../src/regex -DWXUSINGDLL -DWXMAKINGDLL_AUI -dynamic -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64 -I/opt/local/var/macports/build/wxWidgets-2.9.5/build/lib/wx/include /osx_cocoa-unicode-2.9 -I../include -I/opt/local/include -I/opt/local/include -DWX_PRECOMP -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -pipe -O2 -arch x86_64 -fno-common clang: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated /opt/local/var/macports/build/wxWidgets-2.9.5/build/bk-make-pch ./.pch/wxprec_ribbondll/wx/wxprec.h.gch wx/wxprec.h /usr/bin/clang++ -mmacosx-version-min=10.5 -I./.pch/wxprec_ribbondll -D__WXOSX_COCOA__ -DWXBUILDING -I../src/regex -DWXUSINGDLL -DWXMAKINGDLL_RIBBON -dynamic -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor- privacy -Woverloaded-virtual -Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64 -I/opt/local/var/macports/build/wxWidgets-2.9.5/build/lib/wx/include /osx_cocoa-unicode-2.9 -I../include -I/opt/local/include -I/opt/local/include -DWX_PRECOMP -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -pipe -O2 -arch x86_64 -fno-common clang: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated /opt/local/var/macports/build/wxWidgets-2.9.5/build/bk-make-pch ./.pch/wxprec_propgriddll/wx/wxprec.h.gch wx/wxprec.h /usr/bin/clang++ -mmacosx-version-min=10.5 -I./.pch/wxprec_propgriddll -D__WXOSX_COCOA__ -DWXBUILDING -I../src/regex -DWXUSINGDLL -DWXMAKINGDLL_PROPGRID -dynamic -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor- privacy -Woverloaded-virtual -Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64 -I/opt/local/var/macports/build/wxWidgets-2.9.5/build/lib/wx/include /osx_cocoa-unicode-2.9 -I../include -I/opt/local/include -I/opt/local/include -DWX_PRECOMP -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -pipe -O2 -arch x86_64 -fno-common clang: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated /opt/local/var/macports/build/wxWidgets-2.9.5/build/bk-make-pch ./.pch/wxprec_richtextdll/wx/wxprec.h.gch wx/wxprec.h /usr/bin/clang++ -mmacosx-version-min=10.5 -I./.pch/wxprec_richtextdll -D__WXOSX_COCOA__ -DWXBUILDING -I../src/regex -DWXUSINGDLL -DWXMAKINGDLL_RICHTEXT -dynamic -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor- privacy -Woverloaded-virtual -Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64 -I/opt/local/var/macports/build/wxWidgets-2.9.5/build/lib/wx/include /osx_cocoa-unicode-2.9 -I../include -I/opt/local/include -I/opt/local/include -DWX_PRECOMP -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -pipe -O2 -arch x86_64 -fno-common clang: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated /opt/local/var/macports/build/wxWidgets-2.9.5/build/bk-make-pch ./.pch/wxprec_stcdll/wx/wxprec.h.gch wx/wxprec.h /usr/bin/clang++ -mmacosx-version-min=10.5 -I./.pch/wxprec_stcdll -D__WXOSX_COCOA__ -DWXBUILDING -I../src/regex -I../src/stc/scintilla/include -I../src/stc/scintilla/lexlib -I../src/stc/scintilla/src -D__WX__ -DSCI_LEXER -DLINK_LEXERS -DWXUSINGDLL -DWXMAKINGDLL_STC -dynamic -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64 -I/opt/local/var/macports/build/wxWidgets-2.9.5/build/lib/wx/include /osx_cocoa-unicode-2.9 -I../include -I/opt/local/include -I/opt/local/include -DWX_PRECOMP -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -pipe -O2 -arch x86_64 -fno-common clang: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated /opt/local/var/macports/build/wxWidgets-2.9.5/build/bk-make-pch ./.pch/wxprec_gldll/wx/wxprec.h.gch wx/wxprec.h /usr/bin/clang++ -mmacosx- version-min=10.5 -I./.pch/wxprec_gldll -D__WXOSX_COCOA__ -DWXBUILDING -I../src/regex -DWXUSINGDLL -DWXMAKINGDLL_GL -dynamic -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64 -I/opt/local/var/macports/build/wxWidgets-2.9.5/build/lib/wx/include /osx_cocoa-unicode-2.9 -I../include -I/opt/local/include -I/opt/local/include -DWX_PRECOMP -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -pipe -O2 -arch x86_64 -fno-common clang: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated /opt/local/var/macports/build/wxWidgets-2.9.5/build/bk-deps /usr/bin/clang++ -mmacosx-version-min=10.5 -c -o coredll_osx_cocoa_menu.o -I./.pch/wxprec_coredll -D__WXOSX_COCOA__ -DWXBUILDING -I../src/regex -DWXUSINGDLL -DWXMAKINGDLL_CORE -DwxUSE_BASE=0 -dynamic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -I/opt/local/var/macports/build/wxWidgets-2.9.5/build/lib/wx/include /osx_cocoa-unicode-2.9 -I../include -I/opt/local/include -I/opt/local/include ../src/osx/cocoa/menu.mm ../src/osx/cocoa/filedlg.mm:117:31: warning: 'pathContentOfSymbolicLinkAtPath:' is deprecated [-Wdeprecated- declarations] NSString* resolvedLink = [[NSFileManager defaultManager] pathContentOfSymbolicLinkAtPath:filename]; ^ /System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:172:1: note: method 'pathContentOfSymbolicLinkAtPath:' declared here - (NSString *)pathContentOfSymbolicLinkAtPath:(NSString *)path NS_DEPRECATED(10_0, 10_5, 2_0, 2_0); ^ ../src/osx/cocoa/filedlg.mm:121:34: warning: 'fileAttributesAtPath:traverseLink:' is deprecated [-Wdeprecated- declarations] NSDictionary* fileAttribs = [[NSFileManager defaultManager] ^ /System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:168:1: note: method 'fileAttributesAtPath:traverseLink:' declared here - (NSDictionary *)fileAttributesAtPath:(NSString *)path traverseLink:(BOOL)yorn NS_DEPRECATED(10_0, 10_5, 2_0, 2_0); ^ 2 warnings generated. /opt/local/var/macports/build/wxWidgets-2.9.5/build/bk-deps /usr/bin/clang++ -mmacosx-version-min=10.5 -c -o advdll_cocoa_datetimectrl.o -I./.pch/wxprec_advdll -D__WXOSX_COCOA__ -DWXBUILDING -I../src/regex -DWXUSINGDLL -DWXMAKINGDLL_ADV -dynamic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -I/opt/local/var/macports/build/wxWidgets-2.9.5/build/lib/wx/include /osx_cocoa-unicode-2.9 -I../include -I/opt/local/include -I/opt/local/include ../src/osx/cocoa/datetimectrl.mm ../src/osx/core/sound.cpp:54:15: warning: implicit conversion of NULL constant to 'SystemSoundID' (aka 'unsigned int') [-Wnull-conversion] m_soundID(NULL) ~^~~~ 0 ../src/osx/core/sound.cpp:98:21: warning: implicit conversion of NULL constant to 'SystemSoundID' (aka 'unsigned int') [-Wnull-conversion] m_soundID = NULL; ~ ^~~~ 0 2 warnings generated. }}} Plus a lot of sofware depending on wxWidgets (at least gnuplot and poedit) now suffers from dangling else warnings (it may actually result in buggy executable). Btw: should {{{-mmacosx-version-min=10.5}}} be removed? -- Ticket URL: <https://trac.macports.org/ticket/39806#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X