Board index » cppbuilder » Re: bcc32pch 2.6dev 12

Re: bcc32pch 2.6dev 12


2006-04-05 10:38:41 PM
cppbuilder20
Hello Andreas,
Quote
Version 2.6dev 12 changes:
while dev 11 still had the "Fatal F0000: Invalid pointer operation",
in dev 12 it is gone.
Now dev 12 works here one day without further errors, but still a little bit
slower than dev 5, maybe it has to do with the textattributes in the output
window, I will do more tests.
Greetings,
Harald
 
 

Re:Re: bcc32pch 2.6dev 12

Harald Plontke wrote:
Quote
maybe it has to do with the textattributes in the
output window, I will do more tests.
In that case you could uncheck the "detailed messages" checkbox in the
bcc32pch configuration dialog.
--
Regards,
Andreas Hausladen
(andy.jgknet.de/blog)
 

Re:Re: bcc32pch 2.6dev 12

Quote
In that case you could uncheck the "detailed messages" checkbox in the
bcc32pch configuration dialog.
I tried it, with no difference: 42-44s with dev 12, 42-37s with dev 5.
But I like the bugfixes, so I stay with dev 12.
Greetings,
Harald
 

{smallsort}

Re:Re: bcc32pch 2.6dev 12

On Wed, 5 Apr 2006 17:54:49 +0200, "Andreas Hausladen"
< XXXX@XXXXX.COM >wrote:
what is the way to pass additional parameters to individual projects?
for example if I like to use alternate linker for some project I use
Project - Execute Makefile and pass -DLINKER=<linker name>but it
isn't very convenient since it always remember latest executed
makefile (instead of currently selected project in project group which
might be useful) and I'd like to simply hit something like F9 in order
to automatically make project and run it to debug within IDE
--
Vladimir Ulchenko aka vavan
 

Re:Re: bcc32pch 2.6dev 12

vavan wrote:
Quote
what is the way to pass additional parameters to individual projects?
There is no way at the moment. But the code is already written.
--
Regards,
Andreas Hausladen
(andy.jgknet.de/blog)
 

Re:Re: bcc32pch 2.6dev 12

On Thu, 6 Apr 2006 17:49:50 +0200, "Andreas Hausladen"
< XXXX@XXXXX.COM >wrote:
Quote
There is no way at the moment. But the code is already written.
glad to hear that
another question is how to use LibExportRemover?
another problem I often encounter is that when project has compilation
errors and I double click on error in message window IDE highlights
wrong line though error message usually contains correct line number.
do you know what might cause such annoying misbehaviour?
thank you
--
Vladimir Ulchenko aka vavan
 

Re:Re: bcc32pch 2.6dev 12

vavan wrote:
Quote
wrong line though error message usually contains correct line number.
do you know what might cause such annoying misbehaviour?
I had this with files that have Unix line breaks (single \0x0a). The
Delphi compiler can't handle them. But I don't think that the C++ Compiler
has problems with Unit line breaks.
--
Regards,
Andreas Hausladen
(andy.jgknet.de/blog)
 

Re:Re: bcc32pch 2.6dev 12

On Fri, 7 Apr 2006 14:19:22 +0200, "Andreas Hausladen"
< XXXX@XXXXX.COM >wrote:
Quote
I had this with files that have Unix line breaks (single \0x0a). The
Delphi compiler can't handle them. But I don't think that the C++ Compiler
has problems with Unit line breaks.
this is definitely another issue since usually I have such problems
after I start using some templatized code etc.
--
Vladimir Ulchenko aka vavan
 

Re:Re: bcc32pch 2.6dev 12

On Thu, 6 Apr 2006 17:49:50 +0200, "Andreas Hausladen"
< XXXX@XXXXX.COM >wrote:
Quote
There is no way at the moment. But the code is already written.
good
another suggestion: introducing build configurations in bds is a step
to right direction from borland but they somehow forgot to allow
customization of used packages in project. so you either enable or
disable packages for your project (including all build configs)
I don't like it and usually create simple header file:
#ifndef COMMON_PROJECTNAME_H
#define COMMON_PROJECTNAME_H
// some project specific defines
#ifdef STATIC_BUILD
#pragma comment(lib,"package1.lib")
#pragma comment(lib,"package2.lib")
...
#pragma comment(lib,"packageN.lib")
#else
#pragma comment(lib,"package1.bpi")
#pragma comment(lib,"package2.bpi")
...
#pragma comment(lib,"packageN.bpi")
#endif
#endif
so one can uncheck 'Build with run-time packages' in project settings
once and simply define STATIC_BUILD for some configs in order to get
statically linked app
now the only problem is that your mak-file generator takes build-node
named 'libraries' where ide places package1.lib, packageN.lib when
aforementioned switch unchecked so I have to manually remove those
names from ALLLIB section of generated mak-file
it would be great if you supported such build model
what do you think?
--
Vladimir Ulchenko aka vavan