This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [v3] debug mode
- From: Eric Botcazou <ebotcazou at libertysurf dot fr>
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org,libstdc++ at gcc dot gnu dot org
- Date: Wed, 19 Nov 2003 15:49:11 +0100
- Subject: Re: [v3] debug mode
- References: <20031111140354.5f16143c.bkoz@redhat.com>
> libstdc++
> http://people.redhat.com/bkoz/libstdc++_debug_mode.patch
This broke bootstrap on sparc-sun-solaris2.5.1:
../../../src/libstdc++-v3/src/debug.cc: In member function `void
__gnu_debug::_Error_formatter::_Parameter::_M_print_field(const
__gnu_debug::_Error_formatter*, const char*) const':
../../../src/libstdc++-v3/src/debug.cc:249: error: `snprintf' undeclared
(first use this function)
../../../src/libstdc++-v3/src/debug.cc:249: error: (Each undeclared
identifier is reported only once for each function it appears in.)
../../../src/libstdc++-v3/src/debug.cc: In member function `void
__gnu_debug::_Error_formatter::_Parameter::_M_print_description(const
__gnu_debug::_Error_formatter*) const':
../../../src/libstdc++-v3/src/debug.cc:356: error: `snprintf' undeclared
(first use this function)
../../../src/libstdc++-v3/src/debug.cc: In member function `void
__gnu_debug::_Error_formatter::_M_error() const':
../../../src/libstdc++-v3/src/debug.cc:438: error: `snprintf' undeclared
(first use this function)
../../../src/libstdc++-v3/src/debug.cc: In member function `void
__gnu_debug::_Error_formatter::_M_print_string(const char*) const':
../../../src/libstdc++-v3/src/debug.cc:543: error: `snprintf' undeclared
(first use this function)
gmake[4]: *** [debug.lo] Error 1
gmake[4]: Leaving directory
`/opt/build/eric/gcc/sparc-sun-solaris2.5.1/libstdc++-v3/src'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory
`/opt/build/eric/gcc/sparc-sun-solaris2.5.1/libstdc++-v3'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/opt/build/eric/gcc/sparc-sun-solaris2.5.1/libstdc++-v3'
gmake[1]: *** [all-target-libstdc++-v3] Error 2
gmake[1]: Leaving directory `/opt/build/eric/gcc'
gmake: *** [bootstrap] Error 2
See the thread starting at
http://gcc.gnu.org/ml/gcc-patches/2003-10/msg00831.html
for a possible fix.
--
Eric Botcazou