-
Notifications
You must be signed in to change notification settings - Fork 17
Description
Hi there are compile errors:
The source has never been compiled successfully.
Used boost: boost_1_53_0, boost_1_64_0, boost_1_68_0
g++ -c -o DLL430_v3/src/TI/DLL430/EEM/CycleCounter.o DLL430_v3/src/TI/DLL430/EEM/CycleCounter.cpp -fPIC -Os -I./Bios/include -I./HalObjectDb/include -I./DLL430_v3/include -I./DLL430_v3/include/DLL430 -I./DLL430_v3/src -I./DLL430_v3/src/TI/DLL430 -I/projects/bsl430/libMSP430/../boost_1_51_0 -DUNIX -DNDEBUG
In file included from DLL430_v3/src/TI/DLL430/EEM/CycleCounter.h:45,
from DLL430_v3/src/TI/DLL430/EEM/CycleCounter.cpp:39:
./DLL430_v3/src/TI/DLL430/TemplateDeviceDb/MSP430Defaults.h: In constructor ‘TI::DLL430::TemplateDeviceDb::FunctionMappingX::FunctionMappingX()’:
./DLL430_v3/src/TI/DLL430/TemplateDeviceDb/MSP430Defaults.h:131:41: error: ambiguous overload for ‘operator=’ (operand types are ‘TI::DLL430::TemplateDeviceDb::FunctionMappingImpl::FunctionMapping’ {aka ‘std::map<long unsigned int, short unsigned int>’} and ‘boost::assign_detail::generic_list<std::pair<hal_id, hal_id> >’)
131 | (ID_WaitForStorage,ID_WaitForStorageX);
| ^
In file included from /usr/include/c++/9/map:61,
from ./DLL430_v3/include/DLL430/PortInfo.h:46,
from ./DLL430_v3/src/TI/DLL430/IoChannel.h:43,
from ./DLL430_v3/src/TI/DLL430/DeviceInfo.h:48,
from DLL430_v3/src/TI/DLL430/EEM/CycleCounter.cpp:38:
/usr/include/c++/9/bits/stl_map.h:317:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>& std::map<_Key, _Tp, _Compare, _Alloc>::operator=(const std::map<_Key, _Tp, _Compare, _Alloc>&) [with _Key = long unsigned int; _Tp = short unsigned int; _Compare = std::less; _Alloc = std::allocator<std::pair<const long unsigned int, short unsigned int> >]’
317 | operator=(const map&) = default;
| ^~~~~~~~
/usr/include/c++/9/bits/stl_map.h:321:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>& std::map<_Key, _Tp, _Compare, _Alloc>::operator=(std::map<_Key, _Tp, _Compare, _Alloc>&&) [with _Key = long unsigned int; _Tp = short unsigned int; _Compare = std::less; _Alloc = std::allocator<std::pair<const long unsigned int, short unsigned int> >]’
321 | operator=(map&&) = default;
| ^~~~~~~~
/usr/include/c++/9/bits/stl_map.h:335:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>& std::map<_Key, _Tp, _Compare, _Alloc>::operator=(std::initializer_list<std::pair<const _Key, _Tp> >) [with _Key = long unsigned int; _Tp = short unsigned int; _Compare = std::less; _Alloc = std::allocator<std::pair<const long unsigned int, short unsigned int> >]’
335 | operator=(initializer_list<value_type> __l)
| ^~~~~~~~
In file included from DLL430_v3/src/TI/DLL430/EEM/CycleCounter.h:45,
from DLL430_v3/src/TI/DLL430/EEM/CycleCounter.cpp:39:
./DLL430_v3/src/TI/DLL430/TemplateDeviceDb/MSP430Defaults.h: In constructor ‘TI::DLL430::TemplateDeviceDb::FunctionMappingXv2::FunctionMappingXv2()’:
./DLL430_v3/src/TI/DLL430/TemplateDeviceDb/MSP430Defaults.h:155:41: error: ambiguous overload for ‘operator=’ (operand types are ‘TI::DLL430::TemplateDeviceDb::FunctionMappingImpl::FunctionMapping’ {aka ‘std::map<long unsigned int, short unsigned int>’} and ‘boost::assign_detail::generic_list<std::pair<hal_id, hal_id> >’)
155 | (ID_WaitForStorage,ID_WaitForStorageX);
| ^
In file included from /usr/include/c++/9/map:61,
from ./DLL430_v3/include/DLL430/PortInfo.h:46,
from ./DLL430_v3/src/TI/DLL430/IoChannel.h:43,
from ./DLL430_v3/src/TI/DLL430/DeviceInfo.h:48,
from DLL430_v3/src/TI/DLL430/EEM/CycleCounter.cpp:38:
/usr/include/c++/9/bits/stl_map.h:317:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>& std::map<_Key, _Tp, _Compare, _Alloc>::operator=(const std::map<_Key, _Tp, _Compare, _Alloc>&) [with _Key = long unsigned int; _Tp = short unsigned int; _Compare = std::less; _Alloc = std::allocator<std::pair<const long unsigned int, short unsigned int> >]’
317 | operator=(const map&) = default;
| ^~~~~~~~
/usr/include/c++/9/bits/stl_map.h:321:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>& std::map<_Key, _Tp, _Compare, _Alloc>::operator=(std::map<_Key, _Tp, _Compare, _Alloc>&&) [with _Key = long unsigned int; _Tp = short unsigned int; _Compare = std::less; _Alloc = std::allocator<std::pair<const long unsigned int, short unsigned int> >]’
321 | operator=(map&&) = default;
| ^~~~~~~~
/usr/include/c++/9/bits/stl_map.h:335:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>& std::map<_Key, _Tp, _Compare, _Alloc>::operator=(std::initializer_list<std::pair<const _Key, _Tp> >) [with _Key = long unsigned int; _Tp = short unsigned int; _Compare = std::less; _Alloc = std::allocator<std::pair<const long unsigned int, short unsigned int> >]’
335 | operator=(initializer_list<value_type> __l)
| ^~~~~~~~
In file included from DLL430_v3/src/TI/DLL430/EEM/CycleCounter.h:45,
from DLL430_v3/src/TI/DLL430/EEM/CycleCounter.cpp:39:
./DLL430_v3/src/TI/DLL430/TemplateDeviceDb/MSP430Defaults.h: In constructor ‘TI::DLL430::TemplateDeviceDb::FunctionMappingXv2FRAM::FunctionMappingXv2FRAM()’:
./DLL430_v3/src/TI/DLL430/TemplateDeviceDb/MSP430Defaults.h:180:41: error: ambiguous overload for ‘operator=’ (operand types are ‘TI::DLL430::TemplateDeviceDb::FunctionMappingImpl::FunctionMapping’ {aka ‘std::map<long unsigned int, short unsigned int>’} and ‘boost::assign_detail::generic_list<std::pair<hal_id, hal_id> >’)
180 | (ID_WaitForStorage,ID_WaitForStorageX);
| ^
In file included from /usr/include/c++/9/map:61,
from ./DLL430_v3/include/DLL430/PortInfo.h:46,
from ./DLL430_v3/src/TI/DLL430/IoChannel.h:43,
from ./DLL430_v3/src/TI/DLL430/DeviceInfo.h:48,
from DLL430_v3/src/TI/DLL430/EEM/CycleCounter.cpp:38:
/usr/include/c++/9/bits/stl_map.h:317:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>& std::map<_Key, _Tp, _Compare, _Alloc>::operator=(const std::map<_Key, _Tp, _Compare, _Alloc>&) [with _Key = long unsigned int; _Tp = short unsigned int; _Compare = std::less; _Alloc = std::allocator<std::pair<const long unsigned int, short unsigned int> >]’
317 | operator=(const map&) = default;
| ^~~~~~~~
/usr/include/c++/9/bits/stl_map.h:321:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>& std::map<_Key, _Tp, _Compare, _Alloc>::operator=(std::map<_Key, _Tp, _Compare, _Alloc>&&) [with _Key = long unsigned int; _Tp = short unsigned int; _Compare = std::less; _Alloc = std::allocator<std::pair<const long unsigned int, short unsigned int> >]’
321 | operator=(map&&) = default;
| ^~~~~~~~
/usr/include/c++/9/bits/stl_map.h:335:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>& std::map<_Key, _Tp, _Compare, _Alloc>::operator=(std::initializer_list<std::pair<const _Key, _Tp> >) [with _Key = long unsigned int; _Tp = short unsigned int; _Compare = std::less; _Alloc = std::allocator<std::pair<const long unsigned int, short unsigned int> >]’
335 | operator=(initializer_list<value_type> __l)
| ^~~~~~~~
make: *** [Makefile:65: DLL430_v3/src/TI/DLL430/EEM/CycleCounter.o] Fehler 1