Jan P. Kessler:
> 
> > Try: make makefiles ...optional arguments... make WARN= Sorry, I
> > haven't built with /opt/SUNWspro/bin/cc for ~10 years. Wietse 
> 
> No problem. Seems like it's time for a change. After emptying WARN it
> looked promising, but then the build broke here:
> 
>     "milter.c", line 621: non-constant initializer involving a cast

That is a compiler bug.

    620 static ATTR_OVER_TIME time_table[] = {
    621     7 + VAR_MILT_CONN_TIME, DEF_MILT_CONN_TIME, 0, 1, 0,

VAR_MILT_CONN_TIME is a constant ("milter_connect_timeout") therefore
7 + VAR_MILT_CONN_TIME ("connect_timeout") is a constant.

This code was introduced in Postfix 3.0, and by that time I no
longer had a SUN compiler to play with at work, otherwise I might
have found a workaround.

        Wietse

Reply via email to