You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "John Sirois (JIRA)" <ji...@apache.org> on 2016/02/16 16:53:18 UTC

[jira] [Closed] (THRIFT-3622) Fix deprecated uses of std::auto_ptr

     [ https://issues.apache.org/jira/browse/THRIFT-3622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Sirois closed THRIFT-3622.
-------------------------------
    Resolution: Later

I'm going to close this issue for later until I understand the c/c++ build better or someone who does comes along and wants to take this up.

> Fix deprecated uses of std::auto_ptr
> ------------------------------------
>
>                 Key: THRIFT-3622
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3622
>             Project: Thrift
>          Issue Type: Task
>          Components: C++ - Library
>            Reporter: John Sirois
>            Assignee: John Sirois
>
> We have some in lib/cpp, like so:
> {noformat}
> JSONProtoTest.cpp:35:13: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
>  static std::auto_ptr<OneOfEach> ooe;
>              ^
> In file included from /usr/include/c++/5.3.0/bits/locale_conv.h:41:0,
>                  from /usr/include/c++/5.3.0/locale:43,
>                  from /usr/include/c++/5.3.0/iomanip:43,
>                  from JSONProtoTest.cpp:22:
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)