Fix for a small namespace oversight in libstdc++-v3/libsupc++/vec.cc
stephen.webb@cybersafe.com
stephen.webb@cybersafe.com
Mon Mar 5 10:11:00 GMT 2001
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
More information about the Libstdc++
mailing list