Opened 7 years ago

Last modified 6 years ago

#11860 new Bugs

Using iostreams causes lots of messages about deprecated header template_arity_spec.hpp

Reported by: martin.apel@… Owned by: Jonathan Turkanis
Milestone: To Be Determined Component: iostreams
Version: Boost 1.60.0 Severity: Problem
Keywords: type_traits iostreams spirit Cc: zeratul976@…

Description

Using headers from iostreams or Spirit cause lots of messages like the following:

develop/extern/share/boost-1.60/include/boost/type_traits/detail/template_arity_spec.hpp:13:83: note: #pragma message: NOTE: Use of this he
ader (template_arity_spec.hpp) is deprecated
In file included from develop/extern/share/boost-1.60/include/boost/iostreams/detail/is_dereferenceable.hpp:13:0,
                 from develop/extern/share/boost-1.60/include/boost/iostreams/detail/resolve.hpp:26,
                 from develop/extern/share/boost-1.60/include/boost/iostreams/detail/push.hpp:24,
                 from develop/extern/share/boost-1.60/include/boost/iostreams/detail/streambuf/indirect_streambuf.hpp:31,
                 from develop/extern/share/boost-1.60/include/boost/iostreams/stream_buffer.hpp:22,
                 from develop/extern/share/boost-1.60/include/boost/iostreams/stream.hpp:21

There seems to be no way how to suppress these messages.

Change History (11)

comment:1 by anonymous, 7 years ago

I get the same complaint from e.g.: In file included boost/function_types/member_function_pointer.hpp:13:0,

boost/tti/detail/dptmf.hpp:12, boost/tti/detail/dmem_fun.hpp:27, boost/tti/has_member_function.hpp:15,

and In file included from boost/function_types/is_callable_builtin.hpp:13:0,

from boost/function_types/parameter_types.hpp:20, from boost/tti/detail/dftclass.hpp:10, from boost/tti/detail/dcomp_mem_fun.hpp:13, from boost/tti/detail/dmem_fun.hpp:24, from boost/tti/has_member_function.hpp:15,

comment:2 by stephan.menzel@…, 7 years ago

Indeed. As I use both spirit and iostream a lot this clutters all my builds in 1.60.

Quite unusual to see this happen in spirit... I can confirm this in gcc 4.9 & 5.3 and MSVC 14 alike.

Stephan

comment:4 by Nathan Ridge, 6 years ago

Cc: zeratul976@… added

comment:5 by anonymous, 6 years ago

This still exists in 1.61.0, so it is still the first thing a new user will see when building boost for the first time.

comment:6 by anonymous, 6 years ago

s/building/using

comment:7 by anonymous, 6 years ago

boost python triggers the same warning as well

boost/python/detail/def_helper.hpp: 9

comment:8 by anonymous, 6 years ago

Fix that god damn warning already.

comment:9 by daira@…, 6 years ago

Yes, this is very irritating. https://github.com/zcash/zcash/issues/1259

comment:10 by Dan, 6 years ago

Would someone please fix this? It's ridiculous!

comment:11 by daira@…, 6 years ago

https://github.com/boostorg/iostreams/pull/24 has been merged, so presumably this will be fixed in 1.62.

Note: See TracTickets for help on using tickets.