[Ns-bugs] [Bug 1165] New: memset used with constant zero length parameter
code@nsnam.ece.gatech.edu
code at nsnam.ece.gatech.edu
Wed May 18 16:30:34 PDT 2011
https://www.nsnam.org/bugzilla/show_bug.cgi?id=1165
Summary: memset used with constant zero length parameter
Product: ns-3
Version: pre-release
Platform: All
OS/Version: All
Status: NEW
Severity: blocker
Priority: P5
Component: network
AssignedTo: ns-bugs at isi.edu
ReportedBy: jabraham3 at mail.gatech.edu
Estimated Hours: 0.0
[ 672/1458] cxx: src/network/utils/ipv6-address.cc ->
build/optimized/src/network/utils/ipv6-address_1.o
cc1plus: warnings being treated as errors
In file included from /usr/include/string.h:642:0,
from ../src/network/utils/ipv6-address.h:25,
from ../src/network/utils/mac48-address.h:28,
from ../src/network/utils/ipv6-address.cc:26:
In function ‘void* memset(void*, int, size_t)’,
inlined from ‘ns3::Ipv6Prefix::Ipv6Prefix(uint8_t)’ at
../src/network/utils/ipv6-address.cc:600:34,
inlined from ‘static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetZero()’ at
../src/network/utils/ipv6-address.cc:686:39:
/usr/include/bits/string3.h:82:32: error: call to ‘__warn_memset_zero_len’
declared with attribute warning: memset used with constant zero length
parameter; this could be due to transposed parameters
--
Configure bugmail: https://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Ns-bugs
mailing list