[pkg-boost-devel] Bug#834202: [libboost1.61-dev] deprecation warnings when including streams.hpp

Michał Mirosław mirq-deboogs at rere.qmqm.pl
Sat Aug 13 01:16:22 UTC 2016


Package: libboost1.61-dev
Version: 1.61.0+dfsg-2.1
Severity: normal

--- Please enter the report below this line. ---

$ echo '#include <boost/iostreams/stream.hpp>'|g++ -x c++ -o /dev/null -c -
In file included from 
/usr/include/boost/iostreams/detail/is_dereferenceable.hpp:12:0,
                  from /usr/include/boost/iostreams/detail/resolve.hpp:26,
                  from /usr/include/boost/iostreams/detail/push.hpp:24,
                  from 
/usr/include/boost/iostreams/detail/streambuf/indirect_streambuf.hpp:31,
                  from /usr/include/boost/iostreams/stream_buffer.hpp:22,
                  from /usr/include/boost/iostreams/stream.hpp:21,
                  from <stdin>:1:
/usr/include/boost/type_traits/detail/bool_trait_def.hpp:18:79: note: 
#pragma message: NOTE: Use of this header (bool_trait_def.hpp) is deprecated
  # pragma message("NOTE: Use of this header (bool_trait_def.hpp) is 
deprecated")
^
In file included from 
/usr/include/boost/type_traits/detail/bool_trait_def.hpp:21:0,
                  from 
/usr/include/boost/iostreams/detail/is_dereferenceable.hpp:12,
                  from /usr/include/boost/iostreams/detail/resolve.hpp:26,
                  from /usr/include/boost/iostreams/detail/push.hpp:24,
                  from 
/usr/include/boost/iostreams/detail/streambuf/indirect_streambuf.hpp:31,
                  from /usr/include/boost/iostreams/stream_buffer.hpp:22,
                  from /usr/include/boost/iostreams/stream.hpp:21,
                  from <stdin>:1:
/usr/include/boost/type_traits/detail/template_arity_spec.hpp:13:84: 
note: #pragma message: NOTE: Use of this header 
(template_arity_spec.hpp) is deprecated
  # pragma message("NOTE: Use of this header (template_arity_spec.hpp) 
is deprecated")
^
In file included from 
/usr/include/boost/iostreams/detail/is_dereferenceable.hpp:13:0,
                  from /usr/include/boost/iostreams/detail/resolve.hpp:26,
                  from /usr/include/boost/iostreams/detail/push.hpp:24,
                  from 
/usr/include/boost/iostreams/detail/streambuf/indirect_streambuf.hpp:31,
                  from /usr/include/boost/iostreams/stream_buffer.hpp:22,
                  from /usr/include/boost/iostreams/stream.hpp:21,
                  from <stdin>:1:
/usr/include/boost/type_traits/detail/template_arity_spec.hpp:13:84: 
note: #pragma message: NOTE: Use of this header 
(template_arity_spec.hpp) is deprecated
  # pragma message("NOTE: Use of this header (template_arity_spec.hpp) 
is deprecated")

$ g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/6/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 6.1.1-11' 
--with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs 
--enable-languages=c,ada,c++,jav
a,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-6 
--enable-shared --enable-linker-build-id --libexecdir=/usr/lib 
--without-included-gettext --enable-threads=posix --libdir=/usr/lib 
--enable-nls --with-sysroot=/ --enable-clocale=gnu 
--enable-libstdcxx-debug --enable-libstdcxx-time=yes 
--with-default-libstdcxx-abi=new --enable-gnu-unique-object 
--disable-vtable-verify --enable-libmpx --enable-plugin 
--with-system-zlib --disable-browser-plugin --enable-java-awt=gtk 
--enable-gtk-cairo 
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-amd64/jre 
--enable-java-home 
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-amd64 
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-amd64 
--with-arch-directory=amd64 
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc 
--enable-multiarch --with-arch-32=i686 --with-abi=m64 
--with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic 
--enable-checking=release --build=x86_64-linux-gnu 
--host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix
gcc version 6.1.1 20160802 (Debian 6.1.1-11)

--- System information. ---
Architecture: amd64
Kernel: Linux 4.6.5mq

Debian Release: stretch/sid
900 testing ftp.icm.edu.pl
800 jessie-backports ftp.icm.edu.pl
750 stable www.deb-multimedia.org
750 stable security.debian.org
750 stable repos.fds-team.de
750 stable ftp.icm.edu.pl
700 unstable ftp.icm.edu.pl
600 experimental ftp.icm.edu.pl
500 unstable-debug debug.mirrors.debian.org
500 testing-debug debug.mirrors.debian.org
500 stable dl.google.com
500 stable deb.opera.com
500 proposed-updates ftp.icm.edu.pl
1 experimental-debug debug.mirrors.debian.org

--- Package information. ---
Depends (Version) | Installed
================================-+-===========
libstdc++-4.8-dev | 4.8.4-1
OR libstdc++-dev |


Package's Recommends field is empty.

Suggests (Version) | Installed
===============================================-+-===========
libboost1.61-doc |
libboost-atomic1.61-dev | 1.61.0+dfsg-2.1
libboost-chrono1.61-dev | 1.61.0+dfsg-2.1
libboost-context1.61-dev |
libboost-coroutine1.61-dev |
libboost-date-time1.61-dev | 1.61.0+dfsg-2.1
libboost-exception1.61-dev |
libboost-filesystem1.61-dev | 1.61.0+dfsg-2.1
libboost-graph1.61-dev |
libboost-graph-parallel1.61-dev |
libboost-iostreams1.61-dev | 1.61.0+dfsg-2.1
libboost-locale1.61-dev |
libboost-log1.61-dev |
libboost-math1.61-dev |
libboost-mpi1.61-dev |
libboost-mpi-python1.61-dev |
libboost-program-options1.61-dev | 1.61.0+dfsg-2.1
libboost-python1.61-dev |
libboost-random1.61-dev |
libboost-regex1.61-dev | 1.61.0+dfsg-2.1
libboost-serialization1.61-dev | 1.61.0+dfsg-2.1
libboost-signals1.61-dev | 1.61.0+dfsg-2.1
libboost-system1.61-dev | 1.61.0+dfsg-2.1
libboost-test1.61-dev | 1.61.0+dfsg-2.1
libboost-thread1.61-dev | 1.61.0+dfsg-2.1
libboost-timer1.61-dev |
libboost-wave1.61-dev |
libboost1.61-tools-dev |
libmpfrc++-dev |
libntl-dev |



More information about the pkg-boost-devel mailing list