
One disadvantage - you can't use c-style variable arguments list with this convention. Is borland C++ not from before C++ was even standardized I'd recommend g++ (from the gnu compiler connection (gcc), which you can get as a part of MinGW for windows) with Code::Blocks or Eclipse as an IDE (you can get by just fine without one, but many people get scared when they're told to use the shell, even though by my experience people have just as many troubles getting used to an IDE. Such function will be little faster and smaller then ones using C calling convention.

BORLAND C++ 5.5 CODE
Also other features like Visual Dialog editing, Code browsing, Compiler error capturing/parsing, relocatability of project, customizable syntax coloring etc. MMX instructions set is also used with this options - it increases speed and also, decreases size (sorry no SSE instructions in stone age compiler -)) Complete IDE for the free Borland C/C++ 5.5 compiler.
BORLAND C++ 5.5 PRO
You can select Pentium Pro instructions set (-6 switch) which can reduce code size. The compiler for this IDE is bcc32.exe and the version is 5.2. BCC 5.5 compiles default using 80386 instructions set (-3 switch). The Borland C++ 5.02 is a IDE, the BGI is Borland Graphics Interface, is a Library offered by Borland for use the Graphics Mode in Dos Mode, the free compiler 5.5 is more recently. This version of the compiler is supported until the ACXE 5.4.1 and TAO 1.4.1 release.Don't use -Oi switch (Inline intrinsic functions) which will increase code size 5.5 ( Windows 95/98/NT/2000): Based on Borland C++Builder 5, it is a freeware compiler without the IDE from the parent product.
BORLAND C++ 5.5 TRIAL
Download a free trial of Borland C++ Builder from the web-site. Use -Ov (Induction variables) and -Og (Optimize common subexpressions) optimization switches, which could reduce code size. This example uses the Borland C++ 5.5.1 compiler. Your should use separate switches for different optimizations. Code optimizations - if you use aggregate -O2 switch, then all optimizations are enabled, program will be compiled to be fastest as possible, but not smallest.RTTI Option is enabled by default and you can switch it of using -RT- switch Create top level games, or add 3D content to your application. You may find it easier to get hold of a newer compiler. Borland C++ 5.5 Download Add the strongest 3D capabilities to your BorlandC++ Builder.


But there are also some other compiler options and other tricks, which could help you to reduce code size As it was noticed, you can't exclude exception handling from C++ library.
