Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build issue #2

Open
tillea opened this issue Jul 22, 2020 · 0 comments
Open

Build issue #2

tillea opened this issue Jul 22, 2020 · 0 comments

Comments

@tillea
Copy link

tillea commented Jul 22, 2020

Hi,
I tried to build this code on Debian unstable and got:

In file included from /usr/include/c++/9/memory:80,
                 from src/create_k_unitigs_large_k.cc:23:
/usr/include/c++/9/bits/unique_ptr.h:53:28: note: declared here
   53 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
src/create_k_unitigs_large_k.cc:352:8: error: ‘template<class> class std::auto_ptr’ is deprecated [-Werror=deprecated-declarations]
  352 |   std::auto_ptr<jellyfish::mapped_file> dbf;
      |        ^~~~~~~~
In file included from /usr/include/c++/9/memory:80,
                 from src/create_k_unitigs_large_k.cc:23:
/usr/include/c++/9/bits/unique_ptr.h:53:28: note: declared here
   53 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
src/create_k_unitigs_large_k.cc:383:10: error: ‘template<class> class std::auto_ptr’ is deprecated [-Werror=deprecated-declarations]
  383 |     std::auto_ptr<std::ostream> output_ostream(open_output());
      |          ^~~~~~~~
In file included from /usr/include/c++/9/memory:80,
                 from src/create_k_unitigs_large_k.cc:23:
/usr/include/c++/9/bits/unique_ptr.h:53:28: note: declared here
   53 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~

Any hint what to do?
Kind regards, Andreas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant