Following are the warning in the compilation: /tools/gcc/include/c++/3.1.1/bits/locale_facets.tcc:768: warning: declaration of `__ctype' shadows a global declaration /tools/gcc/lib/gcc-lib/sparc-sun-solaris2.8/3.1.1/include/iso/stdlib_iso.h:46: warning: shadowed declaration is here:w /tools/gcc/include/c++/3.1.1/bits/stl_alloc.h: In static member function `static void* std::__default_alloc_template<__threads, __inst>::_S_refill(unsigned int) [with bool __threads = true, int __inst = 0]': /tools/gcc/include/c++/3.1.1/bits/stl_alloc.h:394: instantiated from `static void* std::__default_alloc_t emplate<__threads, __inst>::allocate(unsigned int) [with bool __threads = true, int __inst = 0]' /tools/gcc/include/c++/3.1.1/bits/stl_alloc.h:641: instantiated from `_Tp* std::allocator<_Alloc>::alloca te(unsigned int, const void*) [with _Tp = char]' /tools/gcc/include/c++/3.1.1/bits/basic_string.tcc:443: instantiated from `static std::basic_string<_Char T, _Traits, _Alloc>::_Rep* std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_S_create(unsigned int, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]' /tools/gcc/include/c++/3.1.1/bits/basic_string.tcc:307: instantiated from `void std::basic_string<_CharT, _Traits, _Alloc>::_M_mutate(_Alloc::size_type, _Alloc::size_type, _Alloc::size_type) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]' /tools/gcc/include/c++/3.1.1/bits/basic_string.h:409: instantiated from `void std::basic_string<_CharT, _ Traits, _Alloc>::clear() [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<cha r>]' bHlrMessage.h:477: instantiated from here /tools/gcc/include/c++/3.1.1/bits/stl_alloc.h:536: warning: cast from `char*' to `std::__default_alloc_template<true, 0>::_Obj*' increases required alignment of target type /tools/gcc/include/c++/3.1.1/bits/stl_alloc.h:537: warning: cast from `char*' to `std::__default_alloc_template<true, 0>::_Obj*' increases required alignment of target type /tools/gcc/include/c++/3.1.1/bits/stl_alloc.h:540: warning: cast from `char*' to `std::__default_alloc_template<true, 0>::_Obj*' increases required alignment of target type
Please help. -- Summary: stl_alloc.h - increases required alignment of target type Product: gcc Version: 3.1.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ben at blueslice dot com CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19648