Code Monkey home page Code Monkey logo

mathic's Issues

Deprecated class warning

Using GCC 12 on Fedora:

[12/361] Building CXX object Macaulay2...hic/CMakeFiles/mathic.dir/mathic.cpp.o
In file included from /home/mahrud/Projects/M2/engine/M2/Macaulay2/e/mathic/mathic.h:13,
                 from /home/mahrud/Projects/M2/engine/M2/Macaulay2/e/mathic/mathic.cpp:1:
/home/mahrud/Projects/M2/engine/M2/Macaulay2/e/mathic/mathic/DivList.h:163:15: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
  163 |   public std::iterator<std::bidirectional_iterator_tag, Entry> {
      |               ^~~~~~~~
In file included from /usr/include/c++/12/string:45,
                 from /usr/include/c++/12/bits/locale_classes.h:40,
                 from /usr/include/c++/12/bits/ios_base.h:41,
                 from /usr/include/c++/12/ios:42,
                 from /usr/include/c++/12/ostream:38,
                 from /home/mahrud/Projects/M2/engine/M2/Macaulay2/e/mathic/mathic/Timer.h:7,
                 from /home/mahrud/Projects/M2/engine/M2/Macaulay2/e/mathic/mathic.h:4:
/usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
/home/mahrud/Projects/M2/engine/M2/Macaulay2/e/mathic/mathic/DivList.h:191:15: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
  191 |   public std::iterator<std::bidirectional_iterator_tag, const Entry> {
      |               ^~~~~~~~
/usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.