Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 387360 Details for
Bug 458154
app-crypt/gnupg with sys-devel/clang - In file included from ../gl/stdint.h:66: /usr/include/inttypes.h:298:8: error: unknown type name 'intmax_t'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
portion of config.log failing for clang in "checking whether stdint.h conforms to C99"
config.log (text/plain), 12.48 KB, created by
Matthias Maier
on 2014-10-25 22:09:19 UTC
(
hide
)
Description:
portion of config.log failing for clang in "checking whether stdint.h conforms to C99"
Filename:
MIME Type:
Creator:
Matthias Maier
Created:
2014-10-25 22:09:19 UTC
Size:
12.48 KB
patch
obsolete
>configure:14690: checking whether stdint.h conforms to C99 >configure:14822: clang -c -O2 -pipe conftest.c >&5 >In file included from conftest.c:183: >///usr/bin/../lib/clang/3.6.0/include/stdint.h:31:24: warning: #include_next with absolute path >#if __STDC_HOSTED__ && __has_include_next(<stdint.h>) > ^ >/usr/bin/../lib/clang/3.6.0/include/stdint.h:63:3: warning: #include_next with absolute path ># include_next <stdint.h> > ^ >conftest.c:203:16: error: 'b1' declared as an array with a negative size >typedef int b1[(unsigned char) -1 != 255 ? 1 : -1]; > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >conftest.c:214:1: error: unknown type name 'int_least8_t' >int_least8_t c1 = INT8_C (0x7f); >^ >conftest.c:214:19: warning: implicit declaration of function 'INT8_C' is invalid in C99 [-Wimplicit-function-declaration] >int_least8_t c1 = INT8_C (0x7f); > ^ >conftest.c:215:1: error: unknown type name 'int_least8_t' >int_least8_t c1max = INT_LEAST8_MAX; >^ >conftest.c:215:22: error: use of undeclared identifier 'INT_LEAST8_MAX' >int_least8_t c1max = INT_LEAST8_MAX; > ^ >conftest.c:216:1: error: unknown type name 'int_least8_t' >int_least8_t c1min = INT_LEAST8_MIN; >^ >conftest.c:216:22: error: use of undeclared identifier 'INT_LEAST8_MIN' >int_least8_t c1min = INT_LEAST8_MIN; > ^ >conftest.c:217:1: error: unknown type name 'int_least16_t' >int_least16_t c2 = INT16_C (0x7fff); >^ >conftest.c:217:20: warning: implicit declaration of function 'INT16_C' is invalid in C99 [-Wimplicit-function-declaration] >int_least16_t c2 = INT16_C (0x7fff); > ^ >conftest.c:218:1: error: unknown type name 'int_least16_t' >int_least16_t c2max = INT_LEAST16_MAX; >^ >conftest.c:218:23: error: use of undeclared identifier 'INT_LEAST16_MAX' >int_least16_t c2max = INT_LEAST16_MAX; > ^ >conftest.c:219:1: error: unknown type name 'int_least16_t' >int_least16_t c2min = INT_LEAST16_MIN; >^ >conftest.c:219:23: error: use of undeclared identifier 'INT_LEAST16_MIN' >int_least16_t c2min = INT_LEAST16_MIN; > ^ >conftest.c:220:1: error: unknown type name 'int_least32_t' >int_least32_t c3 = INT32_C (0x7fffffff); >^ >conftest.c:220:20: warning: implicit declaration of function 'INT32_C' is invalid in C99 [-Wimplicit-function-declaration] >int_least32_t c3 = INT32_C (0x7fffffff); > ^ >conftest.c:221:1: error: unknown type name 'int_least32_t' >int_least32_t c3max = INT_LEAST32_MAX; >^ >conftest.c:221:23: error: use of undeclared identifier 'INT_LEAST32_MAX' >int_least32_t c3max = INT_LEAST32_MAX; > ^ >conftest.c:222:1: error: unknown type name 'int_least32_t' >int_least32_t c3min = INT_LEAST32_MIN; >^ >conftest.c:222:23: error: use of undeclared identifier 'INT_LEAST32_MIN' >int_least32_t c3min = INT_LEAST32_MIN; > ^ >conftest.c:223:1: error: unknown type name 'int_least64_t' >int_least64_t c4 = INT64_C (0x7fffffffffffffff); >^ >conftest.c:223:20: warning: implicit declaration of function 'INT64_C' is invalid in C99 [-Wimplicit-function-declaration] >int_least64_t c4 = INT64_C (0x7fffffffffffffff); > ^ >conftest.c:224:1: error: unknown type name 'int_least64_t' >int_least64_t c4max = INT_LEAST64_MAX; >^ >conftest.c:224:23: error: use of undeclared identifier 'INT_LEAST64_MAX' >int_least64_t c4max = INT_LEAST64_MAX; > ^ >fatal error: too many errors emitted, stopping now [-ferror-limit=] >6 warnings and 20 errors generated. >configure:14822: $? = 1 >configure: failed program was: >| /* confdefs.h */ >| #define PACKAGE_NAME "gnupg" >| #define PACKAGE_TARNAME "gnupg" >| #define PACKAGE_VERSION "2.0.26" >| #define PACKAGE_STRING "gnupg 2.0.26" >| #define PACKAGE_BUGREPORT "http://bugs.gnupg.org" >| #define PACKAGE_URL "" >| #define PACKAGE "gnupg" >| #define VERSION "2.0.26" >| #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 _GNU_SOURCE 1 >| #define _POSIX_PTHREAD_SEMANTICS 1 >| #define _TANDEM_SOURCE 1 >| #define PACKAGE "gnupg" >| #define PACKAGE_GT "gnupg2" >| #define VERSION "2.0.26" >| #define PACKAGE_BUGREPORT "http://bugs.gnupg.org" >| #define NEED_LIBGCRYPT_VERSION "1.4.0" >| #define NEED_KSBA_VERSION "1.0.7" >| #define PK_UID_CACHE_SIZE 4096 >| #define EXEEXT "" >| #define GNUPG_LIBASSUAN_VERSION "2.1.2" >| #define HAVE_LIBUTIL 1 >| #define SHRED "/usr/bin/shred" >| #define HAVE_PTH 1 >| #define USE_GNU_PTH 1 >| #define USE_DNS_SRV 1 >| #define USE_DNS_PKA 1 >| #define USE_DNS_CERT 1 >| #define HAVE_LIBCURL 1 >| #define LIBCURL_VERNUM 0x072600 >| #define LIBCURL_FEATURE_SSL 1 >| #define LIBCURL_FEATURE_IPV6 1 >| #define LIBCURL_FEATURE_LIBZ 1 >| #define LIBCURL_FEATURE_NTLM 1 >| #define LIBCURL_FEATURE_NTLM_WB 1 >| #define LIBCURL_FEATURE_TLS_SRP 1 >| #define LIBCURL_PROTOCOL_DICT 1 >| #define LIBCURL_PROTOCOL_FILE 1 >| #define LIBCURL_PROTOCOL_FTP 1 >| #define LIBCURL_PROTOCOL_FTPS 1 >| #define LIBCURL_PROTOCOL_GOPHER 1 >| #define LIBCURL_PROTOCOL_HTTP 1 >| #define LIBCURL_PROTOCOL_HTTPS 1 >| #define LIBCURL_PROTOCOL_IMAP 1 >| #define LIBCURL_PROTOCOL_IMAPS 1 >| #define LIBCURL_PROTOCOL_POP3 1 >| #define LIBCURL_PROTOCOL_POP3S 1 >| #define LIBCURL_PROTOCOL_RTSP 1 >| #define LIBCURL_PROTOCOL_SMTP 1 >| #define LIBCURL_PROTOCOL_SMTPS 1 >| #define LIBCURL_PROTOCOL_TELNET 1 >| #define LIBCURL_PROTOCOL_TFTP 1 >| #define PRINTABLE_OS_NAME "GNU/Linux" >| #define HAVE_ICONV 1 >| #define ICONV_CONST >| #define ENABLE_NLS 1 >| #define HAVE_GETTEXT 1 >| #define HAVE_DCGETTEXT 1 >| #define HAVE_STRCHR 1 >| #define HAVE_LANGINFO_CODESET 1 >| #define HAVE_LC_MESSAGES 1 >| #define STDC_HEADERS 1 >| #define HAVE_STRING_H 1 >| #define HAVE_UNISTD_H 1 >| #define HAVE_LANGINFO_H 1 >| #define HAVE_TERMIO_H 1 >| #define HAVE_LOCALE_H 1 >| #define HAVE_GETOPT_H 1 >| #define HAVE_PTY_H 1 >| #define HAVE_UTMP_H 1 >| #define HAVE_PWD_H 1 >| #define HAVE_INTTYPES_H 1 >| #define TIME_WITH_SYS_TIME 1 >| #define RETSIGTYPE void >| #define HAVE_DECL_SYS_SIGLIST 1 >| #define HAVE_SYS_SOCKET_H 1 >| #define HAVE_SYS_TIME_H 1 >| #define HAVE_UNISTD_H 1 >| #define HAVE_WCHAR_H 1 >| #define HAVE_STDINT_H 1 >| #define LITTLE_ENDIAN_HOST 1 >| #define HAVE_USHORT_TYPEDEF 1 >| #define HAVE_ULONG_TYPEDEF 1 >| #define SIZEOF_UNSIGNED_SHORT 2 >| #define SIZEOF_UNSIGNED_INT 4 >| #define SIZEOF_UNSIGNED_LONG 8 >| #define SIZEOF_UNSIGNED_LONG_LONG 8 >| #define SIZEOF_TIME_T 8 >| #define SIZEOF_UINT64_T 8 >| #define HAVE_DECL_GETPAGESIZE 1 >| #define HAVE_FSEEKO 1 >| #define HAVE_VPRINTF 1 >| #define HAVE_FORK 1 >| #define HAVE_VFORK 1 >| #define HAVE_WORKING_VFORK 1 >| #define HAVE_WORKING_FORK 1 >| #define HAVE_STRERROR 1 >| #define HAVE_TCGETATTR 1 >| #define HAVE_MMAP 1 >| #define HAVE_STRCASECMP 1 >| #define HAVE_STRNCASECMP 1 >| #define HAVE_CTERMID 1 >| #define HAVE_TIMES 1 >| #define HAVE_GMTIME_R 1 >| #define HAVE_UNSETENV 1 >| #define HAVE_FCNTL 1 >| #define HAVE_FTRUNCATE 1 >| #define HAVE_INET_NTOP 1 >| #define HAVE_GETTIMEOFDAY 1 >| #define HAVE_GETRUSAGE 1 >| #define HAVE_GETRLIMIT 1 >| #define HAVE_SETRLIMIT 1 >| #define HAVE_CLOCK_GETTIME 1 >| #define HAVE_ATEXIT 1 >| #define HAVE_RAISE 1 >| #define HAVE_GETPAGESIZE 1 >| #define HAVE_STRFTIME 1 >| #define HAVE_NL_LANGINFO 1 >| #define HAVE_SETLOCALE 1 >| #define HAVE_WAITPID 1 >| #define HAVE_WAIT4 1 >| #define HAVE_SIGACTION 1 >| #define HAVE_SIGPROCMASK 1 >| #define HAVE_PIPE 1 >| #define HAVE_STAT 1 >| #define HAVE_GETADDRINFO 1 >| #define HAVE_TTYNAME 1 >| #define HAVE_RAND 1 >| #define HAVE_FTELLO 1 >| #define HAVE_FSYNC 1 >| #define HAVE_STAT 1 >| #define HAVE_STRUCT_SIGACTION 1 >| #define HAVE_SIGSET_T 1 >| #define HAVE_STPCPY 1 >| #define HAVE_STRSEP 1 >| #define HAVE_STRTOUL 1 >| #define HAVE_MEMMOVE 1 >| #define HAVE_STRTOL 1 >| #define HAVE_MEMRCHR 1 >| #define HAVE_ISASCII 1 >| #define HAVE_TIMEGM 1 >| #define HAVE_GETRUSAGE 1 >| #define HAVE_SETRLIMIT 1 >| #define HAVE_STAT 1 >| #define HAVE_SETLOCALE 1 >| #define HAVE_FLOCKFILE 1 >| #define HAVE_FUNLOCKFILE 1 >| #define HAVE_FOPENCOOKIE 1 >| #define HAVE_GETPWNAM 1 >| #define HAVE_GETPWUID 1 >| #define HAVE_ALLOCA_H 1 >| #define HAVE_ALLOCA 1 >| #define HAVE_STDLIB_H 1 >| #define MALLOC_0_IS_NONNULL 1 >| #define HAVE_LONG_LONG_INT 1 >| #define HAVE_LONG_DOUBLE 1 >| #define HAVE_UNSIGNED_LONG_LONG_INT 1 >| #define HAVE_ALLOCA 1 >| #define HAVE_ALLOCA_H 1 >| #define HAVE_MKDTEMP 1 >| #define HAVE_SETENV 1 >| #define HAVE_UNSETENV 1 >| #define HAVE_STDINT_H 1 >| #define ABSOLUTE_STDINT_H "///usr/bin/../lib/clang/3.6.0/include/stdint.h" >| /* end confdefs.h. */ >| >| >| #include <stddef.h> >| #define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */ >| #define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */ >| #include ABSOLUTE_STDINT_H >| #ifdef INT8_MAX >| int8_t a1 = INT8_MAX; >| int8_t a1min = INT8_MIN; >| #endif >| #ifdef INT16_MAX >| int16_t a2 = INT16_MAX; >| int16_t a2min = INT16_MIN; >| #endif >| #ifdef INT32_MAX >| int32_t a3 = INT32_MAX; >| int32_t a3min = INT32_MIN; >| #endif >| #ifdef INT64_MAX >| int64_t a4 = INT64_MAX; >| int64_t a4min = INT64_MIN; >| #endif >| #ifdef UINT8_MAX >| uint8_t b1 = UINT8_MAX; >| #else >| typedef int b1[(unsigned char) -1 != 255 ? 1 : -1]; >| #endif >| #ifdef UINT16_MAX >| uint16_t b2 = UINT16_MAX; >| #endif >| #ifdef UINT32_MAX >| uint32_t b3 = UINT32_MAX; >| #endif >| #ifdef UINT64_MAX >| uint64_t b4 = UINT64_MAX; >| #endif >| int_least8_t c1 = INT8_C (0x7f); >| int_least8_t c1max = INT_LEAST8_MAX; >| int_least8_t c1min = INT_LEAST8_MIN; >| int_least16_t c2 = INT16_C (0x7fff); >| int_least16_t c2max = INT_LEAST16_MAX; >| int_least16_t c2min = INT_LEAST16_MIN; >| int_least32_t c3 = INT32_C (0x7fffffff); >| int_least32_t c3max = INT_LEAST32_MAX; >| int_least32_t c3min = INT_LEAST32_MIN; >| int_least64_t c4 = INT64_C (0x7fffffffffffffff); >| int_least64_t c4max = INT_LEAST64_MAX; >| int_least64_t c4min = INT_LEAST64_MIN; >| uint_least8_t d1 = UINT8_C (0xff); >| uint_least8_t d1max = UINT_LEAST8_MAX; >| uint_least16_t d2 = UINT16_C (0xffff); >| uint_least16_t d2max = UINT_LEAST16_MAX; >| uint_least32_t d3 = UINT32_C (0xffffffff); >| uint_least32_t d3max = UINT_LEAST32_MAX; >| uint_least64_t d4 = UINT64_C (0xffffffffffffffff); >| uint_least64_t d4max = UINT_LEAST64_MAX; >| int_fast8_t e1 = INT_FAST8_MAX; >| int_fast8_t e1min = INT_FAST8_MIN; >| int_fast16_t e2 = INT_FAST16_MAX; >| int_fast16_t e2min = INT_FAST16_MIN; >| int_fast32_t e3 = INT_FAST32_MAX; >| int_fast32_t e3min = INT_FAST32_MIN; >| int_fast64_t e4 = INT_FAST64_MAX; >| int_fast64_t e4min = INT_FAST64_MIN; >| uint_fast8_t f1 = UINT_FAST8_MAX; >| uint_fast16_t f2 = UINT_FAST16_MAX; >| uint_fast32_t f3 = UINT_FAST32_MAX; >| uint_fast64_t f4 = UINT_FAST64_MAX; >| #ifdef INTPTR_MAX >| intptr_t g = INTPTR_MAX; >| intptr_t gmin = INTPTR_MIN; >| #endif >| #ifdef UINTPTR_MAX >| uintptr_t h = UINTPTR_MAX; >| #endif >| intmax_t i = INTMAX_MAX; >| uintmax_t j = UINTMAX_MAX; >| struct s { >| int check_PTRDIFF: PTRDIFF_MIN < 0 && 0 < PTRDIFF_MAX ? 1 : -1; >| int check_SIG_ATOMIC: SIG_ATOMIC_MIN <= 0 && 0 < SIG_ATOMIC_MAX ? 1 : -1; >| int check_SIZE: 0 < SIZE_MAX ? 1 : -1; >| int check_WCHAR: WCHAR_MIN <= 0 && 0 < WCHAR_MAX ? 1 : -1; >| int check_WINT: WINT_MIN <= 0 && 0 < WINT_MAX ? 1 : -1; >| >| /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others. */ >| int check_UINT8_C: >| (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1; >| int check_UINT16_C: >| (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1; >| >| /* Detect bugs in OpenBSD 3.9 stdint.h. */ >| #ifdef UINT8_MAX >| int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1; >| #endif >| #ifdef UINT16_MAX >| int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1; >| #endif >| #ifdef UINT32_MAX >| int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1; >| #endif >| #ifdef UINT64_MAX >| int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1; >| #endif >| int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1; >| int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1; >| int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1; >| int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1; >| int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1; >| int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1; >| int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1; >| int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1; >| int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1; >| int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1; >| int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1; >| }; >| >| int >| main () >| { >| >| ; >| return 0; >| } >configure:14827: result: no
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 458154
:
339282
| 387360