Jan P. Kessler:
> 
> > 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.
> 
> Good hint, thank you. I was able to get a newer version of sunstudio
> (12.6) on that system. Now the build succeeds with "make WARN=". Am I
> right to assume that I can safely ignore these?
> 
>     "../../include/vstream.h", line 215: warning: syntax error:? empty
>     declaration
>     "../../include/vstream.h", line 216: warning: syntax error:? empty
>     declaration
>     "../../include/mail_server.h", line 78: warning: syntax error:?
>     empty declaration
>     "../../include/mail_server.h", line 79: warning: syntax error:?
>     empty declaration

No idea. It if works, great. Otherwise, try compiling with this
workaround:

    make makefiles CCARGS='DNO_INLINE ...'

makedefs says:

    -DNO_INLINE
         Do not require support for C99 "inline" functions.  Instead,
         implement argument typechecks for non-(printf/scanf)-like
         functions with ternary operators and unreachable code.
 
> Kind regards and again thank you for your help. It would save me a bunch
> of work and a lot of explanations if I could stay with sunstudio. There
> are a lot of depending libraries, that have been compiled with it and
> the systems will be migrated by middle/end of the year (byebye niagara).
> Therefore I didn't want to put too much work in this task.

        Wietse

Reply via email to