Subject: [Boost-bugs] [Boost C++ Libraries] #6009: boost::statechart example compile error using xcode 4.2 with llvm-gcc 4.2
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-10-11 10:17:20
#6009: boost::statechart example compile error using xcode 4.2 with llvm-gcc 4.2
------------------------------+---------------------------------------------
Reporter: ufosky@⦠| Owner: andreas_huber69
Type: Bugs | Status: new
Milestone: To Be Determined | Component: statechart
Version: Boost 1.47.0 | Severity: Problem
Keywords: rebind |
------------------------------+---------------------------------------------
The error: no class template named 'rebind' in 'struct Camera'
CompileC /Users/ufo/Library/Developer/Xcode/DerivedData/SingalAndState-
edshecrhghdrdvfawtpttjnzkhhv/Build/Intermediates/SingalAndState.build
/Debug-iphonesimulator/SingalAndState.build/Objects-
normal/i386/USDetailViewController.o
SingalAndState/USDetailViewController.mm normal i386 objective-c++
com.apple.compilers.llvmgcc42
cd /Users/ufo/Desktop/projects/ufosky/test2/SingalAndState
setenv LANG en_US.US-ASCII
setenv PATH
"/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-
gcc-4.2 -x objective-c++ -arch i386 -fmessage-length=0 -pipe -Wno-
trigraphs -fpascal-strings -O0 -Wmissing-prototypes -Wreturn-type
-Wunused-variable -DDEBUG=1 -isysroot
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk
-fexceptions -fasm-blocks -mmacosx-version-min=10.6 -gdwarf-2
-fvisibility-inlines-hidden -fobjc-abi-version=2 -fobjc-legacy-dispatch
-D__IPHONE_OS_VERSION_MIN_REQUIRED=30200 -iquote
/Users/ufo/Library/Developer/Xcode/DerivedData/SingalAndState-
edshecrhghdrdvfawtpttjnzkhhv/Build/Intermediates/SingalAndState.build
/Debug-iphonesimulator/SingalAndState.build/SingalAndState-generated-
files.hmap -I/Users/ufo/Library/Developer/Xcode/DerivedData
/SingalAndState-
edshecrhghdrdvfawtpttjnzkhhv/Build/Intermediates/SingalAndState.build
/Debug-iphonesimulator/SingalAndState.build/SingalAndState-own-target-
headers.hmap -I/Users/ufo/Library/Developer/Xcode/DerivedData
/SingalAndState-
edshecrhghdrdvfawtpttjnzkhhv/Build/Intermediates/SingalAndState.build
/Debug-iphonesimulator/SingalAndState.build/SingalAndState-all-target-
headers.hmap -iquote /Users/ufo/Library/Developer/Xcode/DerivedData
/SingalAndState-
edshecrhghdrdvfawtpttjnzkhhv/Build/Intermediates/SingalAndState.build
/Debug-iphonesimulator/SingalAndState.build/SingalAndState-project-
headers.hmap -I/Users/ufo/Library/Developer/Xcode/DerivedData
/SingalAndState-edshecrhghdrdvfawtpttjnzkhhv/Build/Products/Debug-
iphonesimulator/include -I/Users/ufo/Library/Developer/Xcode/DerivedData
/SingalAndState-
edshecrhghdrdvfawtpttjnzkhhv/Build/Intermediates/SingalAndState.build
/Debug-iphonesimulator/SingalAndState.build/DerivedSources/i386
-I/Users/ufo/Library/Developer/Xcode/DerivedData/SingalAndState-
edshecrhghdrdvfawtpttjnzkhhv/Build/Intermediates/SingalAndState.build
/Debug-iphonesimulator/SingalAndState.build/DerivedSources
-F/Users/ufo/Library/Developer/Xcode/DerivedData/SingalAndState-
edshecrhghdrdvfawtpttjnzkhhv/Build/Products/Debug-iphonesimulator -include
/Users/ufo/Library/Developer/Xcode/DerivedData/SingalAndState-
edshecrhghdrdvfawtpttjnzkhhv/Build/PrecompiledHeaders/SingalAndState-
Prefix-afgmbkmkehysgxbaffybujibddfp/SingalAndState-Prefix.pch -c
/Users/ufo/Desktop/projects/ufosky/test2/SingalAndState/SingalAndState/USDetailViewController.mm
-o /Users/ufo/Library/Developer/Xcode/DerivedData/SingalAndState-
edshecrhghdrdvfawtpttjnzkhhv/Build/Intermediates/SingalAndState.build
/Debug-iphonesimulator/SingalAndState.build/Objects-
normal/i386/USDetailViewController.o
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk/System/Library/Frameworks/boost.framework/Headers/detail/allocator_utilities.hpp:
In instantiation of
'boost::detail::allocator::rebinder<Camera>::result<boost::intrusive_ptr<boost::statechart::detail::leaf_state<Camera,
NotShooting> > >':
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk/System/Library/Frameworks/boost.framework/Headers/detail/allocator_utilities.hpp:158:
instantiated from
'boost::detail::allocator::compliant_allocator_rebind_to<Camera,
boost::intrusive_ptr<boost::statechart::detail::leaf_state<Camera,
NotShooting> > >'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk/System/Library/Frameworks/boost.framework/Headers/mpl/eval_if.hpp:60:
instantiated from 'boost::mpl::eval_if_c<false,
boost::detail::allocator::partial_std_allocator_rebind_to<Camera,
boost::intrusive_ptr<boost::statechart::detail::leaf_state<Camera,
NotShooting> > >,
boost::detail::allocator::compliant_allocator_rebind_to<Camera,
boost::intrusive_ptr<boost::statechart::detail::leaf_state<Camera,
NotShooting> > > >'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk/System/Library/Frameworks/boost.framework/Headers/detail/allocator_utilities.hpp:170:
instantiated from 'boost::detail::allocator::rebind_to<Camera,
boost::intrusive_ptr<boost::statechart::detail::leaf_state<Camera,
NotShooting> > >'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk/System/Library/Frameworks/boost.framework/Headers/statechart/state_machine.hpp:878:
instantiated from 'boost::statechart::detail::reaction_result
boost::statechart::state_machine<MostDerived, InitialState, Allocator,
ExceptionTranslator>::send_event(const boost::statechart::event_base&)
[with MostDerived = Camera, InitialState = NotShooting, Allocator =
std::allocator<void>, ExceptionTranslator =
boost::statechart::null_exception_translator]'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk/System/Library/Frameworks/boost.framework/Headers/statechart/state_machine.hpp:910:
instantiated from 'void boost::statechart::state_machine<MostDerived,
InitialState, Allocator, ExceptionTranslator>::process_queued_events()
[with MostDerived = Camera, InitialState = NotShooting, Allocator =
std::allocator<void>, ExceptionTranslator =
boost::statechart::null_exception_translator]'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk/System/Library/Frameworks/boost.framework/Headers/statechart/state_machine.hpp:256:
instantiated from 'void boost::statechart::state_machine<MostDerived,
InitialState, Allocator, ExceptionTranslator>::initiate() [with
MostDerived = Camera, InitialState = NotShooting, Allocator =
std::allocator<void>, ExceptionTranslator =
boost::statechart::null_exception_translator]'
/Users/ufo/Desktop/projects/ufosky/test2/SingalAndState/SingalAndState/USDetailViewController.mm:110:
instantiated from here
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk/System/Library/Frameworks/boost.framework/Headers/detail/allocator_utilities.hpp:149:
error: no class template named 'rebind' in 'struct Camera'
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6009> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:07 UTC