Author
anonymous
over 3 years ago
Language
C++
Compiler
gcc 10.1.0
Options
Warnings
Boost 1.73.0
C++17
no pedantic
Author
anonymous
over 3 years ago
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/gcc-10.1.0/include -std=c++17
In file included from /opt/wandbox/boost-1.73.0/gcc-10.1.0/include/boost/locale.hpp:22,
from prog.cc:8:
/opt/wandbox/boost-1.73.0/gcc-10.1.0/include/boost/locale/localization_backend.hpp:109:18: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
109 | std::auto_ptr<localization_backend> get() const;
| ^~~~~~~~
In file included from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/bits/locale_conv.h:41,
from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/locale:43,
from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/iomanip:43,
from /opt/wandbox/boost-1.73.0/gcc-10.1.0/include/boost/compute/detail/sha1.hpp:15,
from prog.cc:7:
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/bits/unique_ptr.h:56:28: note: declared here
56 | template<typename> class auto_ptr;
| ^~~~~~~~
In file included from /opt/wandbox/boost-1.73.0/gcc-10.1.0/include/boost/locale.hpp:22,
from prog.cc:8:
/opt/wandbox/boost-1.73.0/gcc-10.1.0/include/boost/locale/localization_backend.hpp:116:59: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
116 | void add_backend(std::string const &name,std::auto_ptr<localization_backend> backend);
| ^~~~~~~~
In file included from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/bits/locale_conv.h:41,
from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/locale:43,
from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/iomanip:43,
from /opt/wandbox/boost-1.73.0/gcc-10.1.0/include/boost/compute/detail/sha1.hpp:15,
from prog.cc:7:
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/bits/unique_ptr.h:56:28: note: declared here
56 | template<typename> class auto_ptr;
| ^~~~~~~~
In file included from /opt/wandbox/boost-1.73.0/gcc-10.1.0/include/boost/locale.hpp:24,
from prog.cc:8:
/opt/wandbox/boost-1.73.0/gcc-10.1.0/include/boost/locale/util.hpp:180:28: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
180 | BOOST_LOCALE_DECL std::auto_ptr<base_converter> create_utf8_converter();
| ^~~~~~~~
In file included from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/bits/locale_conv.h:41,
from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/locale:43,
from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/iomanip:43,
from /opt/wandbox/boost-1.73.0/gcc-10.1.0/include/boost/compute/detail/sha1.hpp:15,
from prog.cc:7:
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/bits/unique_ptr.h:56:28: note: declared here
56 | template<typename> class auto_ptr;
| ^~~~~~~~
In file included from /opt/wandbox/boost-1.73.0/gcc-10.1.0/include/boost/locale.hpp:24,
from prog.cc:8:
/opt/wandbox/boost-1.73.0/gcc-10.1.0/include/boost/locale/util.hpp:188:28: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
188 | BOOST_LOCALE_DECL std::auto_ptr<base_converter> create_simple_converter(std::string const &encoding);
| ^~~~~~~~
In file included from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/bits/locale_conv.h:41,
from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/locale:43,
from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/iomanip:43,
from /opt/wandbox/boost-1.73.0/gcc-10.1.0/include/boost/compute/detail/sha1.hpp:15,
from prog.cc:7:
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/bits/unique_ptr.h:56:28: note: declared here
56 | template<typename> class auto_ptr;
| ^~~~~~~~
In file included from /opt/wandbox/boost-1.73.0/gcc-10.1.0/include/boost/locale.hpp:24,
from prog.cc:8:
/opt/wandbox/boost-1.73.0/gcc-10.1.0/include/boost/locale/util.hpp:203:59: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
203 | std::locale create_codecvt(std::locale const &in,std::auto_ptr<base_converter> cvt,character_facet_type type);
| ^~~~~~~~
In file included from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/bits/locale_conv.h:41,
from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/locale:43,
from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/iomanip:43,
from /opt/wandbox/boost-1.73.0/gcc-10.1.0/include/boost/compute/detail/sha1.hpp:15,
from prog.cc:7:
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/bits/unique_ptr.h:56:28: note: declared here
56 | template<typename> class auto_ptr;
| ^~~~~~~~
5d18551ac13de7a87f30605ab142681fab315714
Exit Code:
0