Mombu the Programming Forum

Go Back   Mombu the Programming Forum > Programming > bcc32pch - commandline compiler replace for buildin compiler
User Name
Password
REGISTER NOW! Mark Forums Read




Reply
91 2nd January 11:08
wimbekker
Miembro
Mombu User
 
Join Date: Jan 2008
Location: nl
Posts: 2
wimbekker is on a distinguished road
Default Re: bcc32pch - commandline compiler replace for buildin compiler



Hi,

I don't know if this is the correct place, but version 2.75 (and maybe before that) has a problem with #pragma inline files. (C++Builder 6).

This pragma is needed when using asm statements. Without it, something goes wrong with the stack when building for release. But if I use it, compiling with bcc32ide gives the message "unresolved external .." for all exported functions in the file. When using the pragma, bcc32ide converts the names to lowercase, (shown with TDump). When using lowercase names, the linker still cannot find the methods.

B.T.W. Ommiting the pragma results in incorrect use of the stack when the stack is used i.e. for a function parameter and a local variable. Both bcc32 and bcc32ide mixup the esp and ebp registers.

Otherwise I'm very pleased with the speed improvement.

Wim
wimbekker is offline   Reply With Quote


 


Reply


Thread Tools
Display Modes




666