This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Fix for a small namespace oversight in libstdc++-v3/libsupc++/vec.cc
- To: gcc-patches at gcc dot gnu dot org
- Subject: Fix for a small namespace oversight in libstdc++-v3/libsupc++/vec.cc
- From: Stephen Webb <stephen dot webb at cybersafe dot com>
- Date: Mon, 5 Mar 2001 13:07:48 -0500
- Cc: libstdc++ at gcc dot gnu dot org
- Organization: CyberSafe
This patch fixes a bootstrap failure I get on Solaris 8 when using
namespace-clean system headers.
Index: vec.cc
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/libsupc++/vec.cc,v
retrieving revision 1.3.6.1
diff -C3 -p -r1.3.6.1 vec.cc
*** vec.cc 2001/02/17 18:13:09 1.3.6.1
--- vec.cc 2001/03/05 17:48:45
*************** namespace __cxxabiv1
*** 69,75 ****
std::size_t padding_size,
void (*constructor) (void *),
void (*destructor) (void *),
! void *(*alloc) (size_t),
void (*dealloc) (void *))
{
std::size_t size = element_count * element_size + padding_size;
--- 69,75 ----
std::size_t padding_size,
void (*constructor) (void *),
void (*destructor) (void *),
! void *(*alloc) (std::size_t),
void (*dealloc) (void *))
{
std::size_t size = element_count * element_size + padding_size;
_______
Stephen M. Webb