Mail Archives: djgpp/1992/02/06/04:29:46
> One notable problem, of course, was porting a large quantity of existing
> graphics code intended for Microsoft C. I created a .h file full of macros
^^^^^^
> and whatnot to translate the calls rather than putting a layer of
> expensive function calls in between.
The function inlining support in gcc is *almost* as good as macros.
I ported some gcc developed code to borland C++ 3.0 and noticed
to my horror that bc can't inline functions that contains for loops.
(Fortunately I only use bc as an advanced syntax checking editor :-)
An other problem with bc is that it takes all the available physical memory.
Go into bc and exit via a DOS shell and check how the memory is distributed.
(Using the dos command `mem'.)
I haven't been able to figure out how to tell bc not to clobber all memory.
(There sure are options to do it but they seems to have no effect.
There is, ofcourse, the risk that I have misunderstood something.)
- Raw text -