Compiling trunk

Alan DeKok aland at deployingradius.com
Fri Jan 4 14:22:18 CET 2008


Stefan Winter wrote:
> Hi,
> 
> I managed to find an ancient box with gcc 2.95.3, and couldn't
> compile current CVS HEAD. I wonder if anyone cares; should I
> report further issues on such old compilers? In any case, this
> one here is:
...
> Proper C still requires that variable declarations are at the beginning of
> a block, even though recent compilers are quite forgiving in that respect.

  New C specifications are more forgiving, too.

> Reversing the two lines fixed it, if anyone cares enough.

  Yes.  I've fixed that, and the one in rlm_preprocess.

  However, other code (rlm_eap_tnc) still has this issue.  Fixing it is
a fair amount of work.

  Alan DeKok.



More information about the Freeradius-Devel mailing list