This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
another small thing
- To: STDC++ <libstdc++ at sources dot redhat dot com>
- Subject: another small thing
- From: Levente Farkas <lfarkas at mindmaker dot hu>
- Date: Mon, 14 Aug 2000 12:00:30 +0200
- Organization: Mindmaker Ltd.
- Reply-To: lfarkas at mindmaker dot hu
hi,
which is annoy me a little bit:
-------------------------
/usr/include/g++-v3/bits/basic_string.h: In function `void
std::basic_string<_CharT, _Traits,
_Alloc>::_S_copy_chars (_CharT *, const _CharT *, const _CharT *) [with _CharT =
char, _Traits =
std::char_traits<char>, _Alloc = std::allocator<char>]':
/usr/include/g++-v3/bits/string.tcc:133: instantiated from
`std::basic_string<_CharT, _Traits, _Alloc>::_S_construct (_InIter, _InIter,
const _Alloc &, std::forward_iterator_tag) [with _FwdIter = const char *, _CharT
= char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]'
/usr/include/g++-v3/bits/basic_string.h:662: instantiated from
`std::basic_string<_CharT, _Traits, _Alloc>::_S_construct_aux (_InIter, _InIter,
const _Alloc &, _Bool<false>) [with _InIter = const char *, _CharT = char,
_Traits = std::char_traits<char>, _Alloc = std::allocator<char>]'
/usr/include/g++-v3/bits/basic_string.h:679: instantiated from
`std::basic_string<_CharT, _Traits, _Alloc>::_S_construct (_InIter, _InIter,
const _Alloc &) [with _InIter = const char *, _CharT = char, _Traits =
std::char_traits<char>, _Alloc = std::allocator<char>]'
/usr/include/g++-v3/bits/string.tcc:205: instantiated from
`std::basic_string<_CharT, _Traits, _Alloc>::basic_string (const _CharT *, const
_Alloc &) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc =
std::allocator<char>]'
/usr/include/g++-v3/bits/locale_facets.h:1311: instantiated from here
/usr/include/g++-v3/bits/basic_string.h:301: warning: declaration of `__j1'
shadows global declaration
-------------------------
what is the global __j1 anyway ? it's come from math.h with friends:
j0 j1 jn y0 y1 yn
the soulution would be to not include cmath before string, but:-((
-- Levente
"The only thing worse than not knowing the truth is
ruining the bliss of ignorance."