🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.upgrade
2 messages
2 total messages Started by Gene Melton Wed, 24 Jan 2007 16:03
Compiler warnings on project upgrade
#422
Author: Gene Melton
Date: Wed, 24 Jan 2007 16:03
39 lines
2568 bytes
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
Re: Compiler warnings on project upgrade
#423
Author: Jussi Sirpoma
Date: Thu, 25 Jan 2007 09:32
12 lines
1527 bytes
On 24.1.2007 18:03 Gene Melton wrote:
> 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
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