Article View: borland.public.cppbuilder.migration
Article #241Builder 5 -> Builder 2007 migration tough
From: Julian
Date: Tue, 22 Apr 2008 22:37
Date: Tue, 22 Apr 2008 22:37
40 lines
2104 bytes
2104 bytes
Hi,
I have both Builder 5 and Builder 2007 and I am trying to migrate the
project to the new Builder IDE. However, I get stuck on compilation
errors. For example:
in the
sampleHeaderFile.h I have:
class RGBValue {
public:
RGBValue ();
RGBValue (short _R, short _G, short _B);
~RGBValue () {};
short R, G, B;
void Assign (short _R, short _G, short _B);
void CopyRGB (RGBValue * SourceRGB);
bool Empty;
//operators
RGBValue operator+(RGBValue&);
RGBValue operator-(RGBValue&);
RGBValue operator/(int&);
RGBValue operator/(float&);
RGBValue operator/(double&);
RGBValue operator*(int&);
RGBValue operator*(float&);
RGBValue operator*(double&);
};
//---------------------------------------------------------------------------
class RGBArray {
public:
RGBArray (int _nx, int _ny);
~RGBArray ();
int nx, ny;
RGBValue ** XY;
...
etc.,
}
At RGBValue ** XY; I get type name expected error (E2303)
compiling with Builder 2007, while I didn't have problems with Builder 5.
Any suggestions?
Technical Details
Message-ID:
<480e68c7$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!news2.arglkargh.de!feeder.erje.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 110f51,394a8807a6dd4184,start X-Google-Attributes: gid110f51,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Date: Tue, 22 Apr 2008 17:37:32 -0500 From: Julian <jivanov@kgs.ku.edu> User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.migration Subject: Builder 5 -> Builder 2007 migration tough Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 129.237.143.14 Message-ID: <480e68c7$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1208903879 129.237.143.14 (22 Apr 2008 15:37:59 -0700) Lines: 40 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!news2.arglkargh.de!feeder.erje.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail