bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Strange problem while compiling some cpp program with g++ 3.1.


From: Ananth Prabhu
Subject: Strange problem while compiling some cpp program with g++ 3.1.
Date: Sun, 21 Jul 2002 19:49:43 +0530

Hi,

I am finding following wanings/errors when compiling a cpp program with g++
version 3.1. I am working on a Itanium server.
Is this some configuration problem ??  I am not able to make out what
exactly the warning/error messages are pointing out?
Can someone help me out for solving this problem.
Best Regards
Ananth


/buildtools/include/g++-v3/bits/stl_alloc.h: In static member function
   `static char* std::__default_alloc_template<__threads,
   __inst>::_S_chunk_alloc(long unsigned int, int&) [with bool __threads =
   true, int __inst = 0]':
/buildtools/include/g++-v3/bits/stl_alloc.h:525:   instantiated from `static
void* std::__default_alloc_template<__threads,
 __inst>::_S_refill(long unsigned int) [with bool __threads = true, int
__inst = 0]'
/buildtools/include/g++-v3/bits/stl_alloc.h:394:   instantiated from `static
void* std::__default_alloc_template<__threads,
 __inst>::allocate(long unsigned int) [with bool __threads = true, int
__inst = 0]'
/buildtools/include/g++-v3/bits/stl_alloc.h:641:   instantiated from `_Tp*
std::allocator<_Alloc>::allocate(long unsigned i
nt, const void*) [with _Tp = char]'
/buildtools/include/g++-v3/bits/basic_string.tcc:443:   instantiated from
`static std::basic_string<_CharT, _Traits, _Alloc
>::_Rep* std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_S_create(long
unsigned int, const _Alloc&) [with _CharT = char, _Trait
s = std::char_traits<char>, _Alloc = std::allocator<char>]'
/buildtools/include/g++-v3/bits/basic_string.tcc:468:   instantiated from
`_CharT* std::basic_string<_CharT, _Traits, _Allo
c>::_Rep::_M_clone(const _Alloc&, _Alloc::size_type) [with _CharT = char,
_Traits = std::char_traits<char>, _Alloc = std::allocato
r<char>]'
/buildtools/include/g++-v3/bits/basic_string.h:175:   instantiated from
`_CharT* std::basic_string<_CharT, _Traits, _Alloc>
::_Rep::_M_grab(const _Alloc&, const _Alloc&) [with _CharT = char, _Traits =
std::char_traits<char>, _Alloc = std::allocator<char>
]'
/buildtools/include/g++-v3/bits/basic_string.tcc:194:   instantiated from
`std::basic_string<_CharT, _Traits, _Alloc>::basi
c_string(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT =
char, _Traits = std::char_traits<char>, _Alloc = std::a
llocator<char>]'
/src/source/nas-api/include/nasapi++_exceptions.h:57:   instantiated from
here
/buildtools/include/g++-v3/bits/stl_alloc.h:478: warning: cast from `
   char*' to `std::__default_alloc_template<true, 0>::_Obj*' increases
required
   alignment of target type
/buildtools/include/g++-v3/bits/stl_alloc.h:479: warning: cast from `
   char*' to `std::__default_alloc_template<true, 0>::_Obj*' increases
required
   alignment of target type
make[1]: *** [v1.0/IpcMessageQ.o] Error 1







reply via email to

[Prev in Thread] Current Thread [Next in Thread]