Commit dc4dd7f6 by François Dumont

2017-05-11 François Dumont <fdumont@gcc.gnu.org>

	* include/debug/formatter.h [_GLIBCXX_INLINE_VERSION]
	(__gnu_debug::_Error_formatter::_Parameter::_M_print_field): Remove.
	(__gnu_debug::_Error_formatter::_Parameter::_M_print_description):
	Remove.
	(__gnu_debug::_Error_formatter::_M_format_word): Remove.
	(__gnu_debug::_Error_formatter::_M_print_word): Remove.
	(__gnu_debug::_Error_formatter::_M_print_string): Remove.
	(__gnu_debug::_Error_formatter::_M_get_max_length): Remove.
	* src/c++11/debug.cc: Adapt.
	* config/abi/pre/gnu-versioned-namespace.ver: Adapt.

From-SVN: r247925
parent ce9750d5
2017-05-11 François Dumont <fdumont@gcc.gnu.org>
* include/debug/formatter.h [_GLIBCXX_INLINE_VERSION]
(__gnu_debug::_Error_formatter::_Parameter::_M_print_field): Remove.
(__gnu_debug::_Error_formatter::_Parameter::_M_print_description):
Remove.
(__gnu_debug::_Error_formatter::_M_format_word): Remove.
(__gnu_debug::_Error_formatter::_M_print_word): Remove.
(__gnu_debug::_Error_formatter::_M_print_string): Remove.
(__gnu_debug::_Error_formatter::_M_get_max_length): Remove.
* src/c++11/debug.cc: Adapt.
* config/abi/pre/gnu-versioned-namespace.ver: Adapt.
2017-05-11 Jonathan Wakely <jwakely@redhat.com> 2017-05-11 Jonathan Wakely <jwakely@redhat.com>
* doc/xml/manual/allocator.xml: Fix ViewCVS URLs. * doc/xml/manual/allocator.xml: Fix ViewCVS URLs.
......
...@@ -137,11 +137,7 @@ GLIBCXX_8.0 { ...@@ -137,11 +137,7 @@ GLIBCXX_8.0 {
_ZNK11__gnu_debug19_Safe_iterator_base14_M_can_compareERKS0_; _ZNK11__gnu_debug19_Safe_iterator_base14_M_can_compareERKS0_;
_ZNK11__gnu_debug16_Error_formatter10_M_message*; _ZNK11__gnu_debug16_Error_formatter10_M_message*;
_ZNK11__gnu_debug16_Error_formatter10_Parameter*;
_ZNK11__gnu_debug16_Error_formatter13_M_print_word*;
_ZNK11__gnu_debug16_Error_formatter15_M_print_string*;
_ZNK11__gnu_debug16_Error_formatter8_M_error*; _ZNK11__gnu_debug16_Error_formatter8_M_error*;
_ZNK11__gnu_debug16_Error_formatter17_M_get_max_lengthEv;
# __gnu_debug::_Safe_unordered_container_base # __gnu_debug::_Safe_unordered_container_base
# __gnu_debug::_Safe_local_iterator_base # __gnu_debug::_Safe_local_iterator_base
...@@ -150,7 +146,6 @@ GLIBCXX_8.0 { ...@@ -150,7 +146,6 @@ GLIBCXX_8.0 {
_ZN11__gnu_debug25_Safe_local_iterator_base9_M_attachEPNS_19_Safe_sequence_baseEb; _ZN11__gnu_debug25_Safe_local_iterator_base9_M_attachEPNS_19_Safe_sequence_baseEb;
_ZN11__gnu_debug25_Safe_local_iterator_base9_M_detachEv; _ZN11__gnu_debug25_Safe_local_iterator_base9_M_detachEv;
# parallel mode # parallel mode
_ZN14__gnu_parallel9_Settings3getEv; _ZN14__gnu_parallel9_Settings3getEv;
_ZN14__gnu_parallel9_Settings3setERS0_; _ZN14__gnu_parallel9_Settings3setERS0_;
......
...@@ -373,6 +373,7 @@ namespace __gnu_debug ...@@ -373,6 +373,7 @@ namespace __gnu_debug
_M_variant._M_instance._M_type = _GLIBCXX_TYPEID(_Type); _M_variant._M_instance._M_type = _GLIBCXX_TYPEID(_Type);
} }
#if !_GLIBCXX_INLINE_VERSION
void void
_M_print_field(const _Error_formatter* __formatter, _M_print_field(const _Error_formatter* __formatter,
const char* __name) const _GLIBCXX_DEPRECATED; const char* __name) const _GLIBCXX_DEPRECATED;
...@@ -380,6 +381,7 @@ namespace __gnu_debug ...@@ -380,6 +381,7 @@ namespace __gnu_debug
void void
_M_print_description(const _Error_formatter* __formatter) _M_print_description(const _Error_formatter* __formatter)
const _GLIBCXX_DEPRECATED; const _GLIBCXX_DEPRECATED;
#endif
}; };
template<typename _Iterator> template<typename _Iterator>
...@@ -451,6 +453,7 @@ namespace __gnu_debug ...@@ -451,6 +453,7 @@ namespace __gnu_debug
_GLIBCXX_NORETURN void _GLIBCXX_NORETURN void
_M_error() const; _M_error() const;
#if !_GLIBCXX_INLINE_VERSION
template<typename _Tp> template<typename _Tp>
void void
_M_format_word(char*, int, const char*, _Tp) _M_format_word(char*, int, const char*, _Tp)
...@@ -461,14 +464,17 @@ namespace __gnu_debug ...@@ -461,14 +464,17 @@ namespace __gnu_debug
void void
_M_print_string(const char* __string) const _GLIBCXX_DEPRECATED; _M_print_string(const char* __string) const _GLIBCXX_DEPRECATED;
#endif
private: private:
_Error_formatter(const char* __file, unsigned int __line) _Error_formatter(const char* __file, unsigned int __line)
: _M_file(__file), _M_line(__line), _M_num_parameters(0), _M_text(0) : _M_file(__file), _M_line(__line), _M_num_parameters(0), _M_text(0)
{ } { }
#if !_GLIBCXX_INLINE_VERSION
void void
_M_get_max_length() const throw () _GLIBCXX_DEPRECATED; _M_get_max_length() const throw () _GLIBCXX_DEPRECATED;
#endif
enum { __max_parameters = 9 }; enum { __max_parameters = 9 };
......
...@@ -1069,6 +1069,7 @@ namespace __gnu_debug ...@@ -1069,6 +1069,7 @@ namespace __gnu_debug
abort(); abort();
} }
#if !_GLIBCXX_INLINE_VERSION
// Deprecated methods kept for backward compatibility. // Deprecated methods kept for backward compatibility.
void void
_Error_formatter::_Parameter::_M_print_field( _Error_formatter::_Parameter::_M_print_field(
...@@ -1116,4 +1117,6 @@ namespace __gnu_debug ...@@ -1116,4 +1117,6 @@ namespace __gnu_debug
void void
_Error_formatter::_M_format_word(char*, int, const char*, _Error_formatter::_M_format_word(char*, int, const char*,
const char*) const; const char*) const;
#endif
} // namespace __gnu_debug } // namespace __gnu_debug
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment