[ndnSIM] Some warnings in compiling step of ndnSIM (v0.5 RC1)

Prasertsak U. gniliamg at gmail.com
Sat Aug 3 00:40:37 PDT 2013


Dear Alex,

Today, I try to investigate the new release of ndnSIM (v0.5 RC1).
I got some errors in compiling step. (In fact, it is some Warning)

cc1plus: warnings being treated as errors
> /opt/local/include/boost/archive/iterators/transform_width.hpp: In copy
> constructor ‘boost::archive::iterators::transform_width<Base, BitsOut,
> BitsIn, CharType>::transform_width(const
> boost::archive::iterators::transform_width<Base, BitsOut, BitsIn,
> CharType>&) [with Base =
> boost::transform_iterator<ns3::ndn::detail::hex_to_4_bit<char>,
> __gnu_cxx::__normal_iterator<const char*, std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > >, boost::use_default,
> boost::use_default>, int BitsOut = 8, int BitsIn = 4, CharType = char]’:
> ../src/ndnSIM/ndn.cxx/detail/uri.h:111:   instantiated from ‘static void
> ns3::ndn::Uri::fromEscaped(Iterator1, Iterator1, Iterator2) [with Iterator1
> = __gnu_cxx::__normal_iterator<const char*, std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > >, Iterator2 =
> std::back_insert_iterator<ns3::ndn::name::Component>]’
> ../src/ndnSIM/ndn.cxx/name-component.cc:51:   instantiated from here
> /opt/local/include/boost/archive/iterators/transform_width.hpp:104:
> warning:
> ‘boost::archive::iterators::transform_width<boost::transform_iterator<ns3::ndn::detail::hex_to_4_bit<char>,
> __gnu_cxx::__normal_iterator<const char*, std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > >, boost::use_default,
> boost::use_default>, 8, 4, char>::m_remaining_bits’ will be initialized
> after
> /opt/local/include/boost/archive/iterators/transform_width.hpp:101:
> warning:   ‘char
> boost::archive::iterators::transform_width<boost::transform_iterator<ns3::ndn::detail::hex_to_4_bit<char>,
> __gnu_cxx::__normal_iterator<const char*, std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > >, boost::use_default,
> boost::use_default>, 8, 4, char>::m_buffer_in’
> /opt/local/include/boost/archive/iterators/transform_width.hpp:119:
> warning:   when initialized here
> Waf: Leaving directory `/Users/Psaku/Workspace/ndnSIM-0.5/ns-3/build'
> Build failed



My environment :
- OS X 10.8
- Boost Library 1.53
- Python 2.7
- GCC 4.2.1
- C++ 4.2

Regards,

Prasertsak U.
Silpakorn University, Thailand.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130803/0e60b464/attachment.html>


More information about the ndnSIM mailing list