Boost logo

Boost :

Subject: Re: [boost] Boost statechart viewer
From: Petr Šilhavík (silhape2_at_[hidden])
Date: 2011-05-19 11:35:51


Dne 19.5.2011 15:02, Andreas Huber napsal(a):
> Thanks, the list of libraries you link against was crucial in getting this to
> compile.
>
> (For anyone wanting to reproduce this: In VS2010 SP1, I've created a Win32
> Console Application project with default settings, added visualizer.cpp as the
> only source file, added the include directories for llvm and clang, added
> the .lib files Petr lists above as Additional Dependencies and was able to
> compile everything in Debug mode.)
>
> Now, when I use the viewer on the examples/main.cpp with the following command
> line:
>
> scv main.cpp -I ../../boost>scv.log 2>&1
>
> I'm getting the output below. I don't currently see why this happens.
> Apparently, clang found the VS2010 header files without me telling it where
> they are. I guess the central question is:
>
> Is clang supposed to compile VS2010 headers without any problems or did I just
> get lucky to come even this far?
>
> I'll investigate this a little further tomorrow.
>
> Regards,
>
> Andreas
>
> [scv.log follows]
> In file included from main.cpp:2:
> In file included from ./machine_header.h:1:
> In file included from ../../boost/boost/statechart/state_machine.hpp:11:
> In file included from ../../boost/boost/statechart/event.hpp:11:
> In file included from ../../boost/boost/statechart/event_base.hpp:11:
> In file included from ../../boost/boost/statechart/detail/rtti_policy.hpp:11:
> In file included from ../../boost/boost/assert.hpp:82:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/iostream:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/istream:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/ostream:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/ios:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xlocnum:10:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/streambuf:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xiosbase:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xlocale:8:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/stdexcept:7:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xstring:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xmemory:8:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xutility:8:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/utility:7:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/iosfwd:11:
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/crtdbg.h
> (1059) : warning: 'operator delete[]' is missing exception
> specification 'throw()'
> void __CRTDECL operator delete[](void *);
> ^
> throw()
> In file included from main.cpp:2:
> In file included from ./machine_header.h:1:
> In file included from ../../boost/boost/statechart/state_machine.hpp:11:
> In file included from ../../boost/boost/statechart/event.hpp:11:
> In file included from ../../boost/boost/statechart/event_base.hpp:11:
> In file included from ../../boost/boost/statechart/detail/rtti_policy.hpp:11:
> In file included from ../../boost/boost/assert.hpp:82:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/iostream:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/istream:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/ostream:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/ios:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xlocnum:10:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/streambuf:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xiosbase:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xlocale:8:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/stdexcept:7:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xstring:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xmemory:7:
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/new(77) :
> note: previous declaration is here
> void __CRTDECL operator delete[](void *) _THROW0(); // delete allocated
> array
> ^
> In file included from main.cpp:2:
> In file included from ./machine_header.h:1:
> In file included from ../../boost/boost/statechart/state_machine.hpp:11:
> In file included from ../../boost/boost/statechart/event.hpp:11:
> In file included from ../../boost/boost/statechart/event_base.hpp:11:
> In file included from ../../boost/boost/statechart/detail/rtti_policy.hpp:11:
> In file included from ../../boost/boost/assert.hpp:82:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/iostream:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/istream:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/ostream:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/ios:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xlocnum:10:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/streambuf:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xiosbase:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xlocale:8:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/stdexcept:7:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xstring:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xmemory:8:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xutility:8:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/utility:9:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/type_traits:7:
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/xtr1common
> (355) : warning: rvalue references are a C++0x extension
> struct _Remove_reference<_Ty&&>
> ^
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/xtr1common
> (368) : warning: rvalue references are a C++0x extension
> struct _Remove_rvalue_reference<_Ty&&>
> ^
> In file included from main.cpp:2:
> In file included from ./machine_header.h:1:
> In file included from ../../boost/boost/statechart/state_machine.hpp:11:
> In file included from ../../boost/boost/statechart/event.hpp:11:
> In file included from ../../boost/boost/statechart/event_base.hpp:11:
> In file included from ../../boost/boost/statechart/detail/rtti_policy.hpp:11:
> In file included from ../../boost/boost/assert.hpp:82:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/iostream:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/istream:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/ostream:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/ios:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xlocnum:10:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/streambuf:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xiosbase:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xlocale:8:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/stdexcept:7:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xstring:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xmemory:8:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xutility:8:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/utility:9:
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/type_traits
> (243) : warning: rvalue references are a C++0x extension
> typedef _Ty&& type;
> ^
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/type_traits
> (427) : warning: rvalue references are a C++0x extension
> struct is_rvalue_reference<_Ty&&>
> ^
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/type_traits
> (766) : warning: '&&' within '||'
> : _Cat_base<is_floating_point<_Ty>::value || is_integral<_Ty>::value
> ^ ~~~~~~~~~~~~~~~~~~~~~~~
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/type_traits
> (766) : note: place parentheses around the '&&' expression to silence this
> warning
> : _Cat_base<is_floating_point<_Ty>::value || is_integral<_Ty>::value
> ^
> In file included from main.cpp:2:
> In file included from ./machine_header.h:1:
> In file included from ../../boost/boost/statechart/state_machine.hpp:11:
> In file included from ../../boost/boost/statechart/event.hpp:11:
> In file included from ../../boost/boost/statechart/event_base.hpp:11:
> In file included from ../../boost/boost/statechart/detail/rtti_policy.hpp:11:
> In file included from ../../boost/boost/assert.hpp:82:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/iostream:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/istream:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/ostream:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/ios:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xlocnum:10:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/streambuf:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xiosbase:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xlocale:8:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/stdexcept:7:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xstring:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xmemory:8:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xutility:8:
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/utility(77) :
> warning: rvalue references are a C++0x extension
> _Ty&& forward(typename identity<_Ty>::type& _Arg)
> ^
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/utility(79) :
> warning: rvalue references are a C++0x extension
> return ((_Ty&&)_Arg);
> ^
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/utility(84) :
> warning: rvalue references are a C++0x extension
> typename tr1::_Remove_reference<_Ty>::_Type&&
> ^
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/utility(85) :
> warning: rvalue references are a C++0x extension
> move(_Ty&& _Arg)
> ^
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/utility(87) :
> warning: rvalue references are a C++0x extension
> return ((typename tr1::_Remove_reference<_Ty>::_Type&&)_Arg);
> ^
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/utility(92) :
> warning: rvalue references are a C++0x extension
> typename tr1::_Remove_reference<_Ty>::_Type&&
> ^
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/utility(93) :
> warning: rvalue references are a C++0x extension
> _Move(_Ty&& _Arg)
> ^
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/utility(95) :
> warning: rvalue references are a C++0x extension
> return ((typename tr1::_Remove_reference<_Ty>::_Type&&)_Arg);
> ^
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/utility(142) :
> warning: rvalue references are a C++0x extension
> _Pair_base(_Ty1x&& _Val1, _Ty2x&& _Val2)
> ^
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/utility(142) :
> warning: rvalue references are a C++0x extension
> _Pair_base(_Ty1x&& _Val1, _Ty2x&& _Val2)
> ^
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/utility(148) :
> warning: rvalue references are a C++0x extension
> _Pair_base(const _Ty1x& _Val1, _Ty2x&& _Val2)
> ^
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/utility(153) :
> warning: rvalue references are a C++0x extension
> _Pair_base(_Ty1x&& _Val1, const _Ty2x& _Val2)
> ^
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/utility(160) :
> warning: rvalue references are a C++0x extension
> _Pair_base(_Other1&& _Val1, _Other2&& _Val2)
> ^
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/utility(160) :
> warning: rvalue references are a C++0x extension
> _Pair_base(_Other1&& _Val1, _Other2&& _Val2)
> ^
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/utility(224) :
> warning: rvalue references are a C++0x extension
> pair(_Ty1x&& _Val1, _Ty2x&& _Val2)
> ^
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/utility(224) :
> warning: rvalue references are a C++0x extension
> pair(_Ty1x&& _Val1, _Ty2x&& _Val2)
> ^
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/utility(230) :
> warning: rvalue references are a C++0x extension
> pair(const _Ty1x& _Val1, _Ty2x&& _Val2)
> ^
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/utility(236) :
> warning: rvalue references are a C++0x extension
> pair(_Ty1x&& _Val1, const _Ty2x& _Val2)
> ^
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/utility(244) :
> warning: rvalue references are a C++0x extension
> pair(_Other1&& _Val1, _Other2&& _Val2)
> ^
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/utility(244) :
> warning: rvalue references are a C++0x extension
> pair(_Other1&& _Val1, _Other2&& _Val2)
> ^
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/utility(252) :
> warning: rvalue references are a C++0x extension
> pair(pair<_Other1, _Other2>&& _Right)
> ^
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/utility(258) :
> warning: rvalue references are a C++0x extension
> pair& operator=(pair<_Ty1, _Ty2>&& _Right)
> ^
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/utility(265) :
> warning: rvalue references are a C++0x extension
> void swap(_Myt&& _Right)
> ^
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/utility(286) :
> warning: rvalue references are a C++0x extension
> void swap(pair<_Ty1, _Ty2>& _Left, pair<_Ty1, _Ty2>&& _Right)
> ^
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/utility(294) :
> warning: rvalue references are a C++0x extension
> void swap(pair<_Ty1, _Ty2>&& _Left, pair<_Ty1, _Ty2>& _Right)
> ^
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/utility(321) :
> warning: '&&' within '||'
> return (_Left.first< _Right.first ||
> ^
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/utility(321) :
> note: place parentheses around the '&&' expression to silence this warning
> return (_Left.first< _Right.first ||
> ^
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/utility(355) :
> warning: rvalue references are a C++0x extension
> make_pair(_Ty1&& _Val1, _Ty2&& _Val2)
> ^
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/utility(355) :
> warning: rvalue references are a C++0x extension
> make_pair(_Ty1&& _Val1, _Ty2&& _Val2)
> ^
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/utility(367) :
> warning: rvalue references are a C++0x extension
> make_pair(const _Ty1& _Val1, _Ty2&& _Val2)
> ^
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/utility(379) :
> warning: rvalue references are a C++0x extension
> make_pair(_Ty1&& _Val1, const _Ty2& _Val2)
> ^
> In file included from main.cpp:2:
> In file included from ./machine_header.h:1:
> In file included from ../../boost/boost/statechart/state_machine.hpp:11:
> In file included from ../../boost/boost/statechart/event.hpp:11:
> In file included from ../../boost/boost/statechart/event_base.hpp:11:
> In file included from ../../boost/boost/statechart/detail/rtti_policy.hpp:11:
> In file included from ../../boost/boost/assert.hpp:82:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/iostream:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/istream:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/ostream:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/ios:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xlocnum:10:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/streambuf:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xiosbase:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xlocale:8:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/stdexcept:7:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xstring:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xmemory:8:
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/xutility
> (3156) : warning: '&&' within '||'
> return (_Ans< 0 || _Ans == 0&& _Num1< _Num2);
> ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/xutility
> (3156) : note: place parentheses around the '&&' expression to silence this
> warning
> return (_Ans< 0 || _Ans == 0&& _Num1< _Num2);
> ^
> ( )
> In file included from main.cpp:2:
> In file included from ./machine_header.h:1:
> In file included from ../../boost/boost/statechart/state_machine.hpp:11:
> In file included from ../../boost/boost/statechart/event.hpp:11:
> In file included from ../../boost/boost/statechart/event_base.hpp:11:
> In file included from ../../boost/boost/statechart/detail/rtti_policy.hpp:11:
> In file included from ../../boost/boost/assert.hpp:82:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/iostream:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/istream:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/ostream:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/ios:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xlocnum:10:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/streambuf:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xiosbase:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xlocale:8:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/stdexcept:7:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xstring:6:
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/xmemory(45) :
> warning: rvalue references are a C++0x extension
> void _Construct(_Ty1 _FARQ *_Ptr, _Ty2&& _Val)
> ^
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/xmemory(200) :
> warning: rvalue references are a C++0x extension
> void construct(pointer _Ptr, _Ty&& _Val)
> ^
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/xmemory(206) :
> warning: rvalue references are a C++0x extension
> void construct(pointer _Ptr, _Other&& _Val)
> ^
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/xmemory(278) :
> warning: rvalue references are a C++0x extension
> void _Cons_val(_Alloc& _Alval, _Ty1 *_Pdest, _Ty2&& _Src)
> ^
> In file included from main.cpp:2:
> In file included from ./machine_header.h:1:
> In file included from ../../boost/boost/statechart/state_machine.hpp:11:
> In file included from ../../boost/boost/statechart/event.hpp:11:
> In file included from ../../boost/boost/statechart/event_base.hpp:11:
> In file included from ../../boost/boost/statechart/detail/rtti_policy.hpp:11:
> In file included from ../../boost/boost/assert.hpp:82:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/iostream:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/istream:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/ostream:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/ios:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xlocnum:10:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/streambuf:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xiosbase:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xlocale:8:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/stdexcept:7:
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/xstring(700) :
> warning: rvalue references are a C++0x extension
> basic_string(_Myt&& _Right)
> ^
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/xstring(707) :
> warning: rvalue references are a C++0x extension
> _Myt& operator=(_Myt&& _Right)
> ^
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/xstring(712) :
> warning: rvalue references are a C++0x extension
> _Myt& assign(_Myt&& _Right)
> ^
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/xstring(738) :
> warning: rvalue references are a C++0x extension
> void swap(_Myt&& _Right)
> ^
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/xstring
> (2047) : warning: rvalue references are a C++0x extension
> basic_string<_Elem, _Traits, _Alloc>&& _Right)
> ^
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/xstring
> (2055) : warning: rvalue references are a C++0x extension
> void swap(basic_string<_Elem, _Traits, _Alloc>&& _Left,
> ^
> In file included from main.cpp:2:
> In file included from ./machine_header.h:1:
> In file included from ../../boost/boost/statechart/state_machine.hpp:11:
> In file included from ../../boost/boost/statechart/event.hpp:11:
> In file included from ../../boost/boost/statechart/event_base.hpp:11:
> In file included from ../../boost/boost/statechart/detail/rtti_policy.hpp:11:
> In file included from ../../boost/boost/assert.hpp:82:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/iostream:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/istream:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/ostream:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/ios:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xlocnum:10:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/streambuf:6:
> In file included from C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\include/xiosbase:6:
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include/xlocale(263) :
> error: no type named 'collate' in namespace 'std'
> const _STD collate<_Elem>& _Coll_fac =
> ~~~~ ^
> Input filename: main.cpp
> Output filename: graph.dot
>
> --Diagnostic Info--
> Number of ignored: 0
> Number of notes: 4
> Number of warnings: 47
> Number of errors and fatal errors: 1
>
>
> _______________________________________________
> Unsubscribe& other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Hi Andreas,

I found an error in source files. This error could cause the problem. It
was a problem in finding system header files. Clang needs to use his own
copies that are created during compilation. I forgot to add there
backslashes. I update the files in the repository. Unfortunately this
error couldn't be found during compilation of the program. It is hidden
inside the string.

I think it can help you

Petr


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk