"Dr A Olowofoyeku" wrote:
On 19 Dec 99, at 21:06, Maurice Lombardi wrote:
LUJOP a écrit :
The output generated is: Bye<Hello Bye>Hello
Strange ! I find the correct result
Hello>Bye Bye<Hello
But I use the last alpha version of gpc. Is this a corrected bug ?
IIRC, the answer is "Yes".
Indeed. The bug was fixed Jan 26 which was after the release of the last beta version, but before the release of the subsequent alphas. (And, IIRC, the bug was "created" shortly before, so it only affects that one beta version.)
A real solution to this problem would require an update of the compiler, or at least the runtime library (libgpc.a).
As a work-around, you could possibly use the compiler directive `{$no-exact-compare-strings}' at the beginning of your code or pass the option `--no-exact-compare-strings' on the command line. This will cause spaces at the end of strings to be ignored in the comparison (like ISO 10206 demands).
The operators that compare that way were not affected by the bug, but of course, the bevahiour is a little different, so this might not be an option to you...
Frank