Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Apr 2013 09:38:49 -0700
From:      Gregory Shapiro <gshapiro@freebsd.org>
To:        Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc:        svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, Dimitry Andric <dim@FreeBSD.org>, Bruce Evans <brde@optusnet.com.au>
Subject:   Re: svn commit: r246880 - in head: lib/libsm libexec/mail.local libexec/smrsh share/mk usr.bin/vacation usr.sbin/sendmail
Message-ID:  <20130416163849.GZ681@rugsucker.smi.sendmail.com>
In-Reply-To: <87r4iaa6jd.fsf@saturn.laptop>
References:  <201302162017.r1GKHVdY022667@svn.freebsd.org> <87a9ozayzk.fsf@saturn.laptop> <516D13C5.70900@FreeBSD.org> <20130416205349.W1783@besplex.bde.org> <516D55C4.1050102@FreeBSD.org> <87r4iaa6jd.fsf@saturn.laptop>

next in thread | previous in thread | raw e-mail | index | archive | help
Just a quick comment that I will be committing a fix to the sendmail
source tree on FreeBSD to avoid this issue.  It will avoid loading
stdbool.h when clang is in use, thereby turning all bools to ints.
It will be checked in this weekend (currently being tested before
release).

/*
**  SM_CONF_STDBOOL_H is 1 if <stdbool.h> exists
**
**  Note, unlike gcc, clang doesn't apply full prototypes to K&R definitions.
*/

# ifndef SM_CONF_STDBOOL_H
#  if !defined(__clang__) && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
#   define SM_CONF_STDBOOL_H		1
#  else /* !defined(__clang__) && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L */
#   define SM_CONF_STDBOOL_H		0
#  endif /* !defined(__clang__) && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L */
# endif /* ! SM_CONF_STDBOOL_H */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130416163849.GZ681>