This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: How to Compile libstdc++ v3 by gcc 2.95.3?
- From: Zi-Wei Chiou <jwchiu at csie dot nctu dot edu dot tw>
- To: Gabriel Dos Reis <gdr at codesourcery dot com>
- Cc: John Love-Jensen <eljay at adobe dot com>, Chih-Wei Chiu <jwchiu at csie dot nctu dot edu dot tw>, gcc-help at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Mon, 15 Apr 2002 21:57:37 +0800
- Subject: Re: How to Compile libstdc++ v3 by gcc 2.95.3?
- References: <B8E02930.1402%eljay@adobe.com> <fln0w52lgo.fsf@jambon.cmla.ens-cachan.fr>
On Mon, Apr 15, 2002 at 02:30:15PM +0200, Gabriel Dos Reis wrote:
> John Love-Jensen <eljay@adobe.com> writes:
>
> | Hi Chih-Wei,
> |
> | Not that this will help with your compile issue, but...
> |
> | You shouldn't inherit from the STL classes.
>
> Certainly you can. It just depend on what you're doing with your
> derived class.
>
> At any rate, whether it is conforming to one's religion to inherit
> from an STL class is irrelevant to the issue raised by the original
> poster.
>
> -- Gaby
My mistake. But the errors are the same even though I use containment.
class bar { std::stack<int> s; };