This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: debug mode symbols cleanup


On 18/09/15 13:00 +0200, Ulrich Weigand wrote:
Francois Dumont wrote:

    * include/debug/formatter.h
    (_Error_formatter::_Parameter::_M_print_field): Delete.
    (_Error_formatter::_Parameter::_M_print_description): Likewise.
    (_Error_formatter::_M_format_word): Likewise.
    (_Error_formatter::_M_print_word): Likewise.
    (_Error_formatter::_M_print_string): Likewise.
    (_Error_formatter::_M_get_max_length): Likewise.
    (_Error_formatter::_M_max_length): Likewise.
    (_Error_formatter::_M_indent): Likewise.
    (_Error_formatter::_M_column): Likewise.
    (_Error_formatter::_M_first_line): Likewise.
    (_Error_formatter::_M_wordwrap): Likewise.
    * src/c++11/debug.cc: Adapt.

This seems to break building an spu-elf cross-compiler:

/home/uweigand/dailybuild/spu-tc-2015-09-17/gcc-head/src/libstdc++-v3/src/c++11/debug.cc: In function 'void {anonymous}::print_word({anonymous}::PrintContext&, const char*, std::ptrdiff_t)':
/home/uweigand/dailybuild/spu-tc-2015-09-17/gcc-head/src/libstdc++-v3/src/c++11/debug.cc:573:10: error: 'stderr' was not declared in this scope
 fprintf(stderr, "\n");
         ^
/home/uweigand/dailybuild/spu-tc-2015-09-17/gcc-head/src/libstdc++-v3/src/c++11/debug.cc:573:22: error: 'fprintf' was not declared in this scope
 fprintf(stderr, "\n");
                     ^

Catherine fixed this with r227888.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]