view modules/strtoumax @ 17364:7524d97ae56f

stdalign: port to stricter ISO C11 ISO C11 says that _Alignof's operand must be a parenthesized type. Problem reported by Eli Zaretskii in <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00960.html>. * doc/posix-headers/stdalign.texi (stdalign.h): Document this. * m4/stdalign.m4 (gl_STDALIGN_H): Don't use _Alignof (expr).
author Paul Eggert <eggert@cs.ucla.edu>
date Fri, 29 Mar 2013 19:47:13 -0700
parents 420f45741b92
children d4beb8189862
line wrap: on
line source

Description:
strtoumax() function: convert string to 'uintmax_t'.

Files:
lib/strtoimax.c
lib/strtoumax.c
m4/longlong.m4
m4/strtoumax.m4

Depends-on:
inttypes-incomplete
verify          [test $ac_cv_func_strtoumax = no]
stdint          [test $ac_cv_func_strtoumax = no]
strtoull        [test $ac_cv_func_strtoumax = no && test $ac_cv_type_unsigned_long_long_int = yes]

configure.ac:
gl_FUNC_STRTOUMAX
if test $ac_cv_func_strtoumax = no; then
  AC_LIBOBJ([strtoumax])
  gl_PREREQ_STRTOUMAX
fi
gl_INTTYPES_MODULE_INDICATOR([strtoumax])

Makefile.am:

Include:
<inttypes.h>

License:
LGPL

Maintainer:
Paul Eggert