This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: g++-v3 and suspect C++ code in configtool
- To: Richard Chan <cshihpin at dso dot org dot sg>,ecos-discuss at sources dot redhat dot com
- Subject: Re: [ECOS] g++-v3 and suspect C++ code in configtool
- From: Julian Smart <julians at redhat dot com>
- Date: Thu, 12 Jul 2001 11:36:46 +0100
At 10:47 AM 7/12/01 -0800, Richard Chan wrote:
>(I know 2.95.2 is the recommended version :-) but
>let's live on the edge here...after all
>if the C++ code is suspect but was passed by 2.95.2 shouldn't
>it be cleaned up?)
It certainly should, thank you very much for pointing out these problems!
>[Problem 1]
>friend X or friend class X declarations
>
>v3 is now fussy about "class" key-name - is this the behaviour expected
>by the standard?
Right, thanks. I'll add 'class' in the appropriate places.
>[Problem 2]
>operator overloading of + in w+e where w is a wxString and e is an
>ecFileName
>completely blows g++.
OK -- I will wrap variables in wxString temporaries where the wxString +
operator is the correct one to use.
Best regards,
Julian
--
Red Hat UK Ltd, Unit 200 Rustat House, 62 Clifton Road, Cambridge, UK. CB1
7EG Tel: +44 (1223) 271063