Dear GPC Users,
The GPC manual says I can turn off range checking with {$R-} or with the
command-line option --no-range-checking. I tried both, but the compiler
gives me an error: unrecognised directive. I'm using GPC for MacOSX compiled
with GCC 3.3.
Can I turn off range checking?
I translated a few thousand lines of Code Warrior Pascal into GPC Pascal. As
I did so, I took the opportunity to make use of GPC's wonderful dynamic
schemata types, so I removed all my ugly pointer arithmatic, which I had
previously used to access dynamically allocated blocks of memory.
My translated code runs at half the speed of my original code. I don't think
it is the dynamic schemata, but I thought I would turn off the range
checking just to see.
What other default compiler options might slow down the code? Should I turn
off debugging information?
Yours, Kevan Hashemi