On Sun, Aug 15, 2004 at 11:25:59AM +0200, Thomas-Martin Seck wrote:
* David McKee (dmckee@jlab.org):
The code that is giving you trouble is valid under the new (1999) standard for "c", but invalid under the old (1982? ANSI standard, and under the original K&R compiler). Versions of gcc from 3.0 on accept c99 syntax, but older versions do not. I imagine that Jorge will get around to cleaning it up sooner or later. He has fixed this kind of thing in the past.
As the current mainainer of the dillo FreeBSD port I hope that the code stays "gcc 2.95 clean" for some time since FreeBSD uses gcc 2.95.4 as the system compiler on the 4.x series and 4.x is likely to stay around for quite a while, even after FreeBSD 5 is declared the "STABLE" development branch.
The original c99 patch introduced a memory leak, so a fixed version was commited. Yes, we do strive for code compatibility, and this kind of report is welcomed. -- Cheers Jorge.-