Thread View: borland.public.cppbuilder.migration
4 messages
4 total messages
Started by Julian
Tue, 22 Apr 2008 22:37
Builder 5 -> Builder 2007 migration tough
Author: 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?
Re: Builder 5 -> Builder 2007 migration tough
Author: Leo Siefert
Date: Wed, 23 Apr 2008 14:17
Date: Wed, 23 Apr 2008 14:17
11 lines
1299 bytes
1299 bytes
Julian wrote: >At RGBValue ** XY; I get type name expected error (E2303) Once the final ; is added to the class declaration the code you supplied compiles without error in RAD Studio 2007. Either you have left out something that is actually causing the error (a #define macro for "XY" perhaps) or you have not installed the updates to your Builder 2007 install. - Leo
Re: Builder 5 -> Builder 2007 migration tough
Author: Julian
Date: Wed, 23 Apr 2008 16:02
Date: Wed, 23 Apr 2008 16:02
9 lines
1296 bytes
1296 bytes
Thanks Leo, I didn't realize the update was that important. Currently, I have Builder 11.0.2804.9245 and the update seems to be kind of complicated. It is not clear from which one to start and there is a lot to read about it. Thanks for the help, Julian Leo Siefert wrote: >
Re: Builder 5 -> Builder 2007 migration tough
Author: Leo Siefert
Date: Thu, 24 Apr 2008 12:17
Date: Thu, 24 Apr 2008 12:17
19 lines
1691 bytes
1691 bytes
Julian wrote: >I didn't realize the update was that important. I don't think that it is the issue here, but I am testing with the December update applied and don't have any way to test with the version you are using so I included it as a possibility. >the update seems to be kind of complicated. >It is not clear from which one to start There are two updates to that version. The most important is the December 2007 update. You should be able to just download it and run the installer - the installation should be basically automatic. There is another hotfix available which I have not yet applied to my installation, but the number of issues it fixes is rather limited. - Leo
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads