Re: troubles with buildworld/sendmail/sasl/clang

From: Anton Shterenlikht <mexas_at_bristol.ac.uk>
Date: Thu, 21 Mar 2013 14:16:08 GMT
	Kimmo Paasiala writes:

	>  > =================buildworld===============
	>  >
	>  > /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/usersmtp.c:1864:8:
	>  > error: incompatible pointer types passing 'void ()' to parameter of type
	>  > 'void (*)(char *, bool, MAILER *, struct mailer_con_info *, ENVELOPE *)'
	>  > [-Werror,-Wincompatible-pointer-types]
	>  >                                    getsasldata, NULL, XS_AUTH);
	>  >                                    ^~~~~~~~~~~
	>  > /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/sendmail.h:2519:67: note:
	>  > passing argument to parameter here
	>  > extern int      reply __P((MAILER *, MCI *, ENVELOPE *, time_t, void
	>  > (*)__P((char *, bool, MAILER *, MCI *, ENVELOPE *)), char **, int));
	>  >                                                                        ^
	>  > /usr/obj/usr/src/tmp/usr/include/sys/cdefs.h:129:21: note: expanded from
	>  > macro '__P'
	>  > #define __P(protos)     protos          /* full-blown ANSI C */
	>  >                         ^
	>  > 3 errors generated.
	>  > *** [usersmtp.o] Error code 1
	>  
	>  
	>  I can not help with the error but I really have to make this question:
	>  Does FreeBSD really have to support pre-ANSI C compilers in 2013?

		I have been getting this also for at least the last two months.
		(There is no src.conf; make.conf is appended.  Current system
	is:

	FreeBSD 10.0-CURRENT #0: Sun Dec 30 12:52:09 EST 2012  amd64 

		and I have cyrus-sasl-2.1.26_2 installed and working with that
	installation.)

		Respectfully,


				Robert Huff

me too, also on amd64 -current
no src.conf

# cat /etc/make.conf
SENDMAIL_CFLAGS+=   -I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS+=  -L/usr/local/lib
SENDMAIL_LDADD+=    -lsasl2
WITH_PKGNG=yes
PERL_VERSION=5.16.2

Anton
Received on Thu Mar 21 2013 - 13:16:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:35 UTC