Waf: Entering directory `/home/pritish/EDU/CAD/ns-allinone-3.26/ns-3.26/build'
[1428/2471] Compiling src/flow-monitor/model/ipv4-flow-classifier.cc
[1674/2471] Compiling src/flow-monitor/model/ipv6-flow-classifier.cc
../src/flow-monitor/model/ipv4-flow-classifier.cc: In member function ‘virtual void ns3::Ipv4FlowClassifier::SerializeToXmlStream(std::ostream&, int) const’:
../src/flow-monitor/model/ipv4-flow-classifier.cc:191:51: error: assuming signed overflow does not occur when simplifying conditional to constant [-Werror=strict-overflow]
#define INDENT(level) for (int __xpto = 0; __xpto < level; __xpto++) os << ' ';
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
INDENT (indent); os << "<Ipv4FlowClassifier>\n";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
indent += 2;
~~~~~~~~~~~~
for (std::map<FiveTuple, FlowId>::const_iterator
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
iter = m_flowMap.begin (); iter != m_flowMap.end (); iter++)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{
~
INDENT (indent);
~~~~~~~~~
../src/flow-monitor/model/ipv4-flow-classifier.cc:199:7: note: in expansion of macro ‘INDENT’
INDENT (indent);
^~~~~~
cc1plus: all warnings being treated as errors
../src/flow-monitor/model/ipv6-flow-classifier.cc: In member function ‘virtual void ns3::Ipv6FlowClassifier::SerializeToXmlStream(std::ostream&, int) const’:
../src/flow-monitor/model/ipv6-flow-classifier.cc:192:51: error: assuming signed overflow does not occur when simplifying conditional to constant [-Werror=strict-overflow]
#define INDENT(level) for (int __xpto = 0; __xpto < level; __xpto++) os << ' ';
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
INDENT (indent); os << "<Ipv6FlowClassifier>\n";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
indent += 2;
~~~~~~~~~~~~
for (std::map<FiveTuple, FlowId>::const_iterator
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
iter = m_flowMap.begin (); iter != m_flowMap.end (); iter++)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{
~
INDENT (indent);
~~~~~~~~~
../src/flow-monitor/model/ipv6-flow-classifier.cc:200:7: note: in expansion of macro ‘INDENT’
INDENT (indent);
^~~~~~
cc1plus: all warnings being treated as errors
Waf: Leaving directory `/home/pritish/EDU/CAD/ns-allinone-3.26/ns-3.26/build'
Build failed
-> task in 'ns3-flow-monitor' failed (exit status 1):
{task 139733809691024: cxx ipv4-flow-classifier.cc -> ipv4-flow-classifier.cc.1.o}
['/usr/bin/g++', '-O3', '-g', '-Wall', '-Werror', '-march=native', '-fstrict-overflow', '-Wstrict-overflow=2', '-std=c++11', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-fPIC', '-pthread', '-I.', '-I..', '-DNS3_BUILD_PROFILE_OPTIMIZED', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_PACKET_H=1', '-DHAVE_IF_TUN_H=1', '../src/flow-monitor/model/ipv4-flow-classifier.cc', '-c', '-o', '/home/pritish/EDU/CAD/ns-allinone-3.26/ns-3.26/build/src/flow-monitor/model/ipv4-flow-classifier.cc.1.o']
-> task in 'ns3-flow-monitor' failed (exit status 1):
{task 139733809691280: cxx ipv6-flow-classifier.cc -> ipv6-flow-classifier.cc.1.o}
['/usr/bin/g++', '-O3', '-g', '-Wall', '-Werror', '-march=native', '-fstrict-overflow', '-Wstrict-overflow=2', '-std=c++11', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-fPIC', '-pthread', '-I.', '-I..', '-DNS3_BUILD_PROFILE_OPTIMIZED', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_PACKET_H=1', '-DHAVE_IF_TUN_H=1', '../src/flow-monitor/model/ipv6-flow-classifier.cc', '-c', '-o', '/home/pritish/EDU/CAD/ns-allinone-3.26/ns-3.26/build/src/flow-monitor/model/ipv6-flow-classifier.cc.1.o']