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 */
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to