https://bugs.kde.org/show_bug.cgi?id=375392
--- Comment #8 from caulier.gil...@gmail.com --- Same problem using current XCode compiler under MAcOS Sierra 10.12.3 and KF5 5.31. Scanning dependencies of target KF5ConfigCore [ 78%] Building CXX object src/core/CMakeFiles/KF5ConfigCore.dir/kconfig.cpp.o [ 78%] Building CXX object src/core/CMakeFiles/KF5ConfigCore.dir/kconfigbase.cpp.o [ 78%] Building CXX object src/core/CMakeFiles/KF5ConfigCore.dir/kconfigdata.cpp.o [ 81%] Building CXX object src/core/CMakeFiles/KF5ConfigCore.dir/kconfigini.cpp.o [ 81%] Building CXX object src/core/CMakeFiles/KF5ConfigCore.dir/kconfigbackend.cpp.o [ 81%] Building CXX object src/core/CMakeFiles/KF5ConfigCore.dir/kconfiggroup.cpp.o /Users/gilles/Devel/GIT/5.x/project/bundles/macports/temp.build/ext_kf5/ext_kconfig-prefix/src/ext_kconfig/src/core/kconfigini.cpp:49:5: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions] auto it = cache->constFind(fragment); ^ /Users/gilles/Devel/GIT/5.x/project/bundles/macports/temp.build/ext_kf5/ext_kconfig-prefix/src/ext_kconfig/src/core/kconfigini.cpp:169:34: error: no matching member function for call to 'getEntryOption' groupSkip = entryMap.getEntryOption(currentGroup, nullptr, nullptr, KEntryMap::EntryImmutable); ~~~~~~~~~^~~~~~~~~~~~~~ /Users/gilles/Devel/GIT/5.x/project/bundles/macports/temp.build/ext_kf5/ext_kconfig-prefix/src/ext_kconfig/src/core/kconfigdata.h:210:10: note: candidate function not viable: no known conversion from 'std::__1::nullptr_t' to 'const QByteArray' for 2nd argument bool getEntryOption(const QByteArray &group, const QByteArray &key, ^ /Users/gilles/Devel/GIT/5.x/project/bundles/macports/temp.build/ext_kf5/ext_kconfig-prefix/src/ext_kconfig/src/core/kconfigdata.h:209:10: note: candidate function not viable: requires 2 arguments, but 4 were provided bool getEntryOption(const ConstIterator &it, EntryOption option) const; ^ /Users/gilles/Devel/GIT/5.x/project/bundles/macports/temp.build/ext_kf5/ext_kconfig-prefix/src/ext_kconfig/src/core/kconfigini.cpp:202:37: error: no viable conversion from 'std::__1::nullptr_t' to 'KEntryMap::EntryOptions' (aka 'QFlags<KEntryMap::EntryOption>') KEntryMap::EntryOptions entryOptions = nullptr; ^ ~~~~~~~ /opt/digikam/libexec/qt5/lib/QtCore.framework/Headers/qflags.h:86:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'std::__1::nullptr_t' to 'const QFlags<KEntryMap::EntryOption> &' for 1st argument class QFlags ^ /opt/digikam/libexec/qt5/lib/QtCore.framework/Headers/qflags.h:111:29: note: candidate constructor not viable: no known conversion from 'std::__1::nullptr_t' to 'KEntryMap::EntryOption' for 1st argument Q_DECL_CONSTEXPR inline QFlags(Enum f) Q_DECL_NOTHROW : i(Int(f)) {} ^ /opt/digikam/libexec/qt5/lib/QtCore.framework/Headers/qflags.h:112:29: note: candidate constructor not viable: no known conversion from 'std::__1::nullptr_t' to 'Zero' (aka 'int (QFlags<KEntryMap::EntryOption>::Private::*)') for 1st argument Q_DECL_CONSTEXPR inline QFlags(Zero = Q_NULLPTR) Q_DECL_NOTHROW : i(0) {} ^ /opt/digikam/libexec/qt5/lib/QtCore.framework/Headers/qflags.h:113:29: note: candidate constructor not viable: no known conversion from 'std::__1::nullptr_t' to 'QFlag' for 1st argument Q_DECL_CONSTEXPR inline QFlags(QFlag f) Q_DECL_NOTHROW : i(f) {} ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstddef:71:9: note: candidate template ignored: could not match 'type-parameter-0-0 *' against 'QFlags<KEntryMap::EntryOption>' operator _Tp* () const {return 0;} ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstddef:75:9: note: candidate template ignored: could not match 'type-parameter-0-0 type-parameter-0-1::*' against 'QFlags<KEntryMap::EntryOption>' operator _Tp _Up::* () const {return 0;} ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstddef:67:45: note: candidate function _LIBCPP_ALWAYS_INLINE _LIBCPP_CONSTEXPR operator int __nat::*() const {return 0;} ^ [ 84%] Building CXX object src/core/CMakeFiles/KF5ConfigCore.dir/kdesktopfile.cpp.o /Users/gilles/Devel/GIT/5.x/project/bundles/macports/temp.build/ext_kf5/ext_kconfig-prefix/src/ext_kconfig/src/core/kconfig.cpp:393:45: error: no matching member function for call to 'findEntry' KEntryMapConstIterator it = d->entryMap.findEntry(theGroup, nullptr, nullptr); ~~~~~~~~~~~~^~~~~~~~~ /Users/gilles/Devel/GIT/5.x/project/bundles/macports/temp.build/ext_kf5/ext_kconfig-prefix/src/ext_kconfig/src/core/kconfigdata.h:186:19: note: candidate function not viable: no known conversion from 'std::__1::nullptr_t' to 'const QByteArray' for 2nd argument ConstIterator findEntry(const QByteArray &group, const QByteArray &key = QByteArray(), ^ /Users/gilles/Devel/GIT/5.x/project/bundles/macports/temp.build/ext_kf5/ext_kconfig-prefix/src/ext_kconfig/src/core/kconfigdata.h:183:14: note: candidate function not viable: 'this' argument has type 'const KEntryMap', but method is not marked const Iterator findEntry(const QByteArray &group, const QByteArray &key = QByteArray(), ^ [ 84%] Building CXX object src/core/CMakeFiles/KF5ConfigCore.dir/ksharedconfig.cpp.o /Users/gilles/Devel/GIT/5.x/project/bundles/macports/temp.build/ext_kf5/ext_kconfig-prefix/src/ext_kconfig/src/core/kconfig.cpp:763:9: warning: TODO: enable kiosk feature again (resource restrictions), but without KStandardDirs... Needs a class in the kconfig framework. [-W#pragma-messages] #pragma message("TODO: enable kiosk feature again (resource restrictions), but without KStandardDirs... Needs a class in the kconfig framework.") ^ /Users/gilles/Devel/GIT/5.x/project/bundles/macports/temp.build/ext_kf5/ext_kconfig-prefix/src/ext_kconfig/src/core/kconfig.cpp:836:41: error: no matching member function for call to 'getEntryOption' return isImmutable() || d->entryMap.getEntryOption(aGroup, nullptr, nullptr, KEntryMap::EntryImmutable); ~~~~~~~~~~~~^~~~~~~~~~~~~~ /Users/gilles/Devel/GIT/5.x/project/bundles/macports/temp.build/ext_kf5/ext_kconfig-prefix/src/ext_kconfig/src/core/kconfigdata.h:210:10: note: candidate function not viable: no known conversion from 'std::__1::nullptr_t' to 'const QByteArray' for 2nd argument bool getEntryOption(const QByteArray &group, const QByteArray &key, ^ /Users/gilles/Devel/GIT/5.x/project/bundles/macports/temp.build/ext_kf5/ext_kconfig-prefix/src/ext_kconfig/src/core/kconfigdata.h:209:10: note: candidate function not viable: requires 2 arguments, but 4 were provided bool getEntryOption(const ConstIterator &it, EntryOption option) const; ^ /Users/gilles/Devel/GIT/5.x/project/bundles/macports/temp.build/ext_kf5/ext_kconfig-prefix/src/ext_kconfig/src/core/kconfig.cpp:867:29: error: no viable conversion from 'std::__1::nullptr_t' to 'KEntryMap::EntryOptions' (aka 'QFlags<KEntryMap::EntryOption>') KEntryMap::EntryOptions options = nullptr; ^ ~~~~~~~ /opt/digikam/libexec/qt5/lib/QtCore.framework/Headers/qflags.h:86:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'std::__1::nullptr_t' to 'const QFlags<KEntryMap::EntryOption> &' for 1st argument class QFlags ^ /opt/digikam/libexec/qt5/lib/QtCore.framework/Headers/qflags.h:111:29: note: candidate constructor not viable: no known conversion from 'std::__1::nullptr_t' to 'KEntryMap::EntryOption' for 1st argument Q_DECL_CONSTEXPR inline QFlags(Enum f) Q_DECL_NOTHROW : i(Int(f)) {} ^ /opt/digikam/libexec/qt5/lib/QtCore.framework/Headers/qflags.h:112:29: note: candidate constructor not viable: no known conversion from 'std::__1::nullptr_t' to 'Zero' (aka 'int (QFlags<KEntryMap::EntryOption>::Private::*)') for 1st argument Q_DECL_CONSTEXPR inline QFlags(Zero = Q_NULLPTR) Q_DECL_NOTHROW : i(0) {} ^ /opt/digikam/libexec/qt5/lib/QtCore.framework/Headers/qflags.h:113:29: note: candidate constructor not viable: no known conversion from 'std::__1::nullptr_t' to 'QFlag' for 1st argument Q_DECL_CONSTEXPR inline QFlags(QFlag f) Q_DECL_NOTHROW : i(f) {} ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstddef:71:9: note: candidate template ignored: could not match 'type-parameter-0-0 *' against 'QFlags<KEntryMap::EntryOption>' operator _Tp* () const {return 0;} ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstddef:75:9: note: candidate template ignored: could not match 'type-parameter-0-0 type-parameter-0-1::*' against 'QFlags<KEntryMap::EntryOption>' operator _Tp _Up::* () const {return 0;} ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstddef:67:45: note: candidate function _LIBCPP_ALWAYS_INLINE _LIBCPP_CONSTEXPR operator int __nat::*() const {return 0;} ^ 1 warning and 2 errors generated. [ 84%] Building CXX object src/core/CMakeFiles/KF5ConfigCore.dir/kcoreconfigskeleton.cpp.o gmake[6]: *** [src/core/CMakeFiles/KF5ConfigCore.dir/build.make:183: src/core/CMakeFiles/KF5ConfigCore.dir/kconfigini.cpp.o] Error 1 gmake[6]: *** Attente des tâches non terminées.... /Users/gilles/Devel/GIT/5.x/project/bundles/macports/temp.build/ext_kf5/ext_kconfig-prefix/src/ext_kconfig/src/kconfig_compiler/kconfig_compiler.cpp:2324:13: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions] auto instance = [&cfg, &cpp] (const QString &type, const QString arg, bool wrap) { ^ /Users/gilles/Devel/GIT/5.x/project/bundles/macports/temp.build/ext_kf5/ext_kconfig-prefix/src/ext_kconfig/src/kconfig_compiler/kconfig_compiler.cpp:2324:29: error: expected expression auto instance = [&cfg, &cpp] (const QString &type, const QString arg, bool wrap) { ^ 1 warning and 3 errors generated. gmake[6]: *** [src/core/CMakeFiles/KF5ConfigCore.dir/build.make:63: src/core/CMakeFiles/KF5ConfigCore.dir/kconfig.cpp.o] Error 1 1 warning and 1 error generated. gmake[6]: *** [src/kconfig_compiler/CMakeFiles/kconfig_compiler.dir/build.make:63: src/kconfig_compiler/CMakeFiles/kconfig_compiler.dir/kconfig_compiler.cpp.o] Error 1 gmake[5]: *** [CMakeFiles/Makefile2:3815: src/kconfig_compiler/CMakeFiles/kconfig_compiler.dir/all] Error 2 gmake[5]: *** Attente des tâches non terminées.... /Users/gilles/Devel/GIT/5.x/project/bundles/macports/temp.build/ext_kf5/ext_kconfig-prefix/src/ext_kconfig/src/core/ksharedconfig.cpp:93:14: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions] foreach (auto cfg, *static_cast<const GlobalSharedConfigList*>(list)) { ^ /opt/digikam/libexec/qt5/lib/QtCore.framework/Headers/qglobal.h:1006:21: note: expanded from macro 'foreach' # define foreach Q_FOREACH ^ 1 warning generated. gmake[5]: *** [CMakeFiles/Makefile2:3638: src/core/CMakeFiles/KF5ConfigCore.dir/all] Error 2 gmake[4]: *** [Makefile:128: all] Error 2 gmake[3]: *** [ext_kf5/CMakeFiles/ext_kconfig.dir/build.make:113: ext_kf5/ext_kconfig-prefix/src/ext_kconfig-stamp/ext_kconfig-build] Error 2 gmake[2]: *** [CMakeFiles/Makefile2:1827: ext_kf5/CMakeFiles/ext_kconfig.dir/all] Error 2 gmake[1]: *** [CMakeFiles/Makefile2:1839: ext_kf5/CMakeFiles/ext_kconfig.dir/rule] Error 2 gmake: *** [Makefile:625: ext_kconfig] Error 2 KF5 has officially lost MacOS support ? If yes, Why ? Gilles Caulier -- You are receiving this mail because: You are watching all bug changes.