[Nfd-dev] ndn-cxx feature deprecation: Block::fromBuffer overloads with output parameter

Junxiao Shi shijunxiao at email.arizona.edu
Sat Feb 28 22:08:27 PST 2015


Dear folks

The following items are deprecated in ndn-cxx:

   - bool Block::fromBuffer(const ConstBufferPtr&, size_t, Block&)
   - bool Block::fromBuffer(const uint8_t*, size_t, Block&)

If you have code that uses any of those features, please migrate to the new
syntax as described in Doxygen.

I will add DEPRECATED macro onto those items soon, but that Change won't
merge until after Mar 08 12:00 UTC.
This means compiler will produce a warning whenever they are used. If your
project uses "-Werror" flag, this would become an error.
Try compiling your projects with http://gerrit.named-data.net/1822 to see
what happens.

Those deprecated items will be deleted in v0.5.

Yours, Junxiao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20150228/12abb44f/attachment.html>


More information about the Nfd-dev mailing list