view modules/xstrtol @ 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 7f0f3e1ac6fd
children 39c9960ea17b
line wrap: on
line source

Description:
Convert string to 'long' or 'unsigned long', with error checking.

Files:
lib/xstrtol.h
lib/xstrtol.c
lib/xstrtoul.c
lib/xstrtol-error.c
m4/xstrtol.m4

Depends-on:
exitfail
error
getopt-gnu
gettext-h
intprops
inttypes-incomplete

configure.ac:
gl_XSTRTOL

Makefile.am:
lib_SOURCES += xstrtol.c xstrtoul.c xstrtol-error.c

Include:
"xstrtol.h"

License:
GPL

Maintainer:
Jim Meyering