Bug 298

Summary: don't build on cygwin
Product: ns-3 Reporter: Mathieu Lacage <mathieu.lacage>
Component: python bindingsAssignee: ns-bugs <ns-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: pre-release   
Hardware: All   
OS: All   

Description Mathieu Lacage 2008-08-28 12:46:00 UTC
see http://groups.google.com/group/ns-3-users/t/d856388fe29e54c4

456/509] cxx: build/debug/bindings/python/ns3_module_common.cc ->
build/debug/bindings/python/ns3_module_common_3.o
debug/bindings/python/ns3_module_common.cc: In function `PyObject*
_wrap_PyNs3ListErrorModel_GetList(PyNs3ListErrorModel*)':
debug/bindings/python/ns3_module_common.cc:5571: error: no match for
'operator=' in 'retval = ns3::ListErrorModel::GetList() const()'
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/list.tcc:121: note:
candidates are: std::list<_Tp, _Alloc>& std::list<_Tp,
_Alloc>::operator=(const std::list<_Tp, _Alloc>&) [with _Tp = unsigned int,
_Alloc = std::allocator<unsigned int>]
debug/bindings/python/ns3_module_common.cc: In function `PyObject*
_wrap_PyNs3ListErrorModel_SetList(PyNs3ListErrorModel*, PyObject*,
PyObject*)':
debug/bindings/python/ns3_module_common.cc:5589: error: no matching function
for call to `ns3::ListErrorModel::SetList(std::list<unsigned int,
std::allocator<unsigned int> >&)'
debug/ns3/error-model.h:215: note: candidates are: void
ns3::ListErrorModel::SetList(const std::list<uint32_t,
std::allocator<uint32_t> >&)
Build failed
 -> task failed (err #129):
[bld:///cygdrive/d/Study/WirelessCommunication/NS-3/
repos/ns-3-dev/bindings/python/ns3_module_common_3.o]
Comment 1 Craig Dowell 2008-08-29 17:33:01 UTC

*** This bug has been marked as a duplicate of bug 297 ***