On Tue, Apr 24, 2012 at 08:59:53PM -0400, Wietse Venema wrote:
> The Doctor:
> > On Tue, Apr 24, 2012 at 08:21:05PM -0400, Wietse Venema wrote:
> > > The Doctor:
> > > > gcc -Wmissing-prototypes -Wformat -DUSE_SASL_AUTH -DUSE_CYRUS_SASL 
> > > > -DUSE_TLS -I/usr/include -I/usr/contrib/include/ 
> > > > -I/usr/contrib/include/sasl -DHAS_PCRE -g -O -I. -I../../include 
> > > > -DBSDI4 -c tls_client.c
> > > 
> > > Are you really building Postfix on BSD/OS 4.x? I should start
> > > trimming the list of supported configurations; I have not used
> > > BSD/OS for more than 10 years.
> > >
> > 
> > Yes.  2.8.X works nicely same with 2.9.0 and 2.9.1
> 
> If the BSD/OS 4.x compiler dies on #ifdefs in an argument list
> like this:
> 
>         SSL_set_options(TLScontext->con,
>                    ((protomask & TLS_PROTOCOL_TLSv1) ? SSL_OP_NO_TLSv1 : 0L)
> #ifdef SSL_OP_NO_TLSv1_1
>              | ((protomask & TLS_PROTOCOL_TLSv1_1) ? SSL_OP_NO_TLSv1_1 : 0L)
> #endif
> #ifdef SSL_OP_NO_TLSv1_2
>              | ((protomask & TLS_PROTOCOL_TLSv1_2) ? SSL_OP_NO_TLSv1_2 : 0L)
> #endif
>                  | ((protomask & TLS_PROTOCOL_SSLv3) ? SSL_OP_NO_SSLv3 : 0L)
>                | ((protomask & TLS_PROTOCOL_SSLv2) ? SSL_OP_NO_SSLv2 : 0L));
> 
> then I suppose that is the end of support for this platform. I don't
> have the time to set up this build environment and develop a
> workaround for what appears to be a 10-year old compiler bug.
> 
> You can work around this by removing the #ifdef and #endif shown
> above.

That works!

BTW, gcc being used is 3.2.3

> 
>       Wietse

-- 
Member - Liberal International  This is doc...@nl2k.ab.ca Ici doc...@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising! 
http://www.fullyfollow.me/rootnl2k  Alberta! VOTE!

Reply via email to