Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
5.3.0 Beta1
-
None
-
OSX 10.6.8, XCode 3.2, MacOSX10.6.sdk
Description
/Developer/usr/bin/g++ -c -pipe -fconstant-cfstrings -g -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_NO_URL_CAST_FROM_STRING -DQT_NO_INTEGER_EVENT_COORDINATES -DQT_BUILD_QML_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DWTF_EXPORT_PRIVATE= -DJS_EXPORT_PRIVATE= -DWTFReportAssertionFailure=qmlWTFReportAssertionFailure -DWTFReportBacktrace=qmlWTFReportBacktrace -DWTFInvokeCrashHook=qmlWTFInvokeCrashHook -DENABLE_LLINT=0 -DENABLE_DFG_JIT=0 -DENABLE_DFG_JIT_UTILITY_METHODS=1 -DENABLE_JIT_CONSTANT_BLINDING=0 -DBUILDING_QT__ -DWTF_USE_UDIS86=0 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NETWORK_LIB -DQT_CORE_LIB -I/Users/harrison37/Work/qt-build/qt-everywhere-opensource-src-5.3.0-beta/qtbase/mkspecs/macx-g++ -I. -I../../include -I../../include/QtQml -I../../include/QtQml/5.3.0 -I../../include/QtQml/5.3.0/QtQml -Icompiler -I. -I../3rdparty/masm/jit -I../3rdparty/masm/assembler -I../3rdparty/masm/runtime -I../3rdparty/masm/wtf -I../3rdparty/masm/stubs -I../3rdparty/masm/stubs/wtf -I../3rdparty/masm -I../3rdparty/masm/disassembler -I../3rdparty/masm/disassembler/udis86 -Ijit -I. -Ijsruntime -I. -I../3rdparty/double-conversion -Idebugger -Ianimations -I/Users/harrison37/Work/qt-build/qt-everywhere-opensource-src-5.3.0-beta/qtbase/lib/QtNetwork.framework/Versions/5/Headers -I/Users/harrison37/Work/qt-build/qt-everywhere-opensource-src-5.3.0-beta/qtbase/lib/QtCore.framework/Versions/5/Headers -I/Users/harrison37/Work/qt-build/qt-everywhere-opensource-src-5.3.0-beta/qtbase/lib/QtCore.framework/Versions/5/Headers/5.3.0 -I/Users/harrison37/Work/qt-build/qt-everywhere-opensource-src-5.3.0-beta/qtbase/lib/QtCore.framework/Versions/5/Headers/5.3.0/QtCore -I.moc/debug -F/Users/harrison37/Work/qt-build/qt-everywhere-opensource-src-5.3.0-beta/qtbase/lib -o .obj/debug/qqmllistaccessor.o util/qqmllistaccessor.cpp
In file included from ../../include/QtQml/5.3.0/QtQml/private/../../../../../src/qml/jsruntime/qv4functionobject_p.h:48,
from ../../include/QtQml/5.3.0/QtQml/private/../../../../../src/qml/jsruntime/qv4script_p.h:46,
from ../../include/QtQml/5.3.0/QtQml/private/qv4script_p.h:1,
from ../../include/QtQml/5.3.0/QtQml/private/../../../../../src/qml/qml/qqmltypeloader_p.h:73,
from ../../include/QtQml/5.3.0/QtQml/private/../../../../../src/qml/qml/qqmlengine_p.h:58,
from ../../include/QtQml/5.3.0/QtQml/private/qqmlengine_p.h:1,
from util/qqmllistaccessor.cpp:50:
../../include/QtQml/5.3.0/QtQml/private/../../../../../src/qml/jsruntime/qv4property_p.h: In member function ‘void QV4::Object::insertMember(QV4::StringRef, QV4::ValueRef, QV4::PropertyAttributes)’:
../../include/QtQml/5.3.0/QtQml/private/../../../../../src/qml/jsruntime/qv4property_p.h:101: error: ‘QV4::Property::Property(const QV4::Property&)’ is private
../../include/QtQml/5.3.0/QtQml/private/../../../../../src/qml/jsruntime/qv4object_p.h:176: error: within this context
make[4]: *** [.obj/debug/qqmllistaccessor.o] Error 1
Occurs when:
qv4object_p.h:
void insertMember(const StringRef s, const ValueRef v, PropertyAttributes attributes = Attr_Data)
{ [176] insertMember(s, Property(*v), attributes); }Trys to call private constructor:
qv4property_p.h:
private:
[101] Property(const Property &);
Property &operator=(const Property &);
};
Attachments
Issue Links
- is replaced by
-
QTBUG-37901 Warning: copy constructor for class 'QV4::Property' when binding a reference to a temporary; was private [-Wbind-to-temporary-copy]
- Closed