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

Junxiao Shi shijunxiao at email.arizona.edu
Wed Mar 11 00:39:04 PDT 2015


Dear folks

Deadline has passed. Since there's no objection before the deadline, the
Change of adding DEPRECATED marker should be merged without further waiting.
It's important to merge now, because this can prevent projects to introduce
new usages of deprecated overloads, which would require extra work of
fixing them.

Yours, Junxiao
On Feb 28, 2015 11:08 PM, "Junxiao Shi" <shijunxiao at email.arizona.edu>
wrote:

> 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/20150311/810c6a29/attachment.html>


More information about the Nfd-dev mailing list