This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: basic_string linking related problem
- From: Karel Gardas <kgardas at objectsecurity dot com>
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 10 Oct 2002 08:15:42 +0200 (CEST)
- Subject: Re: basic_string linking related problem
On Wed, 9 Oct 2002, Benjamin Kosnik wrote:
> ... your link error is coming from an instantiation of
> char_traits<unsigned char>. This instantiation is not specified in the
> C++ standard. Furthermore, using basic types to specialize standard
> components, instead of user-defined types, is not legal.
>
OK, so I don't need to report anything into GNATS.
> It is, however, a seemingly well-established practice.
>
> There has been a lot of discussion of this, mostly on Fridays during the
> last two months on the libstdc++ list. If you search for this, you'll
> find workarounds.
>
I'll look at it.
Thanks,
Karel
--
Karel Gardas kgardas@objectsecurity.com
ObjectSecurity Ltd. http://www.objectsecurity.com