public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/19648] New: stl_alloc.h - increases required alignment of target type
@ 2005-01-26 21:42 ben at blueslice dot com
2005-01-26 21:47 ` [Bug libstdc++/19648] " pinskia at gcc dot gnu dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: ben at blueslice dot com @ 2005-01-26 21:42 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libstdc++/19648] stl_alloc.h - increases required alignment of target type
2005-01-26 21:42 [Bug c++/19648] New: stl_alloc.h - increases required alignment of target type ben at blueslice dot com
@ 2005-01-26 21:47 ` pinskia at gcc dot gnu dot org
2005-01-27 11:16 ` pcarlini at suse dot de
2005-01-27 14:27 ` ben at blueslice dot com
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-26 21:47 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-26 21:47 -------
I think this is a dup of bug 8670 but I don't know since there is not enough information in this bug.
First what target is this.
Second could you try a newer compiler than 3.1.1 since 3.1.1 is old.
--
What |Removed |Added
----------------------------------------------------------------------------
Component|c++ |libstdc++
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19648
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libstdc++/19648] stl_alloc.h - increases required alignment of target type
2005-01-26 21:42 [Bug c++/19648] New: stl_alloc.h - increases required alignment of target type ben at blueslice dot com
2005-01-26 21:47 ` [Bug libstdc++/19648] " pinskia at gcc dot gnu dot org
@ 2005-01-27 11:16 ` pcarlini at suse dot de
2005-01-27 14:27 ` ben at blueslice dot com
2 siblings, 0 replies; 4+ messages in thread
From: pcarlini at suse dot de @ 2005-01-27 11:16 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pcarlini at suse dot de 2005-01-27 11:16 -------
No this is an old issue, fixed by Gerald Pfeifer on May, 20, 2003 (cannot find
the PR #, sorry). No recent release is affected.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19648
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libstdc++/19648] stl_alloc.h - increases required alignment of target type
2005-01-26 21:42 [Bug c++/19648] New: stl_alloc.h - increases required alignment of target type ben at blueslice dot com
2005-01-26 21:47 ` [Bug libstdc++/19648] " pinskia at gcc dot gnu dot org
2005-01-27 11:16 ` pcarlini at suse dot de
@ 2005-01-27 14:27 ` ben at blueslice dot com
2 siblings, 0 replies; 4+ messages in thread
From: ben at blueslice dot com @ 2005-01-27 14:27 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ben at blueslice dot com 2005-01-27 14:27 -------
Thank you, I will upgrade the compiler with the most latest version.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |VERIFIED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19648
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-01-27 14:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-26 21:42 [Bug c++/19648] New: stl_alloc.h - increases required alignment of target type ben at blueslice dot com
2005-01-26 21:47 ` [Bug libstdc++/19648] " pinskia at gcc dot gnu dot org
2005-01-27 11:16 ` pcarlini at suse dot de
2005-01-27 14:27 ` ben at blueslice dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).