Article View: borland.public.cppbuilder.migration
Article #9ClassLib and BCB6
From: Christian Gudrian
Date: Wed, 06 Jul 2005 10:17
Date: Wed, 06 Jul 2005 10:17
31 lines
1828 bytes
1828 bytes
Hello!
I am currently migrating a project from BCB5 to BCB6. The following
code compiled just fine under BCB5:
,----[ DataList.h ]
#ifndef DataListH
#define DataListH
#include <classlib/listimp.h>
class TData {
};
class TDataList : public TIListImp<TData> {
};
#endif
`----
BCB6, however, fails with a "member identifier expected" error within
listimp.h (line 239, BCB5 Companion CD version). It is an access
declaration within a template class definition. BCB6 obviously is not
able to find the parent class's member equivalent.
I've already added the necessary compiler defines to make BCB6 use the
RogueWave STL implementation.
Have there been made any changes in the way templates get instatiated?
Any other hints what might cause these errors?
Christian
Technical Details
Message-ID:
<u64vow850.fsf@news.gudrian.de>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!txtfeed1.tudelft.nl!tudelft.nl!txtfeed2.tudelft.nl!newsfeed.multikabel.nl!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 110f51,d021f5e8beed1ecb,start X-Google-Attributes: gid110f51,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!txtfeed1.tudelft.nl!tudelft.nl!txtfeed2.tudelft.nl!newsfeed.multikabel.nl!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail From: Christian Gudrian <Christian.Gudrian@gmx.de> Newsgroups: borland.public.cppbuilder.migration Subject: ClassLib and BCB6 Date: Wed, 06 Jul 2005 12:17:47 +0200 Organization: T-Online Lines: 31 Message-ID: <u64vow850.fsf@news.gudrian.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.t-online.com 1120645530 02 6680 vAmZJBFlXfmaJcH 050706 10:25:30 X-Complaints-To: usenet-abuse@t-online.de X-ID: Xjp4xMZfreo8YByLDr0WVPONjuCyDcVTtSfOU1F4Zl4t33HVOR3Doh User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) Hamster-Pg/1.22.2.0 Cancel-Lock: sha1:pRub9ijSQVC9+snOpWNVc3jfA3k=