marc@nobby:~/Qt/qt5-build-clang$ ninja -k0 qtdeclarative [1/4280] Building CXX object qtdeclarative/src/qmltyperegistrar/CMakeFiles/QmlTypeRegistrarPrivate.dir/Unity/unity_0_cxx.cxx.o FAILED: qtdeclarative/src/qmltyperegistrar/CMakeFiles/QmlTypeRegistrarPrivate.dir/Unity/unity_0_cxx.cxx.o /d/llvm/15/bin/clang++ -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_QMLTYPEREGISTRAR_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x050000 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_LEAN_HEADERS=1 -DQT_MOC_COMPAT -DQT_NO_AS_CONST -DQT_NO_AS_CONST=1 -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_QEXCHANGE -DQT_NO_SHED_CAPACITY_ON_CLEAR -DQT_STRICT_QLIST_ITERATORS -DQT_USE_QSTRINGBUILDER -DQT_WARN_DEPRECATED_UP_TO=0x070000 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/home/marc/Qt/qt5-build-clang/qtdeclarative/src/qmltyperegistrar/QmlTypeRegistrarPrivate_autogen/include -I/home/marc/Qt/qt5-build-clang/qtbase/include -I/home/marc/Qt/qt5-build-clang/qtbase/include/QtQmlTypeRegistrar -I/home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar -I/home/marc/Qt/qt5-build-clang/qtdeclarative/src/qmltyperegistrar -I/home/marc/Qt/qt5-build-clang/qtbase/include/QtQmlTypeRegistrar/6.7.0 -I/home/marc/Qt/qt5-build-clang/qtbase/include/QtQmlTypeRegistrar/6.7.0/QtQmlTypeRegistrar -I/home/marc/Qt/qt5-build-clang/qtbase/src/corelib -I/home/marc/Qt/qt5-build-clang/qtbase/include/QtCore/6.7.0 -I/home/marc/Qt/qt5-build-clang/qtbase/include/QtCore/6.7.0/QtCore -I/home/marc/Qt/qt5-build-clang/qtbase/include/QtCore -I/home/marc/Qt/qt5-build-clang/qtbase/mkspecs/linux-clang-libc++ -g -DNDEBUG -O2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -fno-exceptions -fPIC -stdlib=libc++ -pthread -Werror "-Wno-error=#warnings" -Wno-error=deprecated-declarations -Wno-error=deprecated-enum-enum-conversion -Wno-error=deprecated-copy-with-user-provided-copy -Wno-error=unused-but-set-variable -std=c++20 -MD -MT qtdeclarative/src/qmltyperegistrar/CMakeFiles/QmlTypeRegistrarPrivate.dir/Unity/unity_0_cxx.cxx.o -MF qtdeclarative/src/qmltyperegistrar/CMakeFiles/QmlTypeRegistrarPrivate.dir/Unity/unity_0_cxx.cxx.o.d -o qtdeclarative/src/qmltyperegistrar/CMakeFiles/QmlTypeRegistrarPrivate.dir/Unity/unity_0_cxx.cxx.o -c /home/marc/Qt/qt5-build-clang/qtdeclarative/src/qmltyperegistrar/CMakeFiles/QmlTypeRegistrarPrivate.dir/Unity/unity_0_cxx.cxx In file included from /home/marc/Qt/qt5-build-clang/qtdeclarative/src/qmltyperegistrar/CMakeFiles/QmlTypeRegistrarPrivate.dir/Unity/unity_0_cxx.cxx:11: /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltypescreator.cpp:38:30: error: reference to 'S_NAME' is ambiguous m_qml.writeStringBinding(S_NAME, collector.className); ^ /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltyperegistrarconstants_p.h:110:36: note: candidate found by name lookup is 'Constants::MetatypesDotJson::S_NAME' static constexpr QLatin1StringView S_NAME { "name" }; ^ /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltyperegistrarconstants_p.h:58:36: note: candidate found by name lookup is 'Constants::DotQmltypes::S_NAME' static constexpr QLatin1StringView S_NAME { "name" }; ^ In file included from /home/marc/Qt/qt5-build-clang/qtdeclarative/src/qmltyperegistrar/CMakeFiles/QmlTypeRegistrarPrivate.dir/Unity/unity_0_cxx.cxx:11: /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltypescreator.cpp:44:34: error: reference to 'S_DEFAULT_PROPERTY' is ambiguous m_qml.writeStringBinding(S_DEFAULT_PROPERTY, collector.defaultProp); ^ /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltyperegistrarconstants_p.h:93:36: note: candidate found by name lookup is 'Constants::MetatypesDotJson::S_DEFAULT_PROPERTY' static constexpr QLatin1StringView S_DEFAULT_PROPERTY { "DefaultProperty" }; ^ /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltyperegistrarconstants_p.h:32:36: note: candidate found by name lookup is 'Constants::DotQmltypes::S_DEFAULT_PROPERTY' static constexpr QLatin1StringView S_DEFAULT_PROPERTY { "defaultProperty" }; ^ In file included from /home/marc/Qt/qt5-build-clang/qtdeclarative/src/qmltyperegistrar/CMakeFiles/QmlTypeRegistrarPrivate.dir/Unity/unity_0_cxx.cxx:11: /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltypescreator.cpp:47:34: error: reference to 'S_PARENT_PROPERTY' is ambiguous m_qml.writeStringBinding(S_PARENT_PROPERTY, collector.parentProp); ^ /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltyperegistrarconstants_p.h:114:36: note: candidate found by name lookup is 'Constants::MetatypesDotJson::S_PARENT_PROPERTY' static constexpr QLatin1StringView S_PARENT_PROPERTY { "ParentProperty" }; ^ /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltyperegistrarconstants_p.h:62:36: note: candidate found by name lookup is 'Constants::DotQmltypes::S_PARENT_PROPERTY' static constexpr QLatin1StringView S_PARENT_PROPERTY { "parentProperty" }; ^ In file included from /home/marc/Qt/qt5-build-clang/qtdeclarative/src/qmltyperegistrar/CMakeFiles/QmlTypeRegistrarPrivate.dir/Unity/unity_0_cxx.cxx:11: /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltypescreator.cpp:63:35: error: reference to 'S_EXTENSION_IS_NAMESPACE' is ambiguous m_qml.writeBooleanBinding(S_EXTENSION_IS_NAMESPACE, true); ^ /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltyperegistrarconstants_p.h:143:36: note: candidate found by name lookup is 'Constants::MetatypesDotJson::Qml::S_EXTENSION_IS_NAMESPACE' static constexpr QLatin1StringView S_EXTENSION_IS_NAMESPACE { "QML.ExtensionIsNamespace" }; ^ /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltyperegistrarconstants_p.h:38:36: note: candidate found by name lookup is 'Constants::DotQmltypes::S_EXTENSION_IS_NAMESPACE' static constexpr QLatin1StringView S_EXTENSION_IS_NAMESPACE { "extensionIsNamespace" }; ^ In file included from /home/marc/Qt/qt5-build-clang/qtdeclarative/src/qmltyperegistrar/CMakeFiles/QmlTypeRegistrarPrivate.dir/Unity/unity_0_cxx.cxx:11: /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltypescreator.cpp:66:38: error: reference to 'S_INTERFACES' is ambiguous m_qml.writeStringListBinding(S_INTERFACES, collector.implementsInterfaces); ^ /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltyperegistrarconstants_p.h:102:36: note: candidate found by name lookup is 'Constants::MetatypesDotJson::S_INTERFACES' static constexpr QLatin1StringView S_INTERFACES { "interfaces" }; ^ /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltyperegistrarconstants_p.h:43:36: note: candidate found by name lookup is 'Constants::DotQmltypes::S_INTERFACES' static constexpr QLatin1StringView S_INTERFACES { "interfaces" }; ^ In file included from /home/marc/Qt/qt5-build-clang/qtdeclarative/src/qmltyperegistrar/CMakeFiles/QmlTypeRegistrarPrivate.dir/Unity/unity_0_cxx.cxx:11: /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltypescreator.cpp:125:35: error: reference to 'S_HAS_CUSTOM_PARSER' is ambiguous m_qml.writeBooleanBinding(S_HAS_CUSTOM_PARSER, true); ^ /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltyperegistrarconstants_p.h:145:36: note: candidate found by name lookup is 'Constants::MetatypesDotJson::Qml::S_HAS_CUSTOM_PARSER' static constexpr QLatin1StringView S_HAS_CUSTOM_PARSER { "QML.HasCustomParser" }; ^ /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltyperegistrarconstants_p.h:40:36: note: candidate found by name lookup is 'Constants::DotQmltypes::S_HAS_CUSTOM_PARSER' static constexpr QLatin1StringView S_HAS_CUSTOM_PARSER { "hasCustomParser" }; ^ In file included from /home/marc/Qt/qt5-build-clang/qtdeclarative/src/qmltyperegistrar/CMakeFiles/QmlTypeRegistrarPrivate.dir/Unity/unity_0_cxx.cxx:11: /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltypescreator.cpp:200:30: error: reference to 'S_TYPE' is ambiguous m_qml.writeStringBinding(S_TYPE, type); ^ /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltyperegistrarconstants_p.h:130:36: note: candidate found by name lookup is 'Constants::MetatypesDotJson::S_TYPE' static constexpr QLatin1StringView S_TYPE { "type" }; ^ /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltyperegistrarconstants_p.h:72:36: note: candidate found by name lookup is 'Constants::DotQmltypes::S_TYPE' static constexpr QLatin1StringView S_TYPE { "type" }; ^ In file included from /home/marc/Qt/qt5-build-clang/qtdeclarative/src/qmltyperegistrar/CMakeFiles/QmlTypeRegistrarPrivate.dir/Unity/unity_0_cxx.cxx:11: /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltypescreator.cpp:214:32: error: reference to 'S_PROPERTY' is ambiguous m_qml.writeStartObject(S_PROPERTY); ^ /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltyperegistrarconstants_p.h:117:36: note: candidate found by name lookup is 'Constants::MetatypesDotJson::S_PROPERTY' static constexpr QLatin1StringView S_PROPERTY { "property" }; ^ /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltyperegistrarconstants_p.h:64:36: note: candidate found by name lookup is 'Constants::DotQmltypes::S_PROPERTY' static constexpr QLatin1StringView S_PROPERTY { "Property" }; ^ In file included from /home/marc/Qt/qt5-build-clang/qtdeclarative/src/qmltyperegistrar/CMakeFiles/QmlTypeRegistrarPrivate.dir/Unity/unity_0_cxx.cxx:11: /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltypescreator.cpp:215:34: error: reference to 'S_NAME' is ambiguous m_qml.writeStringBinding(S_NAME, name); ^ /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltyperegistrarconstants_p.h:110:36: note: candidate found by name lookup is 'Constants::MetatypesDotJson::S_NAME' static constexpr QLatin1StringView S_NAME { "name" }; ^ /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltyperegistrarconstants_p.h:58:36: note: candidate found by name lookup is 'Constants::DotQmltypes::S_NAME' static constexpr QLatin1StringView S_NAME { "name" }; ^ In file included from /home/marc/Qt/qt5-build-clang/qtdeclarative/src/qmltyperegistrar/CMakeFiles/QmlTypeRegistrarPrivate.dir/Unity/unity_0_cxx.cxx:11: /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltypescreator.cpp:218:38: error: reference to 'S_REVISION' is ambiguous m_qml.writeNumberBinding(S_REVISION, it.value().toInteger()); ^ /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltyperegistrarconstants_p.h:124:36: note: candidate found by name lookup is 'Constants::MetatypesDotJson::S_REVISION' static constexpr QLatin1StringView S_REVISION { "revision" }; ^ /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltyperegistrarconstants_p.h:69:36: note: candidate found by name lookup is 'Constants::DotQmltypes::S_REVISION' static constexpr QLatin1StringView S_REVISION { "revision" }; ^ In file included from /home/marc/Qt/qt5-build-clang/qtdeclarative/src/qmltyperegistrar/CMakeFiles/QmlTypeRegistrarPrivate.dir/Unity/unity_0_cxx.cxx:11: /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltypescreator.cpp:224:38: error: reference to 'S_BINDABLE' is ambiguous m_qml.writeStringBinding(S_BINDABLE, toStringView(bindable.value())); ^ /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltyperegistrarconstants_p.h:86:36: note: candidate found by name lookup is 'Constants::MetatypesDotJson::S_BINDABLE' static constexpr QLatin1StringView S_BINDABLE { "bindable" }; ^ /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltyperegistrarconstants_p.h:30:36: note: candidate found by name lookup is 'Constants::DotQmltypes::S_BINDABLE' static constexpr QLatin1StringView S_BINDABLE { "bindable" }; ^ In file included from /home/marc/Qt/qt5-build-clang/qtdeclarative/src/qmltyperegistrar/CMakeFiles/QmlTypeRegistrarPrivate.dir/Unity/unity_0_cxx.cxx:11: /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltypescreator.cpp:227:38: error: reference to 'S_READ' is ambiguous m_qml.writeStringBinding(S_READ, toStringView(read.value())); ^ /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltyperegistrarconstants_p.h:120:36: note: candidate found by name lookup is 'Constants::MetatypesDotJson::S_READ' static constexpr QLatin1StringView S_READ { "read" }; ^ /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltyperegistrarconstants_p.h:66:36: note: candidate found by name lookup is 'Constants::DotQmltypes::S_READ' static constexpr QLatin1StringView S_READ { "read" }; ^ In file included from /home/marc/Qt/qt5-build-clang/qtdeclarative/src/qmltyperegistrar/CMakeFiles/QmlTypeRegistrarPrivate.dir/Unity/unity_0_cxx.cxx:11: /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltypescreator.cpp:230:38: error: reference to 'S_WRITE' is ambiguous m_qml.writeStringBinding(S_WRITE, toStringView(write.value())); ^ /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltyperegistrarconstants_p.h:133:36: note: candidate found by name lookup is 'Constants::MetatypesDotJson::S_WRITE' static constexpr QLatin1StringView S_WRITE { "write" }; ^ /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltyperegistrarconstants_p.h:76:36: note: candidate found by name lookup is 'Constants::DotQmltypes::S_WRITE' static constexpr QLatin1StringView S_WRITE { "write" }; ^ In file included from /home/marc/Qt/qt5-build-clang/qtdeclarative/src/qmltyperegistrar/CMakeFiles/QmlTypeRegistrarPrivate.dir/Unity/unity_0_cxx.cxx:11: /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltypescreator.cpp:233:38: error: reference to 'S_RESET' is ambiguous m_qml.writeStringBinding(S_RESET, toStringView(reset.value())); ^ /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltyperegistrarconstants_p.h:122:36: note: candidate found by name lookup is 'Constants::MetatypesDotJson::S_RESET' static constexpr QLatin1StringView S_RESET { "reset" }; ^ /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltyperegistrarconstants_p.h:68:36: note: candidate found by name lookup is 'Constants::DotQmltypes::S_RESET' static constexpr QLatin1StringView S_RESET { "reset" }; ^ In file included from /home/marc/Qt/qt5-build-clang/qtdeclarative/src/qmltyperegistrar/CMakeFiles/QmlTypeRegistrarPrivate.dir/Unity/unity_0_cxx.cxx:11: /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltypescreator.cpp:236:38: error: reference to 'S_NOTIFY' is ambiguous m_qml.writeStringBinding(S_NOTIFY, toStringView(notify.value())); ^ /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltyperegistrarconstants_p.h:112:36: note: candidate found by name lookup is 'Constants::MetatypesDotJson::S_NOTIFY' static constexpr QLatin1StringView S_NOTIFY { "notify" }; ^ /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltyperegistrarconstants_p.h:60:36: note: candidate found by name lookup is 'Constants::DotQmltypes::S_NOTIFY' static constexpr QLatin1StringView S_NOTIFY { "notify" }; ^ In file included from /home/marc/Qt/qt5-build-clang/qtdeclarative/src/qmltyperegistrar/CMakeFiles/QmlTypeRegistrarPrivate.dir/Unity/unity_0_cxx.cxx:11: /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltypescreator.cpp:239:38: error: reference to 'S_INDEX' is ambiguous m_qml.writeNumberBinding(S_INDEX, index.value().toInteger()); ^ /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltyperegistrarconstants_p.h:100:36: note: candidate found by name lookup is 'Constants::MetatypesDotJson::S_INDEX' static constexpr QLatin1StringView S_INDEX { "index" }; ^ /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltyperegistrarconstants_p.h:42:36: note: candidate found by name lookup is 'Constants::DotQmltypes::S_INDEX' static constexpr QLatin1StringView S_INDEX { "index" }; ^ In file included from /home/marc/Qt/qt5-build-clang/qtdeclarative/src/qmltyperegistrar/CMakeFiles/QmlTypeRegistrarPrivate.dir/Unity/unity_0_cxx.cxx:11: /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltypescreator.cpp:244:21: error: reference to 'S_PRIVATE_CLASS' is ambiguous S_PRIVATE_CLASS, convertPrivateClassToUsableForm(privateClass.value())); ^ /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltyperegistrarconstants_p.h:115:36: note: candidate found by name lookup is 'Constants::MetatypesDotJson::S_PRIVATE_CLASS' static constexpr QLatin1StringView S_PRIVATE_CLASS { "privateClass" }; ^ /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltyperegistrarconstants_p.h:63:36: note: candidate found by name lookup is 'Constants::DotQmltypes::S_PRIVATE_CLASS' static constexpr QLatin1StringView S_PRIVATE_CLASS { "privateClass" }; ^ In file included from /home/marc/Qt/qt5-build-clang/qtdeclarative/src/qmltyperegistrar/CMakeFiles/QmlTypeRegistrarPrivate.dir/Unity/unity_0_cxx.cxx:11: /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltypescreator.cpp:283:34: error: reference to 'S_NAME' is ambiguous m_qml.writeStringBinding(S_NAME, name); ^ /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltyperegistrarconstants_p.h:110:36: note: candidate found by name lookup is 'Constants::MetatypesDotJson::S_NAME' static constexpr QLatin1StringView S_NAME { "name" }; ^ /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltyperegistrarconstants_p.h:58:36: note: candidate found by name lookup is 'Constants::DotQmltypes::S_NAME' static constexpr QLatin1StringView S_NAME { "name" }; ^ In file included from /home/marc/Qt/qt5-build-clang/qtdeclarative/src/qmltyperegistrar/CMakeFiles/QmlTypeRegistrarPrivate.dir/Unity/unity_0_cxx.cxx:11: /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltypescreator.cpp:285:38: error: reference to 'S_REVISION' is ambiguous m_qml.writeNumberBinding(S_REVISION, revision.value().toInteger()); ^ /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltyperegistrarconstants_p.h:124:36: note: candidate found by name lookup is 'Constants::MetatypesDotJson::S_REVISION' static constexpr QLatin1StringView S_REVISION { "revision" }; ^ /home/marc/Qt/qt5/qtdeclarative/src/qmltyperegistrar/qqmltyperegistrarconstants_p.h:69:36: note: candidate found by name lookup is 'Constants::DotQmltypes::S_REVISION' static constexpr QLatin1StringView S_REVISION { "revision" }; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. ninja: build stopped: cannot make progress due to previous errors. marc@nobby:~/Qt/qt5-build-clang$