Thread View: borland.public.cppbuilder.upgrade
4 messages
4 total messages
Started by J. Carlos Baraza
Thu, 30 Jun 2005 09:29
BCB3 to BCB6
Author: J. Carlos Baraza
Date: Thu, 30 Jun 2005 09:29
Date: Thu, 30 Jun 2005 09:29
26 lines
1709 bytes
1709 bytes
Hi everyone, I've already in the news seen that my problem is quite common, but in my case it is a bit special. I've openned a BCB3 project with my newly installed BCB6. When building, the project I've had lots of errors, that I've been correcting up yo date. The four last are very interesing: [C++ Error] FileCtrl.hpp(429): E2189 extern variable cannot be initialized [C++ Error] FileCtrl.hpp(429): E2188 Expression syntax [C++ Error] FileCtrl.hpp(429): E2293 ) expected [C++ Error] ConfigureTool.cpp(129): E2251 Cannot find default constructor to initialize base class 'TForm' Well, ConfigureTool is a Form in my project but, what about the errors in FileCtrl.hpp? Isn't it nice? Any suggestions? Should I create a new project and add my design files, or this won't work here? Please... Thanks and regards, Carlos.
Re: BCB3 to BCB6
Author: Hans Galema
Date: Thu, 30 Jun 2005 09:45
Date: Thu, 30 Jun 2005 09:45
13 lines
1236 bytes
1236 bytes
J. Carlos Baraza wrote: > I've openned a BCB3 project with my newly installed BCB6. That is the wrong way. Do not use bcb3's .mak or .bpr file. Just start a new project with bcb6 and add all the necessary units to it. > Should I create a new project and add my design files, Yes. Hans.
Re: BCB3 to BCB6
Author: J. Carlos Baraza
Date: Thu, 30 Jun 2005 11:07
Date: Thu, 30 Jun 2005 11:07
23 lines
1730 bytes
1730 bytes
Hi again, First of all, thank you very much four you quick answer. I've created a new project, add-ed my design files and saved it. Then, I've tried to build it, but oh!!!! the same four |@#~$~#~�#&#@~ errors as before: [C++ Error] FileCtrl.hpp(429): E2189 extern variable cannot be initialized [C++ Error] FileCtrl.hpp(429): E2188 Expression syntax [C++ Error] FileCtrl.hpp(429): E2293 ) expected [C++ Error] ConfigureTool.cpp(129): E2251 Cannot find default constructor to initialize base class 'TForm' I don't understand anything. How a system library can produce a compilation error? Well, in case it is an old and fixed bug, my BCB6 version is 6.0 (Build 10.161). Otherwise, what should I do? Rewrite the module that indirectly generates the error (that is, ConfigureTool)? Regards and thanks, Carlos.
Re: BCB3 to BCB6
Author: Hans Galema
Date: Thu, 30 Jun 2005 11:39
Date: Thu, 30 Jun 2005 11:39
28 lines
2069 bytes
2069 bytes
J. Carlos Baraza wrote: > ... I've tried to > build it, but oh!!!! the same four |@#~$~#~�#&#@~ errors as before: > > [C++ Error] FileCtrl.hpp(429): E2189 extern variable cannot be > initialized > [C++ Error] FileCtrl.hpp(429): E2188 Expression syntax > [C++ Error] FileCtrl.hpp(429): E2293 ) expected > [C++ Error] ConfigureTool.cpp(129): E2251 Cannot find default > constructor to initialize base class 'TForm' Please first tell in which file there is an #include <FileCtrl.hpp> Is it in ConfigureTool.cpp ? If so then first outcomment that include statement. If it is in another file then outcomment it also. Do not build the whole project at once but try to discover which cpp file causes the problem. So compile the cpp files one by one until you know. > Otherwise, what should I do? Rewrite the module that indirectly > generates the error (that is, ConfigureTool)? Aha so it is in ConfigureTool.cpp. Add the include statement at the last possible moment. Which functions do you use from FileCtrl ? What would you rewrite ? Hans.
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