BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Compiler warnings on project upgrade

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Upgrade)
View previous topic :: View next topic  
Author Message
Gene Melton
Guest





PostPosted: Wed Jan 24, 2007 10:03 pm    Post subject: Compiler warnings on project upgrade Reply with quote



I have a project that was written using BCB3. It has over 40,000 lines
of program code (2.8M compiled) and it uses serial communication which
is enabled by an add-on program, ASYNC Pro. ASYNC Pro is no longer
available but it has the ability to detect BCB3 and BCB5 in order to
install menu items. I have had BCB5 for some time but never installed
it because I feared the very issues that have arisen. Bought a new
faster computer so decided to install BCB5 on it. However, even if I
can figure out this problem, it appears that I am limited to BCB5
because of the ASYNC Pro installation program. From reading the
messages in this news group, I think I could expect similar (if not
more) problems with BCB6 or BCB2006 if I could figure out how to install
ASYNC Pro in the later versions. I have BCB6 but am now really afraid
to install it.

Now to the problem. The project compiles in BCB5 if I turn the warnings
off. Activating the warnings produces warnings until the number of them
(175) generates an error, then the compiler stops. Below is a sample of
the code which generates the typical error.

//--------------------------rb1Click-----------------------------------------
void __fastcall TfExplorer::rb1Click(TObject *Sender) {
SleepRate=500; // Slow
Timer8->Interval=2000;
}

The error message associated with the above routine:

-[C++Warning]Demo5x.cpp(437): W8057 Parameter 'Sender' is never used
-Full parser context
Demo5x.cpp(440): parsing: void_fastcall TfExplorer::rb1Click(TObject *)


If I install a new button the code looks identical in the program and
header to that above. So why the error message and is there anything I
can do to correct it?

Thank you in advance,

Gene
Back to top
Jussi Sirpoma
Guest





PostPosted: Thu Jan 25, 2007 3:32 pm    Post subject: Re: Compiler warnings on project upgrade Reply with quote



On 24.1.2007 18:03 Gene Melton wrote:
Quote:
faster computer so decided to install BCB5 on it. However, even if I
can figure out this problem, it appears that I am limited to BCB5
because of the ASYNC Pro installation program. From reading the
messages in this news group, I think I could expect similar (if not

You could try the open sourced Async Pro from:

<http://sourceforge.net/projects/tpapro/>

Regards,
Jussi Sirpoma
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Upgrade) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.