Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#6418 closed Bugs (fixed)

error: 'X(X&&)' cannot be defaulted

Reported by: viboes Owned by: viboes
Milestone: To Be Determined Component: thread
Version: Boost Development Trunk Severity: Problem
Keywords: 1.49 Cc:

Description

Test output: Sandia-darwin-4.4_0x - thread - test_6174 / darwin-4.4_0x
Rev 76549 / Tue, 17 Jan 2012 11:21:19 +0000
Report Time: Tue, 17 Jan 2012 15:54:48 +0000

Compile [2012-01-17 12:21:24 UTC]: fail

    "/opt/local/bin/g++-mp-4.4"  -ftemplate-depth-128 -std=gnu++0x -O0 -fno-inline -Wall -g -dynamic -gdwarf-2 -fexceptions -fPIC  -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1  -I".." -c -o "/Volumes/scratch/kbelco/boost/results/boost/bin.v2/libs/thread/test/test_6174.test/darwin-4.4_0x/debug/threading-multi/test_6174.o" "../libs/thread/test/test_6174.cpp"

../libs/thread/test/test_6174.cpp:12: error: 'MovableButNonCopyable::MovableButNonCopyable(MovableButNonCopyable&&)' cannot be defaulted
../libs/thread/test/test_6174.cpp:13: error: 'MovableButNonCopyable& MovableButNonCopyable::operator=(MovableButNonCopyable&&)' cannot be defaulted

Change History (2)

comment:1 by viboes, 11 years ago

Resolution: fixed
Status: newclosed

(In [76558]) Thread: Try to fix #6418 - error: 'X(X&&)' cannot be defaulted

comment:2 by viboes, 10 years ago

Component: Nonethread
Note: See TracTickets for help on using tickets.