bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: max_align_t fails with clang 6.1 on OS X 10.10


From: Werner LEMBERG
Subject: Re: max_align_t fails with clang 6.1 on OS X 10.10
Date: Tue, 29 Aug 2017 21:52:29 +0200 (CEST)

>>    checking for max_align_t... no
> 
> Why did this say "no" even though stddef.h evidently defines
> max_align_t? Please look for details in config.log.

Below.  For reference you can also find the complete `config.log' file
attached.


    Werner


======================================================================

...
uname -v = Darwin Kernel Version 14.5.0: Thu Apr 21 20:40:54 PDT 2016; 
root:xnu-2782.50.3~1/RELEASE_X86_64
...
configure:4590: gcc --version >&5
Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.5.0
...
configure:17517: checking for max_align_t
configure:17517: gcc -c -I/Users/travis/ttfautohint-build/local/include -g -O2  
conftest.c >&5
conftest.c:145:13: error: use of undeclared identifier 'max_align_t'
if (sizeof (max_align_t))
            ^
1 error generated.
configure:17517: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ttfautohint"
| #define PACKAGE_TARNAME "ttfautohint"
| #define PACKAGE_VERSION "1.7"
| #define PACKAGE_STRING "ttfautohint 1.7"
| #define PACKAGE_BUGREPORT "address@hidden"
| #define PACKAGE_URL ""
| #define PACKAGE "ttfautohint"
| #define VERSION "1.7"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define HAVE_CXX11 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_DECL_STRERROR_R 1
| #define HAVE_STRERROR_R 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYMLINK 1
| #define HAVE_GETPROGNAME 1
| #define HAVE_MPROTECT 1
| #define HAVE_STRERROR_R 1
| #define HAVE_CATGETS 1
| #define HAVE_SNPRINTF 1
| #define HAVE_STRNDUP 1
| #define HAVE_WORKING_O_NOATIME 0
| #define HAVE_WORKING_O_NOFOLLOW 1
| #define HAVE_GETOPT_H 1
| #define HAVE_GETOPT_LONG_ONLY 1
| #define USE_POSIX_THREADS 1
| #define MAP_ANONYMOUS MAP_ANON
| #define HAVE_MAP_ANONYMOUS 1
| #define HAVE_DECL_MEMMEM 1
| #define HAVE__BOOL 1
| #define HAVE_WCHAR_T 1
| #define HAVE_WINT_T 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define HAVE_LONG_LONG_INT 1
| #define BITSIZEOF_PTRDIFF_T 64
| #define BITSIZEOF_SIZE_T 64
| #define BITSIZEOF_SIG_ATOMIC_T 32
| #define BITSIZEOF_WCHAR_T 32
| #define BITSIZEOF_WINT_T 32
| #define HAVE_SIGNED_SIG_ATOMIC_T 1
| #define HAVE_SIGNED_WCHAR_T 1
| #define HAVE_SIGNED_WINT_T 1
| #define PTRDIFF_T_SUFFIX l
| #define SIZE_T_SUFFIX ul
| #define SIG_ATOMIC_T_SUFFIX 
| #define WCHAR_T_SUFFIX 
| #define WINT_T_SUFFIX 
| #define REPLACE_STRERROR_0 1
| #define HAVE_DECL_STRERROR_R 1
| #define restrict __restrict
| #define HAVE_RAW_DECL_FFSL 1
| #define HAVE_RAW_DECL_FFSLL 1
| #define HAVE_RAW_DECL_MEMMEM 1
| #define HAVE_RAW_DECL_STPCPY 1
| #define HAVE_RAW_DECL_STPNCPY 1
| #define HAVE_RAW_DECL_STRDUP 1
| #define HAVE_RAW_DECL_STRNCAT 1
| #define HAVE_RAW_DECL_STRNDUP 1
| #define HAVE_RAW_DECL_STRNLEN 1
| #define HAVE_RAW_DECL_STRPBRK 1
| #define HAVE_RAW_DECL_STRSEP 1
| #define HAVE_RAW_DECL_STRCASESTR 1
| #define HAVE_RAW_DECL_STRTOK_R 1
| #define HAVE_RAW_DECL_STRERROR_R 1
| #define HAVE_RAW_DECL_STRSIGNAL 1
| #define HAVE_DECL_STRNDUP 1
| #define HAVE_DECL_STRNLEN 1
| #define HAVE_DECL_STRTOK_R 1
| #define _USE_STD_STAT 1
| #define HAVE_INTTYPES_H_WITH_UINTMAX 1
| #define HAVE_STDINT_H_WITH_UINTMAX 1
| #define HAVE_INTMAX_T 1
| #define DBL_EXPBIT0_WORD 1
| #define DBL_EXPBIT0_BIT 20
| #define HAVE_SNPRINTF 1
| #define HAVE_STRNLEN 1
| #define HAVE_WCSLEN 1
| #define HAVE_WCSNLEN 1
| #define HAVE_MBRTOWC 1
| #define HAVE_WCRTOMB 1
| #define HAVE_DECL__SNPRINTF 0
| #define HAVE_SNPRINTF_RETVAL_C99 1
| #define HAVE_ALLOCA 1
| #define HAVE___BUILTIN_EXPECT 1
| #define GNULIB_DIRNAME 1
| #define HAVE_RAW_DECL_FCNTL 1
| #define HAVE_RAW_DECL_OPENAT 1
| #define __GETOPT_PREFIX rpl_
| #define HAVE_DECL_PROGRAM_INVOCATION_NAME 0
| #define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME 0
| #define HAVE_DECL___ARGV 0
| #define HAVE_VAR___PROGNAME 1
| #define GNULIB_TEST_ISATTY 1
| #define HAVE_PTHREAD_RWLOCK 1
| #define HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER 1
| #define HAVE_PTHREAD_MUTEX_RECURSIVE 1
| #define GNULIB_LOCK 1
| #define HAVE_MALLOC_POSIX 1
| #define GNULIB_TEST_MALLOC_POSIX 1
| #define GNULIB_TEST_MEMCHR 1
| #define HAVE_MEMMEM 1
| #define GNULIB_TEST_MEMMEM 1
| #define GNULIB_MSVC_NOTHROW 1
| #define HAVE_DECL_PROGRAM_INVOCATION_NAME 0
| #define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME 0
| #define HAVE_STDINT_H 1
| /* end confdefs.h.  */
| #include <stddef.h>
| 
| 
| int
| main ()
| {
| if (sizeof (max_align_t))
|        return 0;
|   ;
|   return 0;
| }
configure:17517: result: no

Attachment: config.log.xz
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]