* modules/stdint-h: Renamed from modules/stdint.
* modules/stdint-h-tests: Renamed from modules/stdint-tests.
* modules/stdint-h-c++-tests: Renamed from modules/stdint-c++-tests.
* tests/test-stdint-h.c: Renamed from tests/test-stdint.c.
* tests/test-stdint-h-c++.cc: Renamed from tests/test-stdint-c++.cc.
* tests/test-stdint-h-c++2.cc: Renamed from tests/test-stdint-c++2.cc.
* doc/posix-headers/stdint.texi: Update.
* doc/gnulib-readme.texi: Update.
* doc/gnulib.texi: Update.
* modules/* (Depends-on): Update.
* modules/stdint: New file.
+2024-12-27 Bruno Haible <bruno@clisp.org>
+
+ Rename module stdint to stdint-h.
+ * modules/stdint-h: Renamed from modules/stdint.
+ * modules/stdint-h-tests: Renamed from modules/stdint-tests.
+ * modules/stdint-h-c++-tests: Renamed from modules/stdint-c++-tests.
+ * tests/test-stdint-h.c: Renamed from tests/test-stdint.c.
+ * tests/test-stdint-h-c++.cc: Renamed from tests/test-stdint-c++.cc.
+ * tests/test-stdint-h-c++2.cc: Renamed from tests/test-stdint-c++2.cc.
+ * doc/posix-headers/stdint.texi: Update.
+ * doc/gnulib-readme.texi: Update.
+ * doc/gnulib.texi: Update.
+ * modules/* (Depends-on): Update.
+ * modules/stdint: New file.
+
2024-12-27 Bruno Haible <bruno@clisp.org>
Rename module stddef to stddef-h.
@item
@code{<stdint.h>},
-@mindex stdint
-assuming the @code{stdint} module is used.
+@mindex stdint-h
+assuming the @code{stdint-h} module is used.
@xref{stdint.h}.
@item
either has to put a comment into @file{foobar/autogen.sh} saying
``Attention! This doesn't work with a pristine Gnulib, you need this
and that patch after checking out Gnulib,'' or it has to use the
-@samp{--avoid=stdint} option and provide the modified @code{stdint}
+@samp{--avoid=stdint-h} option and provide the modified @code{stdint-h}
module in a different directory.
The @option{--local-dir} option to @command{gnulib-tool} solves this
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/stdint.h.html}
-Gnulib module: stdint
-@mindex stdint
+Gnulib module: stdint-h
+@mindex stdint-h
Portability problems fixed by Gnulib:
@itemize
@code{#if}-time.
@end itemize
-The @code{stdint} module uses @code{#include_next}. If you wish to install
+The @code{stdint-h} module uses @code{#include_next}. If you wish to install
the generated stdint.h file under another name, typically in order to
be able to use some of the types defined by stdint.h in your public
header file, you could use the following Makefile.am-snippet:
idx
posix_memalign
stdckdint-h
-stdint
+stdint-h
configure.ac:
gl_ALIGNALLOC
Depends-on:
intprops
-stdint
+stdint-h
configure.ac:
Depends-on:
assert-h
-stdint
+stdint-h
configure.ac:
m4/malloc-align.m4
Depends-on:
-stdint
+stdint-h
posix_memalign
aligned_alloc
memalign
tests/macros.h
Depends-on:
-stdint
+stdint-h
configure.ac:
Depends-on:
assert-h
-stdint
+stdint-h
configure.ac:
limits-h
readlink
ssize_t
-stdint
+stdint-h
unistd
configure.ac:
Depends-on:
areadlink-with-size
-stdint
+stdint-h
readlinkat
at-internal
errno-h
Depends-on:
list
-stdint
+stdint-h
xsize
configure.ac:
Depends-on:
map
-stdint
+stdint-h
xsize
configure.ac:
Depends-on:
set
-stdint
+stdint-h
xsize
configure.ac:
builtin-expect
list
avltree-oset
-stdint
+stdint-h
xsize
configure.ac:
renameatu
stdbool-h
stdckdint-h
-stdint
+stdint-h
xalloc-oversized
configure.ac:
renameatu
stdbool-h
stdckdint-h
-stdint
+stdint-h
xalloc-die
configure.ac:
Depends-on:
extern-inline
-stdint
+stdint-h
configure.ac:
gen-header
extern-inline [$GL_GENERATE_BYTESWAP_H]
stdbool-h [$GL_GENERATE_BYTESWAP_H]
-stdint [$GL_GENERATE_BYTESWAP_H]
+stdint-h [$GL_GENERATE_BYTESWAP_H]
configure.ac:
gl_BYTESWAP
tests/macros.h
Depends-on:
-stdint
+stdint-h
byteswap-c++-tests
configure.ac:
lib/c-snprintf.c
Depends-on:
-stdint
+stdint-h
stdio
c-vsnzprintf
lib/c-snzprintf.c
Depends-on:
-stdint
+stdint-h
stdio
c-vasnprintf
assert-h
attribute
limits-h
-stdint
+stdint-h
stdio
mixin/printf-posix
free-posix
lib/c-vasprintf.c
Depends-on:
-stdint
+stdint-h
stdio
c-vasnprintf
lib/c-vaszprintf.c
Depends-on:
-stdint
+stdint-h
stdio
c-vasnprintf
lib/c-vsnprintf.c
Depends-on:
-stdint
+stdint-h
stdio
c-vsnzprintf
lib/c-vsnzprintf.c
Depends-on:
-stdint
+stdint-h
stdio
c-vasnprintf
thrd
lock
mtx
-stdint
+stdint-h
configure.ac:
AC_CHECK_DECLS_ONCE([alarm])
tests/macros.h
Depends-on:
-stdint
+stdint-h
configure.ac:
tests/macros.h
Depends-on:
-stdint
+stdint-h
configure.ac:
Depends-on:
list
-stdint
+stdint-h
xsize
configure.ac:
isnand-nolibm
nan
stdbool-h
-stdint
+stdint-h
configure.ac:
isnanf-nolibm
nan
stdbool-h
-stdint
+stdint-h
configure.ac:
m4/build-cc.m4
Depends-on:
-stdint
+stdint-h
endian
configure.ac:
m4/crc-x86_64.m4
Depends-on:
-stdint
+stdint-h
crc
configure.ac:
lib/arcfour.c
Depends-on:
-stdint
+stdint-h
configure.ac:
AC_REQUIRE([AC_C_RESTRICT])
m4/arctwo.m4
Depends-on:
-stdint
+stdint-h
bitrotate
configure.ac:
lib/des.h
Depends-on:
-stdint
+stdint-h
stdbool-h
memcmp
Depends-on:
alignasof
byteswap
-stdint
+stdint-h
configure.ac:
AC_REQUIRE([AC_C_RESTRICT])
byteswap
c99
extern-inline
-stdint
+stdint-h
configure.ac:
AC_REQUIRE([AC_C_RESTRICT])
lib/rijndael-api-fst.h
Depends-on:
-stdint
+stdint-h
configure.ac:
AC_REQUIRE([AC_C_RESTRICT])
byteswap
c99
extern-inline
-stdint
+stdint-h
configure.ac:
AC_REQUIRE([AC_C_RESTRICT])
byteswap
c99
extern-inline
-stdint
+stdint-h
configure.ac:
AC_REQUIRE([AC_C_RESTRICT])
byteswap
c99
extern-inline
-stdint
+stdint-h
u64
configure.ac:
byteswap
c99
extern-inline
-stdint
+stdint-h
configure.ac:
gl_SM3
dev-ino
same-inode
stdbool-h
-stdint
+stdint-h
configure.ac:
gl_CYCLE_CHECK
regex
stdbool-h
stddef-h
-stdint
+stdint-h
stdio
stdlib
string
Depends-on:
ino-map
hash
-stdint
+stdint-h
configure.ac:
Depends-on:
stdbool-h
-stdint
+stdint-h
get-rusage-as
configure.ac:
tests/macros.h
Depends-on:
-stdint
+stdint-h
configure.ac:
tests/macros.h
Depends-on:
-stdint
+stdint-h
configure.ac:
include_next
extern-inline [$GL_GENERATE_ENDIAN_H && test $ENDIAN_H_JUST_MISSING_STDINT = 0]
byteswap [$GL_GENERATE_ENDIAN_H && test $ENDIAN_H_JUST_MISSING_STDINT = 0]
-stdint [$GL_GENERATE_ENDIAN_H]
+stdint-h [$GL_GENERATE_ENDIAN_H]
configure.ac:
gl_ENDIAN_H
Depends-on:
assert-h
-stdint
+stdint-h
endian-c++-tests
configure.ac:
msvc-inval
read-file
stdbool-h
-stdint
+stdint-h
unistd
configure.ac:
tests/macros.h
Depends-on:
-stdint
+stdint-h
vma-iter
configure.ac:
isnand-nolibm
nan
stdbool-h
-stdint
+stdint-h
configure.ac:
isnanf-nolibm
nan
stdbool-h
-stdint
+stdint-h
configure.ac:
Depends-on:
stdbool-h
-stdint
+stdint-h
get-rusage-as
configure.ac:
once
tls
minmax
-stdint
+stdint-h
xalloc
configure.ac:
c99
largefile
stdbool-h
-stdint
+stdint-h
configure.ac:
gl_FSUSAGE
realloc-posix
stdbool-h
stddef-h
-stdint
+stdint-h
configure.ac:
gl_FUNC_FTS
tests/macros.h
Depends-on:
-stdint
+stdint-h
configure.ac:
m4/mmap-anon.m4
Depends-on:
-stdint
+stdint-h
unistd
extensions
getpagesize
m4/mmap-anon.m4
Depends-on:
-stdint
+stdint-h
unistd
extensions
getpagesize
stdio
extensions
limits-h [test $HAVE_GETDELIM = 0 || test $REPLACE_GETDELIM = 1]
-stdint [test $HAVE_GETDELIM = 0 || test $REPLACE_GETDELIM = 1]
+stdint-h [test $HAVE_GETDELIM = 0 || test $REPLACE_GETDELIM = 1]
errno-h [test $HAVE_GETDELIM = 0 || test $REPLACE_GETDELIM = 1]
configure.ac:
unistd
free-posix [test $HAVE_GETGROUPS = 0 || test $REPLACE_GETGROUPS = 1]
malloc-posix [test $HAVE_GETGROUPS = 0 || test $REPLACE_GETGROUPS = 1]
-stdint [test $HAVE_GETGROUPS = 0 || test $REPLACE_GETGROUPS = 1]
+stdint-h [test $HAVE_GETGROUPS = 0 || test $REPLACE_GETGROUPS = 1]
configure.ac:
gl_FUNC_GETGROUPS
limits-h
ssize_t
stdbool-h
-stdint
+stdint-h
freadptr
freadseek
memchr2
math-h
extensions
float-h [test $HAVE_GETPAYLOAD = 0 || test $REPLACE_GETPAYLOAD = 1]
-stdint [test $HAVE_GETPAYLOAD = 0 || test $REPLACE_GETPAYLOAD = 1]
+stdint-h [test $HAVE_GETPAYLOAD = 0 || test $REPLACE_GETPAYLOAD = 1]
isnand [test $HAVE_GETPAYLOAD = 0 || test $REPLACE_GETPAYLOAD = 1]
configure.ac:
math-h
extensions
float-h [test $HAVE_GETPAYLOADF = 0 || test $REPLACE_GETPAYLOADF = 1]
-stdint [test $HAVE_GETPAYLOADF = 0 || test $REPLACE_GETPAYLOADF = 1]
+stdint-h [test $HAVE_GETPAYLOADF = 0 || test $REPLACE_GETPAYLOADF = 1]
isnanf [test $HAVE_GETPAYLOADF = 0 || test $REPLACE_GETPAYLOADF = 1]
configure.ac:
extensions
getpayload [{ test $HAVE_GETPAYLOADL = 0 || test $REPLACE_GETPAYLOADL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1]
float-h [{ test $HAVE_GETPAYLOADL = 0 || test $REPLACE_GETPAYLOADL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
-stdint [{ test $HAVE_GETPAYLOADL = 0 || test $REPLACE_GETPAYLOADL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
+stdint-h [{ test $HAVE_GETPAYLOADL = 0 || test $REPLACE_GETPAYLOADL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
isnanl [{ test $HAVE_GETPAYLOADL = 0 || test $REPLACE_GETPAYLOADL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
snan [{ test $HAVE_GETPAYLOADL = 0 || test $REPLACE_GETPAYLOADL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
Depends-on:
sys_resource
-stdint [test $HAVE_GETRUSAGE = 0]
+stdint-h [test $HAVE_GETRUSAGE = 0]
configure.ac:
gl_FUNC_GETRUSAGE
getopt-gnu
idx
stdbool-h
-stdint
+stdint-h
stdlib
error
read-file
glibc-internal/scratch_buffer [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
stdbool-h [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
stdckdint-h [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
-stdint [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
+stdint-h [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
strdup [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
unistd [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
malloc-posix [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
flexmember
inttypes-h-incomplete
stdbool-h
-stdint
+stdint-h
verify
xalloc
free-posix
malloc-posix
stdbool-h
-stdint
+stdint-h
xalloc-oversized
configure.ac:
Depends-on:
map
-stdint
+stdint-h
xsize
c99
Depends-on:
set
-stdint
+stdint-h
xsize
c99
Depends-on:
endian
-stdint
+stdint-h
configure.ac:
memmove
xstrtoumax
stdbool-h
-stdint
+stdint-h
configure.ac:
gl_HUMAN
malloc-gnu
realloc-posix
reallocarray
-stdint
+stdint-h
configure.ac:
iconv
c-ctype [test $REPLACE_ICONV_OPEN = 1]
c-strcase [test $REPLACE_ICONV_OPEN = 1]
-stdint [test $REPLACE_ICONV_UTF = 1]
+stdint-h [test $REPLACE_ICONV_UTF = 1]
unistr/u8-mbtoucr [test $REPLACE_ICONV_UTF = 1]
unistr/u8-uctomb [test $REPLACE_ICONV_UTF = 1]
lib/idx.h
Depends-on:
-stdint
+stdint-h
configure.ac:
m4/nocrash.m4
Depends-on:
-stdint
+stdint-h
pathmax
open
once
Depends-on:
intprops
-stdint
+stdint-h
configure.ac:
gl_INTTOSTR
snippet/arg-nonnull
snippet/c++defs
snippet/warn-on-use
-stdint
+stdint-h
configure.ac:
gl_INTTYPES_INCOMPLETE
m4/valgrind-helper.m4
Depends-on:
-stdint
+stdint-h
configure.ac:
gl_VALGRIND_HELPER
clean-temp-simple
getpagesize
host-cpu-c-abi
-stdint
+stdint-h
xalloc
configure.ac:
Depends-on:
list
-stdint
+stdint-h
xsize
configure.ac:
Depends-on:
map
-stdint
+stdint-h
xsize
c99
Depends-on:
set
-stdint
+stdint-h
xsize
c99
Depends-on:
thread
-stdint
+stdint-h
once
usleep
yield
tests/macros.h
Depends-on:
-stdint
+stdint-h
configure.ac:
tests/macros.h
Depends-on:
-stdint
+stdint-h
configure.ac:
extensions-aix
idx
stdckdint-h
-stdint
+stdint-h
xalloc-oversized
configure.ac:
wchar
extensions
attribute [test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1]
-stdint [test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1]
+stdint-h [test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1]
hard-locale [{ test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; } && test $REPLACE_MBSTATE_T = 0]
mbsinit [{ test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; } && test $REPLACE_MBSTATE_T = 0]
assert-h [test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1]
tests/macros.h
Depends-on:
-stdint
+stdint-h
configure.ac:
lib/memchr2.valgrind
Depends-on:
-stdint
+stdint-h
memchr
configure.ac:
m4/memcmp.m4
Depends-on:
-stdint [test $gl_func_memcmp = no]
+stdint-h [test $gl_func_memcmp = no]
configure.ac:
gl_FUNC_MEMCMP
builtin-expect
extensions
string
-stdint
+stdint-h
memchr
memcmp
tests/macros.h
Depends-on:
-stdint
+stdint-h
vma-iter
configure.ac:
Depends-on:
stdlib
-stdint [test $HAVE_MKDTEMP = 0]
+stdint-h [test $HAVE_MKDTEMP = 0]
tempname [test $HAVE_MKDTEMP = 0]
configure.ac:
open
unlocked-io-internal
stdbool-h
-stdint
+stdint-h
strstr-simple
xalloc
Depends-on:
thrd
-stdint
+stdint-h
random
configure.ac:
gettext-h [test $HAVE_OBSTACK = 0 || test $REPLACE_OBSTACK = 1]
gnulib-i18n [test $HAVE_OBSTACK = 0 || test $REPLACE_OBSTACK = 1]
exitfail [test $HAVE_OBSTACK = 0 || test $REPLACE_OBSTACK = 1]
-stdint [test $HAVE_OBSTACK = 0 || test $REPLACE_OBSTACK = 1]
+stdint-h [test $HAVE_OBSTACK = 0 || test $REPLACE_OBSTACK = 1]
stdlib [test $HAVE_OBSTACK = 0 || test $REPLACE_OBSTACK = 1]
configure.ac:
gettext-h
gnulib-i18n
stdbool-h
-stdint
+stdint-h
stdlib
sys_select
unistd
gettext-h
gnulib-i18n
stdbool-h
-stdint
+stdint-h
stdlib
sys_select
unistd
tests/macros.h
Depends-on:
-stdint
+stdint-h
configure.ac:
Depends-on:
intprops
setenv
-stdint
+stdint-h
stpcpy
strftime-fixes
tests/macros.h
Depends-on:
-stdint
+stdint-h
configure.ac:
AC_CHECK_FUNCS_ONCE([getrlimit setrlimit])
quotearg-simple
localcharset
stdbool-h
-stdint
+stdint-h
uchar
xalloc
Depends-on:
c99
-stdint
+stdint-h
configure.ac:
dnl Check for prerequisites for memory fence checks.
Depends-on:
gettext
-stdint
+stdint-h
setenv
unsetenv
setlocale
stdlib
libc-config [test $HAVE_RANDOM = 0 || test $REPLACE_RANDOM = 1 || test $REPLACE_INITSTATE = 1 || test $REPLACE_SETSTATE = 1]
lock [test $HAVE_RANDOM = 0 || test $REPLACE_RANDOM = 1 || test $REPLACE_INITSTATE = 1 || test $REPLACE_SETSTATE = 1]
-stdint [test $HAVE_RANDOM = 0 || test $REPLACE_RANDOM = 1 || test $REPLACE_INITSTATE = 1 || test $REPLACE_SETSTATE = 1]
+stdint-h [test $HAVE_RANDOM = 0 || test $REPLACE_RANDOM = 1 || test $REPLACE_INITSTATE = 1 || test $REPLACE_SETSTATE = 1]
random_r [test $HAVE_RANDOM = 0 || test $REPLACE_RANDOM = 1 || test $REPLACE_INITSTATE = 1 || test $REPLACE_SETSTATE = 1]
configure.ac:
c99
libc-config [test $HAVE_RANDOM_R = 0 || test $REPLACE_RANDOM_R = 1]
stdlib
-stdint
+stdint-h
configure.ac:
gl_FUNC_RANDOM_R
Depends-on:
assert-h
extensions
-stdint
+stdint-h
string
configure.ac:
builtin-expect
list
rbtree-oset
-stdint
+stdint-h
xsize
configure.ac:
malloc-posix
memset_explicit
realloc-posix
-stdint
+stdint-h
sys_stat
configure.ac:
stat-time
gettimeofday
stdbool-h
-stdint
+stdint-h
strnlen
time-h
unlocked-io-internal
tests/macros.h
Depends-on:
-stdint
+stdint-h
configure.ac:
tests/macros.h
Depends-on:
-stdint
+stdint-h
configure.ac:
nl_langinfo [test $ac_use_included_regex = yes]
stdbool-h [test $ac_use_included_regex = yes]
stdckdint-h [test $ac_use_included_regex = yes]
-stdint [test $ac_use_included_regex = yes]
+stdint-h [test $ac_use_included_regex = yes]
verify [test $ac_use_included_regex = yes]
wchar [test $ac_use_included_regex = yes]
wcrtomb [test $ac_use_included_regex = yes]
stdbool-h
stddef-h
stdckdint-h
-stdint
+stdint-h
stdlib
string
sys_stat
isnand-nolibm
nan
stdbool-h
-stdint
+stdint-h
configure.ac:
isnanf-nolibm
nan
stdbool-h
-stdint
+stdint-h
configure.ac:
math-h
extensions
float-h [test $HAVE_SETPAYLOAD = 0]
-stdint [test $HAVE_SETPAYLOAD = 0]
+stdint-h [test $HAVE_SETPAYLOAD = 0]
signed-nan [test $HAVE_SETPAYLOAD = 0]
configure.ac:
math-h
extensions
float-h [test $HAVE_SETPAYLOADF = 0]
-stdint [test $HAVE_SETPAYLOADF = 0]
+stdint-h [test $HAVE_SETPAYLOADF = 0]
signed-nan [test $HAVE_SETPAYLOADF = 0]
configure.ac:
extensions
setpayload [test $HAVE_SETPAYLOADL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1]
float-h [test $HAVE_SETPAYLOADL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
-stdint [test $HAVE_SETPAYLOADL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
+stdint-h [test $HAVE_SETPAYLOADL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
signed-nan [test $HAVE_SETPAYLOADL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
snan [test $HAVE_SETPAYLOADL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
math-h
extensions
float-h [test $HAVE_SETPAYLOADSIG = 0]
-stdint [test $HAVE_SETPAYLOADSIG = 0]
+stdint-h [test $HAVE_SETPAYLOADSIG = 0]
signed-snan [test $HAVE_SETPAYLOADSIG = 0]
configure.ac:
math-h
extensions
float-h [test $HAVE_SETPAYLOADSIGF = 0]
-stdint [test $HAVE_SETPAYLOADSIGF = 0]
+stdint-h [test $HAVE_SETPAYLOADSIGF = 0]
signed-snan [test $HAVE_SETPAYLOADSIGF = 0]
configure.ac:
extensions
setpayloadsig [test $HAVE_SETPAYLOADSIGL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1]
float-h [test $HAVE_SETPAYLOADSIGL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
-stdint [test $HAVE_SETPAYLOADSIGL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
+stdint-h [test $HAVE_SETPAYLOADSIGL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
signed-snan [test $HAVE_SETPAYLOADSIGL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
configure.ac:
Depends-on:
signal-h
-stdint [test $HAVE_POSIX_SIGNALBLOCKING = 0]
+stdint-h [test $HAVE_POSIX_SIGNALBLOCKING = 0]
raise [test $HAVE_POSIX_SIGNALBLOCKING = 0]
msvc-inval [test $HAVE_POSIX_SIGNALBLOCKING = 0]
gen-header
havelib
host-cpu-c-abi
-stdint
+stdint-h
getpagesize
configure.ac:
m4/mmap-anon.m4
Depends-on:
-stdint
+stdint-h
configure.ac:
AC_CHECK_FUNCS_ONCE([setrlimit])
m4/atomic-cas.m4
Depends-on:
-stdint
+stdint-h
sparcv8+
configure.ac:
Depends-on:
unistd
assert-h [test $HAVE_SLEEP = 0 || test $REPLACE_SLEEP = 1]
-stdint [test $HAVE_SLEEP = 0 || test $REPLACE_SLEEP = 1]
+stdint-h [test $HAVE_SLEEP = 0 || test $REPLACE_SLEEP = 1]
configure.ac:
gl_FUNC_SLEEP
Depends-on:
stdio
errno-h [test $ac_cv_func_snprintf = no || test $REPLACE_SNPRINTF = 1]
-stdint [test $ac_cv_func_snprintf = no || test $REPLACE_SNPRINTF = 1]
+stdint-h [test $ac_cv_func_snprintf = no || test $REPLACE_SNPRINTF = 1]
vsnzprintf [test $ac_cv_func_snprintf = no || test $REPLACE_SNPRINTF = 1]
configure.ac:
Depends-on:
c99
-stdint
+stdint-h
float-h
nan
snan
stdio
vasnprintf
errno-h
-stdint
+stdint-h
configure.ac:
gl_STDIO_MODULE_INDICATOR([snzprintf])
close
msvc-inval
stdbool-h
-stdint
+stdint-h
configure.ac:
multiarch
vszprintf [test $REPLACE_SPRINTF = 1]
mixin/printf-posix [test $REPLACE_SPRINTF = 1]
-stdint [test $REPLACE_SPRINTF = 1]
+stdint-h [test $REPLACE_SPRINTF = 1]
errno-h [test $REPLACE_SPRINTF = 1]
configure.ac:
Depends-on:
c99
-stdint
+stdint-h
float-h
nan
snan
Depends-on:
libc-config
stdbool-h
-stdint
+stdint-h
assert-h
configure.ac:
Depends-on:
libc-config
stdbool-h
-stdint
+stdint-h
assert-h
configure.ac:
Depends-on:
libc-config
stdbool-h
-stdint
+stdint-h
assert-h
configure.ac:
Depends-on:
libc-config
stdbool-h
-stdint
+stdint-h
assert-h
configure.ac:
Depends-on:
libc-config
stdbool-h
-stdint
+stdint-h
assert-h
configure.ac:
Depends-on:
libc-config
stdbool-h
-stdint
+stdint-h
assert-h
configure.ac:
Depends-on:
libc-config
stdbool-h
-stdint
+stdint-h
assert-h
configure.ac:
Depends-on:
libc-config
stdbool-h
-stdint
+stdint-h
assert-h
configure.ac:
Depends-on:
libc-config
stdbool-h
-stdint
+stdint-h
assert-h
configure.ac:
Depends-on:
libc-config
stdbool-h
-stdint
+stdint-h
assert-h
configure.ac:
Depends-on:
libc-config
stdbool-h
-stdint
+stdint-h
assert-h
configure.ac:
Depends-on:
libc-config
stdbool-h
-stdint
+stdint-h
assert-h
configure.ac:
Depends-on:
libc-config
stdbool-h
-stdint
+stdint-h
assert-h
configure.ac:
Depends-on:
libc-config
stdbool-h
-stdint
+stdint-h
assert-h
configure.ac:
Description:
A GNU-like <stdint.h>.
-It nearly conforms to C99 and to ISO/IEC TS 18661-1:2014.
-Assumes typical host with 8-bit bytes, two's complement
-representation, and no padding or trap representations, with int
-widths equal to 8, 16, 32, and 64 bits. {uint,int}_fast{8,16,32,64}_t
-may not correspond to the fastest types available on the system.
-Macros are used instead of typedefs.
+
+Status:
+deprecated
+
+Notice:
+This module is deprecated. Use the module 'stdint-h' instead.
Files:
-lib/stdint.in.h
-m4/stdint.m4
-m4/wint_t.m4
Depends-on:
-gen-header
-include_next
-limits-h
-multiarch
-sys_types
+stdint-h
configure.ac:
-gl_STDINT_H
-gl_CONDITIONAL_HEADER([stdint.h])
-dnl Because of gl_REPLACE_LIMITS_H:
-gl_CONDITIONAL_HEADER([limits.h])
-AC_PROG_MKDIR_P
Makefile.am:
-BUILT_SOURCES += $(STDINT_H)
-
-# We need the following in order to create <stdint.h> when the system
-# doesn't have one that works with the given compiler.
-if GL_GENERATE_STDINT_H
-stdint.h: stdint.in.h $(top_builddir)/config.status
-@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
- $(gl_V_at)$(SED_HEADER_STDOUT) \
- -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
- -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
- -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
- -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
- -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
- -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
- -e 's/@''HAVE_C99_STDINT_H''@/$(HAVE_C99_STDINT_H)/g' \
- -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
- -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
- -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
- -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
- -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
- -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
- -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
- -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
- -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
- -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
- -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
- -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
- -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
- -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
- -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
- -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
- -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
- -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
- -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
- -e 's/@''GNULIBHEADERS_OVERRIDE_WINT_T''@/$(GNULIBHEADERS_OVERRIDE_WINT_T)/g' \
- $(srcdir)/stdint.in.h > $@-t
- $(AM_V_at)mv $@-t $@
-else
-stdint.h: $(top_builddir)/config.status
- rm -f $@
-endif
-MOSTLYCLEANFILES += stdint.h stdint.h-t
Include:
<stdint.h>
LGPLv2+
Maintainer:
-all
+++ /dev/null
-Files:
-tests/test-stdint-c++.cc
-tests/test-stdint-c++2.cc
-
-Status:
-c++-test
-
-Depends-on:
-ansi-c++-opt
-
-configure.ac:
-
-Makefile.am:
-if ANSICXX
-TESTS += test-stdint-c++
-check_PROGRAMS += test-stdint-c++
-test_stdint_c___SOURCES = test-stdint-c++.cc test-stdint-c++2.cc
-endif
--- /dev/null
+Description:
+A GNU-like <stdint.h>.
+It nearly conforms to C99 and to ISO/IEC TS 18661-1:2014.
+Assumes typical host with 8-bit bytes, two's complement
+representation, and no padding or trap representations, with int
+widths equal to 8, 16, 32, and 64 bits. {uint,int}_fast{8,16,32,64}_t
+may not correspond to the fastest types available on the system.
+Macros are used instead of typedefs.
+
+Files:
+lib/stdint.in.h
+m4/stdint.m4
+m4/wint_t.m4
+
+Depends-on:
+gen-header
+include_next
+limits-h
+multiarch
+sys_types
+
+configure.ac:
+gl_STDINT_H
+gl_CONDITIONAL_HEADER([stdint.h])
+dnl Because of gl_REPLACE_LIMITS_H:
+gl_CONDITIONAL_HEADER([limits.h])
+AC_PROG_MKDIR_P
+
+Makefile.am:
+BUILT_SOURCES += $(STDINT_H)
+
+# We need the following in order to create <stdint.h> when the system
+# doesn't have one that works with the given compiler.
+if GL_GENERATE_STDINT_H
+stdint.h: stdint.in.h $(top_builddir)/config.status
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
+ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
+ -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
+ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
+ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
+ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
+ -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
+ -e 's/@''HAVE_C99_STDINT_H''@/$(HAVE_C99_STDINT_H)/g' \
+ -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
+ -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
+ -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
+ -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
+ -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
+ -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
+ -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
+ -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
+ -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
+ -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
+ -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
+ -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
+ -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
+ -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
+ -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
+ -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
+ -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
+ -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
+ -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
+ -e 's/@''GNULIBHEADERS_OVERRIDE_WINT_T''@/$(GNULIBHEADERS_OVERRIDE_WINT_T)/g' \
+ $(srcdir)/stdint.in.h > $@-t
+ $(AM_V_at)mv $@-t $@
+else
+stdint.h: $(top_builddir)/config.status
+ rm -f $@
+endif
+MOSTLYCLEANFILES += stdint.h stdint.h-t
+
+Include:
+<stdint.h>
+
+License:
+LGPLv2+
+
+Maintainer:
+all
--- /dev/null
+Files:
+tests/test-stdint-h-c++.cc
+tests/test-stdint-h-c++2.cc
+
+Status:
+c++-test
+
+Depends-on:
+ansi-c++-opt
+
+configure.ac:
+
+Makefile.am:
+if ANSICXX
+TESTS += test-stdint-h-c++
+check_PROGRAMS += test-stdint-h-c++
+test_stdint_h_c___SOURCES = test-stdint-h-c++.cc test-stdint-h-c++2.cc
+endif
--- /dev/null
+Files:
+tests/test-stdint-h.c
+m4/wint_t.m4
+
+Depends-on:
+extensions
+verify
+intprops
+wchar
+stdint-h-c++-tests
+
+configure.ac:
+AC_REQUIRE([gt_TYPE_WINT_T])
+
+Makefile.am:
+TESTS += test-stdint-h
+check_PROGRAMS += test-stdint-h
+++ /dev/null
-Files:
-tests/test-stdint.c
-m4/wint_t.m4
-
-Depends-on:
-extensions
-verify
-intprops
-wchar
-stdint-c++-tests
-
-configure.ac:
-AC_REQUIRE([gt_TYPE_WINT_T])
-
-Makefile.am:
-TESTS += test-stdint
-check_PROGRAMS += test-stdint
Depends-on:
inttypes-h-incomplete
assert-h [test $HAVE_DECL_STRTOIMAX = 0 || test $REPLACE_STRTOIMAX = 1]
-stdint [test $HAVE_DECL_STRTOIMAX = 0 || test $REPLACE_STRTOIMAX = 1]
+stdint-h [test $HAVE_DECL_STRTOIMAX = 0 || test $REPLACE_STRTOIMAX = 1]
strtoll [test $HAVE_DECL_STRTOIMAX = 0 || test $REPLACE_STRTOIMAX = 1]
configure.ac:
Depends-on:
inttypes-h-incomplete
assert-h [test $HAVE_DECL_STRTOUMAX = 0 || test $REPLACE_STRTOUMAX = 1]
-stdint [test $HAVE_DECL_STRTOUMAX = 0 || test $REPLACE_STRTOUMAX = 1]
+stdint-h [test $HAVE_DECL_STRTOUMAX = 0 || test $REPLACE_STRTOUMAX = 1]
strtoull [test $HAVE_DECL_STRTOUMAX = 0 || test $REPLACE_STRTOUMAX = 1]
configure.ac:
Depends-on:
extensions
libc-config [test $HAVE_STRVERSCMP = 0 || test $REPLACE_STRVERSCMP = 1]
-stdint [test $HAVE_STRVERSCMP = 0 || test $REPLACE_STRVERSCMP = 1]
+stdint-h [test $HAVE_STRVERSCMP = 0 || test $REPLACE_STRVERSCMP = 1]
string
configure.ac:
Depends-on:
list
-stdint
+stdint-h
configure.ac:
stdio
vasnprintf
errno-h
-stdint
+stdint-h
configure.ac:
gl_STDIO_MODULE_INDICATOR([szprintf])
lstat
mkdir
stdbool-h
-stdint
+stdint-h
sys_stat
time-h
Depends-on:
threadlib
-stdint
+stdint-h
extern-inline
windows-thread [test $gl_threads_api = windows]
pthread_sigmask [test $gl_threads_api = posix]
Depends-on:
threads-h-c++-tests
thrd
-stdint
+stdint-h
random
configure.ac:
Depends-on:
thread
lock
-stdint
+stdint-h
yield
random
totalordermag [{ test $HAVE_TOTALORDERMAGL = 0 || test $REPLACE_TOTALORDERMAGL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1]
float-h [{ test $HAVE_TOTALORDERMAGL = 0 || test $REPLACE_TOTALORDERMAGL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
stdbool-h [{ test $HAVE_TOTALORDERMAGL = 0 || test $REPLACE_TOTALORDERMAGL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
-stdint [{ test $HAVE_TOTALORDERMAGL = 0 || test $REPLACE_TOTALORDERMAGL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
+stdint-h [{ test $HAVE_TOTALORDERMAGL = 0 || test $REPLACE_TOTALORDERMAGL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
verify [{ test $HAVE_TOTALORDERMAGL = 0 || test $REPLACE_TOTALORDERMAGL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
isnanl [{ test $HAVE_TOTALORDERMAGL = 0 || test $REPLACE_TOTALORDERMAGL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
signbit [{ test $HAVE_TOTALORDERMAGL = 0 || test $REPLACE_TOTALORDERMAGL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
isnand-nolibm
nan
stdbool-h
-stdint
+stdint-h
configure.ac:
isnanf-nolibm
nan
stdbool-h
-stdint
+stdint-h
configure.ac:
tests/macros.h
Depends-on:
-stdint
+stdint-h
configure.ac:
TEST_TSEARCH_LIBM=
Depends-on:
thrd
mtx
-stdint
+stdint-h
random
configure.ac:
byteswap
extern-inline
stdbool-h
-stdint
+stdint-h
configure.ac:
snippet/warn-on-use
extern-inline
assert-h
-stdint
+stdint-h
wchar
wctype-h
m4/inttypes_h.m4
Depends-on:
-stdint
+stdint-h
limits-h
unitypes
wchar
Depends-on:
unistdio/u-printf-args
-stdint
+stdint-h
xsize
configure.ac:
unistr/u32-strlen
unistr/u32-strmblen
attribute
-stdint
+stdint-h
mixin/printf-posix
nocrash
printf-safe
Depends-on:
unistdio/base
unistdio/u16-u16-vasnprintf
-stdint
+stdint-h
errno-h
configure.ac:
unistr/u32-strlen
unistr/u32-strmblen
attribute
-stdint
+stdint-h
mixin/printf-posix
nocrash
printf-safe
Depends-on:
unistdio/base
unistdio/u16-vasnprintf
-stdint
+stdint-h
errno-h
configure.ac:
Depends-on:
unistdio/u-printf-args
-stdint
+stdint-h
xsize
configure.ac:
unistr/u32-strlen
unistr/u32-strmblen
attribute
-stdint
+stdint-h
mixin/printf-posix
nocrash
printf-safe
Depends-on:
unistdio/base
unistdio/u32-u32-vasnprintf
-stdint
+stdint-h
errno-h
configure.ac:
unistr/u32-strlen
unistr/u32-strmblen
attribute
-stdint
+stdint-h
mixin/printf-posix
nocrash
printf-safe
Depends-on:
unistdio/base
unistdio/u32-vasnprintf
-stdint
+stdint-h
errno-h
configure.ac:
Depends-on:
stdbool-h
-stdint
+stdint-h
physmem
unistr/u8-strlen
Depends-on:
unistdio/u-printf-args
-stdint
+stdint-h
xsize
configure.ac:
unistr/u32-strlen
unistr/u32-strmblen
attribute
-stdint
+stdint-h
mixin/printf-posix
nocrash
printf-safe
Depends-on:
unistdio/base
unistdio/u8-u8-vasnprintf
-stdint
+stdint-h
errno-h
configure.ac:
unistr/u32-strlen
unistr/u32-strmblen
attribute
-stdint
+stdint-h
mixin/printf-posix
nocrash
printf-safe
Depends-on:
unistdio/base
unistdio/u8-vasnprintf
-stdint
+stdint-h
errno-h
configure.ac:
Depends-on:
stdbool-h
-stdint
+stdint-h
physmem
configure.ac:
Depends-on:
unistdio/u-printf-args
-stdint
+stdint-h
xsize
c-ctype
unistr/u32-strlen
unistr/u32-strmblen
attribute
-stdint
+stdint-h
mbsnlen
mixin/printf-posix
nocrash
Depends-on:
unistdio/base
unistdio/ulc-vasnprintf
-stdint
+stdint-h
errno-h
configure.ac:
Depends-on:
gen-header
-stdint
+stdint-h
configure.ac:
gl_LIBUNISTRING_LIBHEADER([0.9.11], [unitypes.h])
utimensat
intprops
stdbool-h
-stdint
+stdint-h
assert-h
configure.ac:
float-h
free-posix
limits-h
-stdint
+stdint-h
xsize
errno-h
memchr
Depends-on:
stdbool-h
-stdint
+stdint-h
physmem
configure.ac:
Depends-on:
c99
-stdint
+stdint-h
float-h
nan
snan
float-h
free-posix
limits-h
-stdint
+stdint-h
xsize
errno-h
memchr
Depends-on:
stdbool-h
-stdint
+stdint-h
physmem
configure.ac:
Depends-on:
c99
-stdint
+stdint-h
float-h
nan
snan
extensions
vasnprintf [test $HAVE_VASPRINTF = 0 || test $REPLACE_VASPRINTF = 1]
errno-h [test $HAVE_VASPRINTF = 0 || test $REPLACE_VASPRINTF = 1]
-stdint [test $HAVE_VASPRINTF = 0 || test $REPLACE_VASPRINTF = 1]
+stdint-h [test $HAVE_VASPRINTF = 0 || test $REPLACE_VASPRINTF = 1]
configure.ac:
gl_FUNC_VASPRINTF
Depends-on:
c99
-stdint
+stdint-h
float-h
nan
snan
stdio
vasnprintf
errno-h
-stdint
+stdint-h
configure.ac:
gl_STDIO_MODULE_INDICATOR([vaszprintf])
tests/macros.h
Depends-on:
-stdint
+stdint-h
configure.ac:
tests/macros.h
Depends-on:
-stdint
+stdint-h
configure.ac:
tests/macros.h
Depends-on:
-stdint
+stdint-h
configure.ac:
tests/macros.h
Depends-on:
-stdint
+stdint-h
configure.ac:
tests/macros.h
Depends-on:
-stdint
+stdint-h
configure.ac:
m4/mmap-anon.m4
Depends-on:
-stdint
+stdint-h
unistd
extensions
getpagesize
lib/vma-prot.c
Depends-on:
-stdint
+stdint-h
vma-iter
configure.ac:
tests/macros.h
Depends-on:
-stdint
+stdint-h
configure.ac:
Depends-on:
stdio
errno-h [test $ac_cv_func_vsnprintf = no || test $REPLACE_VSNPRINTF = 1]
-stdint [test $ac_cv_func_vsnprintf = no || test $REPLACE_VSNPRINTF = 1]
+stdint-h [test $ac_cv_func_vsnprintf = no || test $REPLACE_VSNPRINTF = 1]
vsnzprintf [test $ac_cv_func_vsnprintf = no || test $REPLACE_VSNPRINTF = 1]
configure.ac:
Depends-on:
c99
-stdint
+stdint-h
float-h
nan
snan
stdio
vasnprintf
errno-h
-stdint
+stdint-h
configure.ac:
gl_STDIO_MODULE_INDICATOR([vsnzprintf])
multiarch
vszprintf [test $REPLACE_VSPRINTF = 1]
mixin/printf-posix [test $REPLACE_VSPRINTF = 1]
-stdint [test $REPLACE_VSPRINTF = 1]
+stdint-h [test $REPLACE_VSPRINTF = 1]
errno-h [test $REPLACE_VSPRINTF = 1]
configure.ac:
Depends-on:
c99
-stdint
+stdint-h
float-h
nan
snan
stdio
vasnprintf
errno-h
-stdint
+stdint-h
configure.ac:
gl_STDIO_MODULE_INDICATOR([vszprintf])
tests/macros.h
Depends-on:
-stdint
+stdint-h
configure.ac:
findprog-in
msvc-nothrow
stdbool-h
-stdint
+stdint-h
stdlib
strpbrk
unistd
realloc-posix
reallocarray
stdckdint-h
-stdint
+stdint-h
xalloc-die
configure.ac:
lib/xalloc-oversized.h
Depends-on:
-stdint
+stdint-h
configure.ac:
tests/macros.h
Depends-on:
-stdint
+stdint-h
configure.ac:
Depends-on:
intprops
stdckdint-h
-stdint
+stdint-h
configure.ac:
gl_XSTRTOL
tests/macros.h
Depends-on:
-stdint
+stdint-h
configure.ac:
+++ /dev/null
-/* Test of <stdint.h> substitute in C++ mode.
- Copyright (C) 2019-2024 Free Software Foundation, Inc.
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <https://www.gnu.org/licenses/>. */
-
-/* Written by Bruno Haible <bruno@clisp.org>, 2019. */
-
-#define GNULIB_NAMESPACE gnulib
-#include <config.h>
-
-#include <stdint.h>
-
-
-int
-main ()
-{
-}
+++ /dev/null
-/* Test of <stdint.h> substitute in C++ mode.
- Copyright (C) 2019-2024 Free Software Foundation, Inc.
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <https://www.gnu.org/licenses/>. */
-
-#define GNULIB_NAMESPACE gnulib
-#include <config.h>
-
-#if __cplusplus >= 201103
-
-# include <cstdint>
-
-#endif
--- /dev/null
+/* Test of <stdint.h> substitute in C++ mode.
+ Copyright (C) 2019-2024 Free Software Foundation, Inc.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>. */
+
+/* Written by Bruno Haible <bruno@clisp.org>, 2019. */
+
+#define GNULIB_NAMESPACE gnulib
+#include <config.h>
+
+#include <stdint.h>
+
+
+int
+main ()
+{
+}
--- /dev/null
+/* Test of <stdint.h> substitute in C++ mode.
+ Copyright (C) 2019-2024 Free Software Foundation, Inc.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>. */
+
+#define GNULIB_NAMESPACE gnulib
+#include <config.h>
+
+#if __cplusplus >= 201103
+
+# include <cstdint>
+
+#endif
--- /dev/null
+/* Test of <stdint.h> substitute.
+ Copyright (C) 2006-2024 Free Software Foundation, Inc.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>. */
+
+/* Written by Bruno Haible <bruno@clisp.org>, 2006. */
+
+#include <config.h>
+
+/* Whether to enable pedantic checks. */
+#define DO_PEDANTIC 0
+
+#include <stdint.h>
+
+#include "verify.h"
+#include "intprops.h"
+
+#if ((__GNUC__ >= 2) || (__clang_major__ >= 4)) && DO_PEDANTIC
+# define verify_same_types(expr1,expr2) \
+ extern void _verify_func(__LINE__) (__typeof__ (expr1) *); \
+ extern void _verify_func(__LINE__) (__typeof__ (expr2) *);
+# define _verify_func(line) _verify_func2(line)
+# define _verify_func2(line) verify_func_ ## line
+#else
+# define verify_same_types(expr1,expr2) extern void verify_func (int)
+#endif
+
+/* 7.18.1.1. Exact-width integer types */
+/* 7.18.2.1. Limits of exact-width integer types */
+
+int8_t a1[3] = { INT8_C (17), INT8_MIN, INT8_MAX };
+verify (TYPE_MINIMUM (int8_t) == INT8_MIN);
+verify (TYPE_MAXIMUM (int8_t) == INT8_MAX);
+verify_same_types (INT8_MIN, (int8_t) 0 + 0);
+verify_same_types (INT8_MAX, (int8_t) 0 + 0);
+
+int16_t a2[3] = { INT16_C (17), INT16_MIN, INT16_MAX };
+verify (TYPE_MINIMUM (int16_t) == INT16_MIN);
+verify (TYPE_MAXIMUM (int16_t) == INT16_MAX);
+verify_same_types (INT16_MIN, (int16_t) 0 + 0);
+verify_same_types (INT16_MAX, (int16_t) 0 + 0);
+
+int32_t a3[3] = { INT32_C (17), INT32_MIN, INT32_MAX };
+verify (TYPE_MINIMUM (int32_t) == INT32_MIN);
+verify (TYPE_MAXIMUM (int32_t) == INT32_MAX);
+verify_same_types (INT32_MIN, (int32_t) 0 + 0);
+verify_same_types (INT32_MAX, (int32_t) 0 + 0);
+
+#ifdef INT64_MAX
+int64_t a4[3] = { INT64_C (17), INT64_MIN, INT64_MAX };
+verify (TYPE_MINIMUM (int64_t) == INT64_MIN);
+verify (TYPE_MAXIMUM (int64_t) == INT64_MAX);
+verify_same_types (INT64_MIN, (int64_t) 0 + 0);
+verify_same_types (INT64_MAX, (int64_t) 0 + 0);
+#endif
+
+uint8_t b1[2] = { UINT8_C (17), UINT8_MAX };
+verify (TYPE_MAXIMUM (uint8_t) == UINT8_MAX);
+verify_same_types (UINT8_MAX, (uint8_t) 0 + 0);
+
+uint16_t b2[2] = { UINT16_C (17), UINT16_MAX };
+verify (TYPE_MAXIMUM (uint16_t) == UINT16_MAX);
+verify_same_types (UINT16_MAX, (uint16_t) 0 + 0);
+
+uint32_t b3[2] = { UINT32_C (17), UINT32_MAX };
+verify (TYPE_MAXIMUM (uint32_t) == UINT32_MAX);
+verify_same_types (UINT32_MAX, (uint32_t) 0 + 0);
+
+#ifdef UINT64_MAX
+uint64_t b4[2] = { UINT64_C (17), UINT64_MAX };
+verify (TYPE_MAXIMUM (uint64_t) == UINT64_MAX);
+verify_same_types (UINT64_MAX, (uint64_t) 0 + 0);
+#endif
+
+#if INT8_MIN && INT8_MAX && INT16_MIN && INT16_MAX && INT32_MIN && INT32_MAX
+/* ok */
+#else
+err or;
+#endif
+
+#if UINT8_MAX && UINT16_MAX && UINT32_MAX
+/* ok */
+#else
+err or;
+#endif
+
+/* 7.18.1.2. Minimum-width integer types */
+/* 7.18.2.2. Limits of minimum-width integer types */
+
+int_least8_t c1[3] = { 17, INT_LEAST8_MIN, INT_LEAST8_MAX };
+verify (TYPE_MINIMUM (int_least8_t) == INT_LEAST8_MIN);
+verify (TYPE_MAXIMUM (int_least8_t) == INT_LEAST8_MAX);
+verify_same_types (INT_LEAST8_MIN, (int_least8_t) 0 + 0);
+verify_same_types (INT_LEAST8_MAX, (int_least8_t) 0 + 0);
+
+int_least16_t c2[3] = { 17, INT_LEAST16_MIN, INT_LEAST16_MAX };
+verify (TYPE_MINIMUM (int_least16_t) == INT_LEAST16_MIN);
+verify (TYPE_MAXIMUM (int_least16_t) == INT_LEAST16_MAX);
+verify_same_types (INT_LEAST16_MIN, (int_least16_t) 0 + 0);
+verify_same_types (INT_LEAST16_MAX, (int_least16_t) 0 + 0);
+
+int_least32_t c3[3] = { 17, INT_LEAST32_MIN, INT_LEAST32_MAX };
+verify (TYPE_MINIMUM (int_least32_t) == INT_LEAST32_MIN);
+verify (TYPE_MAXIMUM (int_least32_t) == INT_LEAST32_MAX);
+verify_same_types (INT_LEAST32_MIN, (int_least32_t) 0 + 0);
+verify_same_types (INT_LEAST32_MAX, (int_least32_t) 0 + 0);
+
+#ifdef INT_LEAST64_MAX
+int_least64_t c4[3] = { 17, INT_LEAST64_MIN, INT_LEAST64_MAX };
+verify (TYPE_MINIMUM (int_least64_t) == INT_LEAST64_MIN);
+verify (TYPE_MAXIMUM (int_least64_t) == INT_LEAST64_MAX);
+verify_same_types (INT_LEAST64_MIN, (int_least64_t) 0 + 0);
+verify_same_types (INT_LEAST64_MAX, (int_least64_t) 0 + 0);
+#endif
+
+uint_least8_t d1[2] = { 17, UINT_LEAST8_MAX };
+verify (TYPE_MAXIMUM (uint_least8_t) == UINT_LEAST8_MAX);
+verify_same_types (UINT_LEAST8_MAX, (uint_least8_t) 0 + 0);
+
+uint_least16_t d2[2] = { 17, UINT_LEAST16_MAX };
+verify (TYPE_MAXIMUM (uint_least16_t) == UINT_LEAST16_MAX);
+verify_same_types (UINT_LEAST16_MAX, (uint_least16_t) 0 + 0);
+
+uint_least32_t d3[2] = { 17, UINT_LEAST32_MAX };
+verify (TYPE_MAXIMUM (uint_least32_t) == UINT_LEAST32_MAX);
+verify_same_types (UINT_LEAST32_MAX, (uint_least32_t) 0 + 0);
+
+#ifdef UINT_LEAST64_MAX
+uint_least64_t d4[2] = { 17, UINT_LEAST64_MAX };
+verify (TYPE_MAXIMUM (uint_least64_t) == UINT_LEAST64_MAX);
+verify_same_types (UINT_LEAST64_MAX, (uint_least64_t) 0 + 0);
+#endif
+
+#if INT_LEAST8_MIN && INT_LEAST8_MAX && INT_LEAST16_MIN && INT_LEAST16_MAX && INT_LEAST32_MIN && INT_LEAST32_MAX
+/* ok */
+#else
+err or;
+#endif
+
+#if UINT_LEAST8_MAX && UINT_LEAST16_MAX && UINT_LEAST32_MAX
+/* ok */
+#else
+err or;
+#endif
+
+/* 7.18.1.3. Fastest minimum-width integer types */
+/* 7.18.2.3. Limits of fastest minimum-width integer types */
+
+int_fast8_t e1[3] = { 17, INT_FAST8_MIN, INT_FAST8_MAX };
+verify (TYPE_MINIMUM (int_fast8_t) == INT_FAST8_MIN);
+verify (TYPE_MAXIMUM (int_fast8_t) == INT_FAST8_MAX);
+verify_same_types (INT_FAST8_MIN, (int_fast8_t) 0 + 0);
+verify_same_types (INT_FAST8_MAX, (int_fast8_t) 0 + 0);
+
+int_fast16_t e2[3] = { 17, INT_FAST16_MIN, INT_FAST16_MAX };
+verify (TYPE_MINIMUM (int_fast16_t) == INT_FAST16_MIN);
+verify (TYPE_MAXIMUM (int_fast16_t) == INT_FAST16_MAX);
+verify_same_types (INT_FAST16_MIN, (int_fast16_t) 0 + 0);
+verify_same_types (INT_FAST16_MAX, (int_fast16_t) 0 + 0);
+
+int_fast32_t e3[3] = { 17, INT_FAST32_MIN, INT_FAST32_MAX };
+verify (TYPE_MINIMUM (int_fast32_t) == INT_FAST32_MIN);
+verify (TYPE_MAXIMUM (int_fast32_t) == INT_FAST32_MAX);
+verify_same_types (INT_FAST32_MIN, (int_fast32_t) 0 + 0);
+verify_same_types (INT_FAST32_MAX, (int_fast32_t) 0 + 0);
+
+#ifdef INT_FAST64_MAX
+int_fast64_t e4[3] = { 17, INT_FAST64_MIN, INT_FAST64_MAX };
+verify (TYPE_MINIMUM (int_fast64_t) == INT_FAST64_MIN);
+verify (TYPE_MAXIMUM (int_fast64_t) == INT_FAST64_MAX);
+verify_same_types (INT_FAST64_MIN, (int_fast64_t) 0 + 0);
+verify_same_types (INT_FAST64_MAX, (int_fast64_t) 0 + 0);
+#endif
+
+uint_fast8_t f1[2] = { 17, UINT_FAST8_MAX };
+verify (TYPE_MAXIMUM (uint_fast8_t) == UINT_FAST8_MAX);
+verify_same_types (UINT_FAST8_MAX, (uint_fast8_t) 0 + 0);
+
+uint_fast16_t f2[2] = { 17, UINT_FAST16_MAX };
+verify (TYPE_MAXIMUM (uint_fast16_t) == UINT_FAST16_MAX);
+verify_same_types (UINT_FAST16_MAX, (uint_fast16_t) 0 + 0);
+
+uint_fast32_t f3[2] = { 17, UINT_FAST32_MAX };
+verify (TYPE_MAXIMUM (uint_fast32_t) == UINT_FAST32_MAX);
+verify_same_types (UINT_FAST32_MAX, (uint_fast32_t) 0 + 0);
+
+#ifdef UINT_FAST64_MAX
+uint_fast64_t f4[2] = { 17, UINT_FAST64_MAX };
+verify (TYPE_MAXIMUM (uint_fast64_t) == UINT_FAST64_MAX);
+verify_same_types (UINT_FAST64_MAX, (uint_fast64_t) 0 + 0);
+#endif
+
+#if INT_FAST8_MIN && INT_FAST8_MAX && INT_FAST16_MIN && INT_FAST16_MAX && INT_FAST32_MIN && INT_FAST32_MAX
+/* ok */
+#else
+err or;
+#endif
+
+#if UINT_FAST8_MAX && UINT_FAST16_MAX && UINT_FAST32_MAX
+/* ok */
+#else
+err or;
+#endif
+
+/* 7.18.1.4. Integer types capable of holding object pointers */
+/* 7.18.2.4. Limits of integer types capable of holding object pointers */
+
+#ifdef INTPTR_MAX
+intptr_t g[3] = { 17, INTPTR_MIN, INTPTR_MAX };
+verify (sizeof (void *) <= sizeof (intptr_t));
+# ifndef __CHERI_PURE_CAPABILITY__
+verify (TYPE_MINIMUM (intptr_t) == INTPTR_MIN);
+verify (TYPE_MAXIMUM (intptr_t) == INTPTR_MAX);
+# endif
+verify_same_types (INTPTR_MIN, (intptr_t) 0 + 0);
+verify_same_types (INTPTR_MAX, (intptr_t) 0 + 0);
+#endif
+
+#ifdef UINTPTR_MAX
+uintptr_t h[2] = { 17, UINTPTR_MAX };
+verify (sizeof (void *) <= sizeof (uintptr_t));
+# ifndef __CHERI_PURE_CAPABILITY__
+verify (TYPE_MAXIMUM (uintptr_t) == UINTPTR_MAX);
+# endif
+verify_same_types (UINTPTR_MAX, (uintptr_t) 0 + 0);
+#endif
+
+/* 7.18.1.5. Greatest-width integer types */
+/* 7.18.2.5. Limits of greatest-width integer types */
+
+intmax_t i[3] = { INTMAX_C (17), INTMAX_MIN, INTMAX_MAX };
+verify (TYPE_MINIMUM (intmax_t) == INTMAX_MIN);
+verify (TYPE_MAXIMUM (intmax_t) == INTMAX_MAX);
+verify_same_types (INTMAX_MIN, (intmax_t) 0 + 0);
+verify_same_types (INTMAX_MAX, (intmax_t) 0 + 0);
+
+uintmax_t j[2] = { UINTMAX_C (17), UINTMAX_MAX };
+verify (TYPE_MAXIMUM (uintmax_t) == UINTMAX_MAX);
+verify_same_types (UINTMAX_MAX, (uintmax_t) 0 + 0);
+
+/* Older Sun C and HP-UX 10.20 cc don't support 'long long' constants in
+ the preprocessor. */
+#if !((defined __SUNPRO_C && __SUNPRO_C < 0x5150) \
+ || (defined __hpux && !defined __GNUC__))
+#if INTMAX_MIN && INTMAX_MAX && UINTMAX_MAX
+/* ok */
+#else
+err or;
+#endif
+#endif
+
+/* 7.18.3. Limits of other integer types */
+
+#include <stddef.h>
+
+verify (TYPE_MINIMUM (ptrdiff_t) == PTRDIFF_MIN);
+verify (TYPE_MAXIMUM (ptrdiff_t) == PTRDIFF_MAX);
+verify_same_types (PTRDIFF_MIN, (ptrdiff_t) 0 + 0);
+verify_same_types (PTRDIFF_MAX, (ptrdiff_t) 0 + 0);
+
+#if PTRDIFF_MIN && PTRDIFF_MAX
+/* ok */
+#else
+err or;
+#endif
+
+#include <signal.h>
+
+verify (TYPE_MINIMUM (sig_atomic_t) == SIG_ATOMIC_MIN);
+verify (TYPE_MAXIMUM (sig_atomic_t) == SIG_ATOMIC_MAX);
+verify_same_types (SIG_ATOMIC_MIN, (sig_atomic_t) 0 + 0);
+verify_same_types (SIG_ATOMIC_MAX, (sig_atomic_t) 0 + 0);
+
+#if SIG_ATOMIC_MIN != 17 && SIG_ATOMIC_MAX
+/* ok */
+#else
+err or;
+#endif
+
+verify (TYPE_MAXIMUM (size_t) == SIZE_MAX);
+verify_same_types (SIZE_MAX, (size_t) 0 + 0);
+
+#if SIZE_MAX
+/* ok */
+#else
+err or;
+#endif
+
+verify (TYPE_MINIMUM (wchar_t) == WCHAR_MIN);
+verify (TYPE_MAXIMUM (wchar_t) == WCHAR_MAX);
+verify_same_types (WCHAR_MIN, (wchar_t) 0 + 0);
+verify_same_types (WCHAR_MAX, (wchar_t) 0 + 0);
+
+#if WCHAR_MIN != 17 && WCHAR_MAX
+/* ok */
+#else
+err or;
+#endif
+
+#if HAVE_WINT_T
+# include <wchar.h>
+
+verify (TYPE_MINIMUM (wint_t) == WINT_MIN);
+verify (TYPE_MAXIMUM (wint_t) == WINT_MAX);
+verify_same_types (WINT_MIN, (wint_t) 0 + 0);
+verify_same_types (WINT_MAX, (wint_t) 0 + 0);
+
+# if WINT_MIN != 17 && WINT_MAX
+/* ok */
+# else
+err or;
+# endif
+#endif
+
+/* 7.18.4. Macros for integer constants */
+
+verify (INT8_C (17) == 17);
+verify_same_types (INT8_C (17), (int_least8_t)0 + 0);
+verify (UINT8_C (17) == 17);
+verify_same_types (UINT8_C (17), (uint_least8_t)0 + 0);
+
+verify (INT16_C (17) == 17);
+verify_same_types (INT16_C (17), (int_least16_t)0 + 0);
+verify (UINT16_C (17) == 17);
+verify_same_types (UINT16_C (17), (uint_least16_t)0 + 0);
+
+verify (INT32_C (17) == 17);
+verify_same_types (INT32_C (17), (int_least32_t)0 + 0);
+verify (UINT32_C (17) == 17);
+verify_same_types (UINT32_C (17), (uint_least32_t)0 + 0);
+
+#ifdef INT64_C
+verify (INT64_C (17) == 17);
+verify_same_types (INT64_C (17), (int_least64_t)0 + 0);
+#endif
+#ifdef UINT64_C
+verify (UINT64_C (17) == 17);
+verify_same_types (UINT64_C (17), (uint_least64_t)0 + 0);
+#endif
+
+verify (INTMAX_C (17) == 17);
+verify_same_types (INTMAX_C (17), (intmax_t)0 + 0);
+verify (UINTMAX_C (17) == 17);
+verify_same_types (UINTMAX_C (17), (uintmax_t)0 + 0);
+
+/* Use _GL_VERIFY (with a fixed-length diagnostic string) rather than verify,
+ because the latter would require forming each stringified expression, and
+ many of these would be so long as to trigger a warning/error like this:
+
+ test-stdint.c:407:1: error: string length '6980' is greater than the \
+ length '4095' ISO C99 compilers are required to support \
+ [-Werror=overlength-strings]
+ */
+#define verify_width(width, min, max) \
+ _GL_VERIFY ((max) >> ((width) - 1 - ((min) < 0)) == 1, \
+ "verify_width check", -)
+
+/* Macros specified by ISO/IEC TS 18661-1:2014. */
+
+#ifdef INT8_MAX
+verify_width (INT8_WIDTH, INT8_MIN, INT8_MAX);
+#endif
+#ifdef UINT8_MAX
+verify_width (UINT8_WIDTH, 0, UINT8_MAX);
+#endif
+#ifdef INT16_MAX
+verify_width (INT16_WIDTH, INT16_MIN, INT16_MAX);
+#endif
+#ifdef UINT16_MAX
+verify_width (UINT16_WIDTH, 0, UINT16_MAX);
+#endif
+#ifdef INT32_MAX
+verify_width (INT32_WIDTH, INT32_MIN, INT32_MAX);
+#endif
+#ifdef UINT32_MAX
+verify_width (UINT32_WIDTH, 0, UINT32_MAX);
+#endif
+#ifdef INT64_MAX
+verify_width (INT64_WIDTH, INT64_MIN, INT64_MAX);
+#endif
+#ifdef UINT64_MAX
+verify_width (UINT64_WIDTH, 0, UINT64_MAX);
+#endif
+verify_width (INT_LEAST8_WIDTH, INT_LEAST8_MIN, INT_LEAST8_MAX);
+verify_width (UINT_LEAST8_WIDTH, 0, UINT_LEAST8_MAX);
+verify_width (INT_LEAST16_WIDTH, INT_LEAST16_MIN, INT_LEAST16_MAX);
+verify_width (UINT_LEAST16_WIDTH, 0, UINT_LEAST16_MAX);
+verify_width (INT_LEAST32_WIDTH, INT_LEAST32_MIN, INT_LEAST32_MAX);
+verify_width (UINT_LEAST32_WIDTH, 0, UINT_LEAST32_MAX);
+verify_width (INT_LEAST64_WIDTH, INT_LEAST64_MIN, INT_LEAST64_MAX);
+verify_width (UINT_LEAST64_WIDTH, 0, UINT_LEAST64_MAX);
+verify_width (INT_FAST8_WIDTH, INT_FAST8_MIN, INT_FAST8_MAX);
+verify_width (UINT_FAST8_WIDTH, 0, UINT_FAST8_MAX);
+verify_width (INT_FAST16_WIDTH, INT_FAST16_MIN, INT_FAST16_MAX);
+verify_width (UINT_FAST16_WIDTH, 0, UINT_FAST16_MAX);
+verify_width (INT_FAST32_WIDTH, INT_FAST32_MIN, INT_FAST32_MAX);
+verify_width (UINT_FAST32_WIDTH, 0, UINT_FAST32_MAX);
+verify_width (INT_FAST64_WIDTH, INT_FAST64_MIN, INT_FAST64_MAX);
+verify_width (UINT_FAST64_WIDTH, 0, UINT_FAST64_MAX);
+#ifndef __CHERI_PURE_CAPABILITY__
+# ifdef INTPTR_WIDTH
+verify_width (INTPTR_WIDTH, INTPTR_MIN, INTPTR_MAX);
+# endif
+# ifdef UINTPTR_WIDTH
+verify_width (UINTPTR_WIDTH, 0, UINTPTR_MAX);
+# endif
+#endif
+verify_width (INTMAX_WIDTH, INTMAX_MIN, INTMAX_MAX);
+verify_width (UINTMAX_WIDTH, 0, UINTMAX_MAX);
+verify_width (PTRDIFF_WIDTH, PTRDIFF_MIN, PTRDIFF_MAX);
+verify_width (SIZE_WIDTH, 0, SIZE_MAX);
+verify_width (WCHAR_WIDTH, WCHAR_MIN, WCHAR_MAX);
+#ifdef WINT_MAX
+verify_width (WINT_WIDTH, WINT_MIN, WINT_MAX);
+#endif
+#ifdef SIG_ATOMIC_MAX
+verify_width (SIG_ATOMIC_WIDTH, SIG_ATOMIC_MIN, SIG_ATOMIC_MAX);
+#endif
+
+int
+main (void)
+{
+ return 0;
+}
+++ /dev/null
-/* Test of <stdint.h> substitute.
- Copyright (C) 2006-2024 Free Software Foundation, Inc.
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <https://www.gnu.org/licenses/>. */
-
-/* Written by Bruno Haible <bruno@clisp.org>, 2006. */
-
-#include <config.h>
-
-/* Whether to enable pedantic checks. */
-#define DO_PEDANTIC 0
-
-#include <stdint.h>
-
-#include "verify.h"
-#include "intprops.h"
-
-#if ((__GNUC__ >= 2) || (__clang_major__ >= 4)) && DO_PEDANTIC
-# define verify_same_types(expr1,expr2) \
- extern void _verify_func(__LINE__) (__typeof__ (expr1) *); \
- extern void _verify_func(__LINE__) (__typeof__ (expr2) *);
-# define _verify_func(line) _verify_func2(line)
-# define _verify_func2(line) verify_func_ ## line
-#else
-# define verify_same_types(expr1,expr2) extern void verify_func (int)
-#endif
-
-/* 7.18.1.1. Exact-width integer types */
-/* 7.18.2.1. Limits of exact-width integer types */
-
-int8_t a1[3] = { INT8_C (17), INT8_MIN, INT8_MAX };
-verify (TYPE_MINIMUM (int8_t) == INT8_MIN);
-verify (TYPE_MAXIMUM (int8_t) == INT8_MAX);
-verify_same_types (INT8_MIN, (int8_t) 0 + 0);
-verify_same_types (INT8_MAX, (int8_t) 0 + 0);
-
-int16_t a2[3] = { INT16_C (17), INT16_MIN, INT16_MAX };
-verify (TYPE_MINIMUM (int16_t) == INT16_MIN);
-verify (TYPE_MAXIMUM (int16_t) == INT16_MAX);
-verify_same_types (INT16_MIN, (int16_t) 0 + 0);
-verify_same_types (INT16_MAX, (int16_t) 0 + 0);
-
-int32_t a3[3] = { INT32_C (17), INT32_MIN, INT32_MAX };
-verify (TYPE_MINIMUM (int32_t) == INT32_MIN);
-verify (TYPE_MAXIMUM (int32_t) == INT32_MAX);
-verify_same_types (INT32_MIN, (int32_t) 0 + 0);
-verify_same_types (INT32_MAX, (int32_t) 0 + 0);
-
-#ifdef INT64_MAX
-int64_t a4[3] = { INT64_C (17), INT64_MIN, INT64_MAX };
-verify (TYPE_MINIMUM (int64_t) == INT64_MIN);
-verify (TYPE_MAXIMUM (int64_t) == INT64_MAX);
-verify_same_types (INT64_MIN, (int64_t) 0 + 0);
-verify_same_types (INT64_MAX, (int64_t) 0 + 0);
-#endif
-
-uint8_t b1[2] = { UINT8_C (17), UINT8_MAX };
-verify (TYPE_MAXIMUM (uint8_t) == UINT8_MAX);
-verify_same_types (UINT8_MAX, (uint8_t) 0 + 0);
-
-uint16_t b2[2] = { UINT16_C (17), UINT16_MAX };
-verify (TYPE_MAXIMUM (uint16_t) == UINT16_MAX);
-verify_same_types (UINT16_MAX, (uint16_t) 0 + 0);
-
-uint32_t b3[2] = { UINT32_C (17), UINT32_MAX };
-verify (TYPE_MAXIMUM (uint32_t) == UINT32_MAX);
-verify_same_types (UINT32_MAX, (uint32_t) 0 + 0);
-
-#ifdef UINT64_MAX
-uint64_t b4[2] = { UINT64_C (17), UINT64_MAX };
-verify (TYPE_MAXIMUM (uint64_t) == UINT64_MAX);
-verify_same_types (UINT64_MAX, (uint64_t) 0 + 0);
-#endif
-
-#if INT8_MIN && INT8_MAX && INT16_MIN && INT16_MAX && INT32_MIN && INT32_MAX
-/* ok */
-#else
-err or;
-#endif
-
-#if UINT8_MAX && UINT16_MAX && UINT32_MAX
-/* ok */
-#else
-err or;
-#endif
-
-/* 7.18.1.2. Minimum-width integer types */
-/* 7.18.2.2. Limits of minimum-width integer types */
-
-int_least8_t c1[3] = { 17, INT_LEAST8_MIN, INT_LEAST8_MAX };
-verify (TYPE_MINIMUM (int_least8_t) == INT_LEAST8_MIN);
-verify (TYPE_MAXIMUM (int_least8_t) == INT_LEAST8_MAX);
-verify_same_types (INT_LEAST8_MIN, (int_least8_t) 0 + 0);
-verify_same_types (INT_LEAST8_MAX, (int_least8_t) 0 + 0);
-
-int_least16_t c2[3] = { 17, INT_LEAST16_MIN, INT_LEAST16_MAX };
-verify (TYPE_MINIMUM (int_least16_t) == INT_LEAST16_MIN);
-verify (TYPE_MAXIMUM (int_least16_t) == INT_LEAST16_MAX);
-verify_same_types (INT_LEAST16_MIN, (int_least16_t) 0 + 0);
-verify_same_types (INT_LEAST16_MAX, (int_least16_t) 0 + 0);
-
-int_least32_t c3[3] = { 17, INT_LEAST32_MIN, INT_LEAST32_MAX };
-verify (TYPE_MINIMUM (int_least32_t) == INT_LEAST32_MIN);
-verify (TYPE_MAXIMUM (int_least32_t) == INT_LEAST32_MAX);
-verify_same_types (INT_LEAST32_MIN, (int_least32_t) 0 + 0);
-verify_same_types (INT_LEAST32_MAX, (int_least32_t) 0 + 0);
-
-#ifdef INT_LEAST64_MAX
-int_least64_t c4[3] = { 17, INT_LEAST64_MIN, INT_LEAST64_MAX };
-verify (TYPE_MINIMUM (int_least64_t) == INT_LEAST64_MIN);
-verify (TYPE_MAXIMUM (int_least64_t) == INT_LEAST64_MAX);
-verify_same_types (INT_LEAST64_MIN, (int_least64_t) 0 + 0);
-verify_same_types (INT_LEAST64_MAX, (int_least64_t) 0 + 0);
-#endif
-
-uint_least8_t d1[2] = { 17, UINT_LEAST8_MAX };
-verify (TYPE_MAXIMUM (uint_least8_t) == UINT_LEAST8_MAX);
-verify_same_types (UINT_LEAST8_MAX, (uint_least8_t) 0 + 0);
-
-uint_least16_t d2[2] = { 17, UINT_LEAST16_MAX };
-verify (TYPE_MAXIMUM (uint_least16_t) == UINT_LEAST16_MAX);
-verify_same_types (UINT_LEAST16_MAX, (uint_least16_t) 0 + 0);
-
-uint_least32_t d3[2] = { 17, UINT_LEAST32_MAX };
-verify (TYPE_MAXIMUM (uint_least32_t) == UINT_LEAST32_MAX);
-verify_same_types (UINT_LEAST32_MAX, (uint_least32_t) 0 + 0);
-
-#ifdef UINT_LEAST64_MAX
-uint_least64_t d4[2] = { 17, UINT_LEAST64_MAX };
-verify (TYPE_MAXIMUM (uint_least64_t) == UINT_LEAST64_MAX);
-verify_same_types (UINT_LEAST64_MAX, (uint_least64_t) 0 + 0);
-#endif
-
-#if INT_LEAST8_MIN && INT_LEAST8_MAX && INT_LEAST16_MIN && INT_LEAST16_MAX && INT_LEAST32_MIN && INT_LEAST32_MAX
-/* ok */
-#else
-err or;
-#endif
-
-#if UINT_LEAST8_MAX && UINT_LEAST16_MAX && UINT_LEAST32_MAX
-/* ok */
-#else
-err or;
-#endif
-
-/* 7.18.1.3. Fastest minimum-width integer types */
-/* 7.18.2.3. Limits of fastest minimum-width integer types */
-
-int_fast8_t e1[3] = { 17, INT_FAST8_MIN, INT_FAST8_MAX };
-verify (TYPE_MINIMUM (int_fast8_t) == INT_FAST8_MIN);
-verify (TYPE_MAXIMUM (int_fast8_t) == INT_FAST8_MAX);
-verify_same_types (INT_FAST8_MIN, (int_fast8_t) 0 + 0);
-verify_same_types (INT_FAST8_MAX, (int_fast8_t) 0 + 0);
-
-int_fast16_t e2[3] = { 17, INT_FAST16_MIN, INT_FAST16_MAX };
-verify (TYPE_MINIMUM (int_fast16_t) == INT_FAST16_MIN);
-verify (TYPE_MAXIMUM (int_fast16_t) == INT_FAST16_MAX);
-verify_same_types (INT_FAST16_MIN, (int_fast16_t) 0 + 0);
-verify_same_types (INT_FAST16_MAX, (int_fast16_t) 0 + 0);
-
-int_fast32_t e3[3] = { 17, INT_FAST32_MIN, INT_FAST32_MAX };
-verify (TYPE_MINIMUM (int_fast32_t) == INT_FAST32_MIN);
-verify (TYPE_MAXIMUM (int_fast32_t) == INT_FAST32_MAX);
-verify_same_types (INT_FAST32_MIN, (int_fast32_t) 0 + 0);
-verify_same_types (INT_FAST32_MAX, (int_fast32_t) 0 + 0);
-
-#ifdef INT_FAST64_MAX
-int_fast64_t e4[3] = { 17, INT_FAST64_MIN, INT_FAST64_MAX };
-verify (TYPE_MINIMUM (int_fast64_t) == INT_FAST64_MIN);
-verify (TYPE_MAXIMUM (int_fast64_t) == INT_FAST64_MAX);
-verify_same_types (INT_FAST64_MIN, (int_fast64_t) 0 + 0);
-verify_same_types (INT_FAST64_MAX, (int_fast64_t) 0 + 0);
-#endif
-
-uint_fast8_t f1[2] = { 17, UINT_FAST8_MAX };
-verify (TYPE_MAXIMUM (uint_fast8_t) == UINT_FAST8_MAX);
-verify_same_types (UINT_FAST8_MAX, (uint_fast8_t) 0 + 0);
-
-uint_fast16_t f2[2] = { 17, UINT_FAST16_MAX };
-verify (TYPE_MAXIMUM (uint_fast16_t) == UINT_FAST16_MAX);
-verify_same_types (UINT_FAST16_MAX, (uint_fast16_t) 0 + 0);
-
-uint_fast32_t f3[2] = { 17, UINT_FAST32_MAX };
-verify (TYPE_MAXIMUM (uint_fast32_t) == UINT_FAST32_MAX);
-verify_same_types (UINT_FAST32_MAX, (uint_fast32_t) 0 + 0);
-
-#ifdef UINT_FAST64_MAX
-uint_fast64_t f4[2] = { 17, UINT_FAST64_MAX };
-verify (TYPE_MAXIMUM (uint_fast64_t) == UINT_FAST64_MAX);
-verify_same_types (UINT_FAST64_MAX, (uint_fast64_t) 0 + 0);
-#endif
-
-#if INT_FAST8_MIN && INT_FAST8_MAX && INT_FAST16_MIN && INT_FAST16_MAX && INT_FAST32_MIN && INT_FAST32_MAX
-/* ok */
-#else
-err or;
-#endif
-
-#if UINT_FAST8_MAX && UINT_FAST16_MAX && UINT_FAST32_MAX
-/* ok */
-#else
-err or;
-#endif
-
-/* 7.18.1.4. Integer types capable of holding object pointers */
-/* 7.18.2.4. Limits of integer types capable of holding object pointers */
-
-#ifdef INTPTR_MAX
-intptr_t g[3] = { 17, INTPTR_MIN, INTPTR_MAX };
-verify (sizeof (void *) <= sizeof (intptr_t));
-# ifndef __CHERI_PURE_CAPABILITY__
-verify (TYPE_MINIMUM (intptr_t) == INTPTR_MIN);
-verify (TYPE_MAXIMUM (intptr_t) == INTPTR_MAX);
-# endif
-verify_same_types (INTPTR_MIN, (intptr_t) 0 + 0);
-verify_same_types (INTPTR_MAX, (intptr_t) 0 + 0);
-#endif
-
-#ifdef UINTPTR_MAX
-uintptr_t h[2] = { 17, UINTPTR_MAX };
-verify (sizeof (void *) <= sizeof (uintptr_t));
-# ifndef __CHERI_PURE_CAPABILITY__
-verify (TYPE_MAXIMUM (uintptr_t) == UINTPTR_MAX);
-# endif
-verify_same_types (UINTPTR_MAX, (uintptr_t) 0 + 0);
-#endif
-
-/* 7.18.1.5. Greatest-width integer types */
-/* 7.18.2.5. Limits of greatest-width integer types */
-
-intmax_t i[3] = { INTMAX_C (17), INTMAX_MIN, INTMAX_MAX };
-verify (TYPE_MINIMUM (intmax_t) == INTMAX_MIN);
-verify (TYPE_MAXIMUM (intmax_t) == INTMAX_MAX);
-verify_same_types (INTMAX_MIN, (intmax_t) 0 + 0);
-verify_same_types (INTMAX_MAX, (intmax_t) 0 + 0);
-
-uintmax_t j[2] = { UINTMAX_C (17), UINTMAX_MAX };
-verify (TYPE_MAXIMUM (uintmax_t) == UINTMAX_MAX);
-verify_same_types (UINTMAX_MAX, (uintmax_t) 0 + 0);
-
-/* Older Sun C and HP-UX 10.20 cc don't support 'long long' constants in
- the preprocessor. */
-#if !((defined __SUNPRO_C && __SUNPRO_C < 0x5150) \
- || (defined __hpux && !defined __GNUC__))
-#if INTMAX_MIN && INTMAX_MAX && UINTMAX_MAX
-/* ok */
-#else
-err or;
-#endif
-#endif
-
-/* 7.18.3. Limits of other integer types */
-
-#include <stddef.h>
-
-verify (TYPE_MINIMUM (ptrdiff_t) == PTRDIFF_MIN);
-verify (TYPE_MAXIMUM (ptrdiff_t) == PTRDIFF_MAX);
-verify_same_types (PTRDIFF_MIN, (ptrdiff_t) 0 + 0);
-verify_same_types (PTRDIFF_MAX, (ptrdiff_t) 0 + 0);
-
-#if PTRDIFF_MIN && PTRDIFF_MAX
-/* ok */
-#else
-err or;
-#endif
-
-#include <signal.h>
-
-verify (TYPE_MINIMUM (sig_atomic_t) == SIG_ATOMIC_MIN);
-verify (TYPE_MAXIMUM (sig_atomic_t) == SIG_ATOMIC_MAX);
-verify_same_types (SIG_ATOMIC_MIN, (sig_atomic_t) 0 + 0);
-verify_same_types (SIG_ATOMIC_MAX, (sig_atomic_t) 0 + 0);
-
-#if SIG_ATOMIC_MIN != 17 && SIG_ATOMIC_MAX
-/* ok */
-#else
-err or;
-#endif
-
-verify (TYPE_MAXIMUM (size_t) == SIZE_MAX);
-verify_same_types (SIZE_MAX, (size_t) 0 + 0);
-
-#if SIZE_MAX
-/* ok */
-#else
-err or;
-#endif
-
-verify (TYPE_MINIMUM (wchar_t) == WCHAR_MIN);
-verify (TYPE_MAXIMUM (wchar_t) == WCHAR_MAX);
-verify_same_types (WCHAR_MIN, (wchar_t) 0 + 0);
-verify_same_types (WCHAR_MAX, (wchar_t) 0 + 0);
-
-#if WCHAR_MIN != 17 && WCHAR_MAX
-/* ok */
-#else
-err or;
-#endif
-
-#if HAVE_WINT_T
-# include <wchar.h>
-
-verify (TYPE_MINIMUM (wint_t) == WINT_MIN);
-verify (TYPE_MAXIMUM (wint_t) == WINT_MAX);
-verify_same_types (WINT_MIN, (wint_t) 0 + 0);
-verify_same_types (WINT_MAX, (wint_t) 0 + 0);
-
-# if WINT_MIN != 17 && WINT_MAX
-/* ok */
-# else
-err or;
-# endif
-#endif
-
-/* 7.18.4. Macros for integer constants */
-
-verify (INT8_C (17) == 17);
-verify_same_types (INT8_C (17), (int_least8_t)0 + 0);
-verify (UINT8_C (17) == 17);
-verify_same_types (UINT8_C (17), (uint_least8_t)0 + 0);
-
-verify (INT16_C (17) == 17);
-verify_same_types (INT16_C (17), (int_least16_t)0 + 0);
-verify (UINT16_C (17) == 17);
-verify_same_types (UINT16_C (17), (uint_least16_t)0 + 0);
-
-verify (INT32_C (17) == 17);
-verify_same_types (INT32_C (17), (int_least32_t)0 + 0);
-verify (UINT32_C (17) == 17);
-verify_same_types (UINT32_C (17), (uint_least32_t)0 + 0);
-
-#ifdef INT64_C
-verify (INT64_C (17) == 17);
-verify_same_types (INT64_C (17), (int_least64_t)0 + 0);
-#endif
-#ifdef UINT64_C
-verify (UINT64_C (17) == 17);
-verify_same_types (UINT64_C (17), (uint_least64_t)0 + 0);
-#endif
-
-verify (INTMAX_C (17) == 17);
-verify_same_types (INTMAX_C (17), (intmax_t)0 + 0);
-verify (UINTMAX_C (17) == 17);
-verify_same_types (UINTMAX_C (17), (uintmax_t)0 + 0);
-
-/* Use _GL_VERIFY (with a fixed-length diagnostic string) rather than verify,
- because the latter would require forming each stringified expression, and
- many of these would be so long as to trigger a warning/error like this:
-
- test-stdint.c:407:1: error: string length '6980' is greater than the \
- length '4095' ISO C99 compilers are required to support \
- [-Werror=overlength-strings]
- */
-#define verify_width(width, min, max) \
- _GL_VERIFY ((max) >> ((width) - 1 - ((min) < 0)) == 1, \
- "verify_width check", -)
-
-/* Macros specified by ISO/IEC TS 18661-1:2014. */
-
-#ifdef INT8_MAX
-verify_width (INT8_WIDTH, INT8_MIN, INT8_MAX);
-#endif
-#ifdef UINT8_MAX
-verify_width (UINT8_WIDTH, 0, UINT8_MAX);
-#endif
-#ifdef INT16_MAX
-verify_width (INT16_WIDTH, INT16_MIN, INT16_MAX);
-#endif
-#ifdef UINT16_MAX
-verify_width (UINT16_WIDTH, 0, UINT16_MAX);
-#endif
-#ifdef INT32_MAX
-verify_width (INT32_WIDTH, INT32_MIN, INT32_MAX);
-#endif
-#ifdef UINT32_MAX
-verify_width (UINT32_WIDTH, 0, UINT32_MAX);
-#endif
-#ifdef INT64_MAX
-verify_width (INT64_WIDTH, INT64_MIN, INT64_MAX);
-#endif
-#ifdef UINT64_MAX
-verify_width (UINT64_WIDTH, 0, UINT64_MAX);
-#endif
-verify_width (INT_LEAST8_WIDTH, INT_LEAST8_MIN, INT_LEAST8_MAX);
-verify_width (UINT_LEAST8_WIDTH, 0, UINT_LEAST8_MAX);
-verify_width (INT_LEAST16_WIDTH, INT_LEAST16_MIN, INT_LEAST16_MAX);
-verify_width (UINT_LEAST16_WIDTH, 0, UINT_LEAST16_MAX);
-verify_width (INT_LEAST32_WIDTH, INT_LEAST32_MIN, INT_LEAST32_MAX);
-verify_width (UINT_LEAST32_WIDTH, 0, UINT_LEAST32_MAX);
-verify_width (INT_LEAST64_WIDTH, INT_LEAST64_MIN, INT_LEAST64_MAX);
-verify_width (UINT_LEAST64_WIDTH, 0, UINT_LEAST64_MAX);
-verify_width (INT_FAST8_WIDTH, INT_FAST8_MIN, INT_FAST8_MAX);
-verify_width (UINT_FAST8_WIDTH, 0, UINT_FAST8_MAX);
-verify_width (INT_FAST16_WIDTH, INT_FAST16_MIN, INT_FAST16_MAX);
-verify_width (UINT_FAST16_WIDTH, 0, UINT_FAST16_MAX);
-verify_width (INT_FAST32_WIDTH, INT_FAST32_MIN, INT_FAST32_MAX);
-verify_width (UINT_FAST32_WIDTH, 0, UINT_FAST32_MAX);
-verify_width (INT_FAST64_WIDTH, INT_FAST64_MIN, INT_FAST64_MAX);
-verify_width (UINT_FAST64_WIDTH, 0, UINT_FAST64_MAX);
-#ifndef __CHERI_PURE_CAPABILITY__
-# ifdef INTPTR_WIDTH
-verify_width (INTPTR_WIDTH, INTPTR_MIN, INTPTR_MAX);
-# endif
-# ifdef UINTPTR_WIDTH
-verify_width (UINTPTR_WIDTH, 0, UINTPTR_MAX);
-# endif
-#endif
-verify_width (INTMAX_WIDTH, INTMAX_MIN, INTMAX_MAX);
-verify_width (UINTMAX_WIDTH, 0, UINTMAX_MAX);
-verify_width (PTRDIFF_WIDTH, PTRDIFF_MIN, PTRDIFF_MAX);
-verify_width (SIZE_WIDTH, 0, SIZE_MAX);
-verify_width (WCHAR_WIDTH, WCHAR_MIN, WCHAR_MAX);
-#ifdef WINT_MAX
-verify_width (WINT_WIDTH, WINT_MIN, WINT_MAX);
-#endif
-#ifdef SIG_ATOMIC_MAX
-verify_width (SIG_ATOMIC_WIDTH, SIG_ATOMIC_MIN, SIG_ATOMIC_MAX);
-#endif
-
-int
-main (void)
-{
- return 0;
-}