"Unknown Type Name" build failure(s) — clang 3.5.0

Some type detections are failing or wrong assumptions were made. For example, with strace, old configure are doing some tests on the bool (stdbool.h) declaration but fails on:
conftest.c:84:16: error: initializer element is not a compile-time constant
         int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Provided by the macro AC_HEADER_STDBOOL but removed in recent release of autoconf
PackageVersionSupposed error messageFull log Bug report
freebsd-libs 10.0-7./libutil.h:62:9: error: unknown type name '__size_t'; did you mean '__ssize_t'? Log
mingw-w64 3.1.0-4../../mingw-w64-tools/widl/include/winbase.h:1657:84: error: unknown type name '__builtin_ms_va_list'; did you mean '__builtin_va_list'? Log
nemiver 0.9.5-2./nmv-find-text-dialog.h:38:9: error: unknown type name 'SafePtr' Log

3 errors