🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.migration
Article #151

Re: BCB3 to BCB6 Migration success so far

#151
From: Remy Lebeau (TeamB)
Date: Mon, 20 Mar 2006 00:51
55 lines
2160 bytes
"Colin B Maharaj" <noreply@myhost.com> wrote in message
news:441dc0a0$1@newsgroups.borland.com...

> BCB6 kinda compiles slower that BCB3 any speed up advice?

Make sure that you are using precompiled headers effectively.

Also, have a look at
http://andy.jgknet.de/cpp/index.php?page=idecompilerspeedfix, which is a set
of plugins that implement patches for the compiler to remove various
bottlenecks.

> I change the version number in my application - the whole thing
> compiles over

As it should be, because changing the version alters the project file
itself, so the compiler re-compiles the entire project.

> I get millions of warnings about 'Sender' not used

That never happens for me.

> and alignment warnings.

What warnings exactly?

> I cannot turn off the 'Sender' not used

You have two choices:

1) use a #pragma statement above each function/method definition:

    #pragma argsused
    void __fastcall TForm1::Button1Click(TObject *Sender)
    {
        //...
    }

2) rename/comment the Sender variable's name

    void __fastcall TForm1::Button1Click(TObject *)
    {
        //...
    }

Or:

    void __fastcall TForm1::Button1Click(TObject* /*Sender*/)
    {
        //...
    }


Gambit
Technical Details
Message-ID: <441dfd7b$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <441dc0a0$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 110f51,1ae7806ab1dd8f63
X-Google-Attributes: gid110f51,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.migration
References: <441dc0a0$1@newsgroups.borland.com>
Subject: Re: BCB3 to BCB6 Migration success so far
Date: Sun, 19 Mar 2006 16:51:29 -0800
Lines: 57
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <441dfd7b$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1142816123 68.69.17.41 (19 Mar 2006 16:55:23 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail