building on Mac OS 10.12 "Sierra"
Kevin Funk
kfunk at kde.org
Sun Oct 23 16:49:59 UTC 2016
On Saturday, 22 October 2016 22:26:52 CEST René J.V. Bertin wrote:
> Hi,
>
> Has anyone already tried to build KDevelop on Mac OS 10.12? Apparently
> KDevelop 5.0.2 fails to build one of the Mac-specific files, but I fail to
> understand why (the compiler should accept the syntax used in the header
> files from system SDKs...) I don't know yet if the system clang accepts
> this syntax, but a stock clang 3.9.0 gives the same error as clang 3.8.1 .
You're the macOS, person, no? :)
This looks highly related to your issue:
https://trac.macports.org/ticket/51887
Citing: "Works for me on Sierra public beta 1 with Xcode 8 beta 2. On Sierra,
make sure you're using Xcode ≥ 8. Note that Sierra public beta 2 and Xcode 8
beta 3 are out now. Note that it's best not to discuss issues relating to pre-
release versions of Apple products in public forums like this issue tracker."
Running an outdated Xcode...?
Cheers,
Kevin
> What do we miss when we just skip exclude fileutils_mac.mm ? AFAICT it
> provides additional functionality, nothing that seems crucial.
>
> cd
> /opt/local/var/macports/build/_Users_marko_WC_GIT_macstrop_kf5_kdevelop5/kf
> 5-kdevelop/work/build/languages/qmljs/libs && /opt/local/bin/clang++-mp-3.8
> -DQML_BUILD_STATIC_LIB=1 -DQT_CORE_LIB -DQT_CREATOR
> -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050400
> -DQT_GUI_LIB -DQT_MAC_USE_COCOA -DQT_NETWORK_LIB -DQT_NO_DEBUG
> -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS
> -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DQT_WIDGETS_LIB
> -DQT_XML_LIB -D_DARWIN_C_SOURCE -D_LARGEFILE64_SOURCE
> -I/opt/local/var/macports/build/_Users_marko_WC_GIT_macstrop_kf5_kdevelop5/
> kf5-kdevelop/work/build/languages/qmljs/libs
> -I/opt/local/var/macports/build/_Users_marko_WC_GIT_macstrop_kf5_kdevelop5/
> kf5-kdevelop/work/kdevelop-5.0.2/languages/qmljs/libs
> -I/opt/local/var/macports/build/_Users_marko_WC_GIT_macstrop_kf5_kdevelop5/
> kf5-kdevelop/work/kdevelop-5.0.2
> -I/opt/local/var/macports/build/_Users_marko_WC_GIT_macstrop_kf5_kdevelop5/
> kf5-kdevelop/work/build
> -I/opt/local/var/macports/build/_Users_marko_WC_GIT_macstrop_kf5_kdevelop5/
> kf5-kdevelop/work/kdevelop-5.0.2/languages/plugins -iframework
> /opt/local/libexec/qt5/Library/Frameworks -isystem
> /opt/local/libexec/qt5/Library/Frameworks/QtCore.framework/Headers -isystem
> /opt/local/share/qt5/mkspecs/macx-clang -isystem
> /opt/local/libexec/qt5/Library/Frameworks/QtGui.framework/Headers -isystem
> /System/Library/Frameworks/OpenGL.framework/Headers -isystem
> /opt/local/libexec/qt5/Library/Frameworks/QtWidgets.framework/Headers
> -isystem
> /opt/local/libexec/qt5/Library/Frameworks/QtNetwork.framework/Headers
> -isystem /opt/local/libexec/qt5/Library/Frameworks/QtXml.framework/Headers
> -pipe -Os -DNDEBUG -DQT_USE_EXTSTANDARDPATHS
> -DQT_EXTSTANDARDPATHS_ALT_DEFAULT=true -stdlib=libc++ -std=c++0x
> -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts
> -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor
> -Woverloaded-virtual -Werror=return-type -Wno-missing-field-initializers
> -Werror=undefined-bool-conversion -Werror=tautological-undefined-compare
> -arch x86_64 -mmacosx-version-min=10.12 -fvisibility=hidden
> -fvisibility-inlines-hidden -DLANGUAGEUTILS_BUILD_DIR
> -DQTCREATOR_UTILS_LIB -fPIC -o
> CMakeFiles/kdevqtc-qmlsupport.dir/utils/fileutils_mac.mm.o -c
> /opt/local/var/macports/build/_Users_marko_WC_GIT_macstrop_kf5_kdevelop5/kf
> 5-kdevelop/work/kdevelop-5.0.2/languages/qmljs/libs/utils/fileutils_mac.mm
> :info:build In file included from
> :/opt/local/var/macports/build/_Users_marko_WC_GIT_macstrop_kf5_kdevelop5/k
> :f5-kdevelop/work/kdevelop-5.0.2/languages/qmljs/libs/utils/fileutils_mac.mm
> ::33: info:build In file included from
> :/opt/local/var/macports/build/_Users_marko_WC_GIT_macstrop_kf5_kdevelop5/k
> :f5-kdevelop/work/kdevelop-5.0.2/languages/qmljs/libs/utils/autoreleasepool.
> :h:35: info:build In file included from
> :/System/Library/Frameworks/Foundation.framework/Headers/NSAutoreleasePool.
> :h:5: info:build
> :/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:44:12:
> :error: unknown property attribute 'class' info:build @property (class,
> :readonly) BOOL supportsSecureCoding;
> :info:build ^
>
> Thanks,
> R.
--
Kevin Funk | kfunk at kde.org | http://kfunk.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20161023/c6561f1c/attachment.sig>
More information about the KDevelop-devel
mailing list