[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
C99 strto* protos
From: |
Derek R. Price |
Subject: |
C99 strto* protos |
Date: |
Mon, 10 Apr 2006 14:28:55 -0400 |
User-agent: |
Thunderbird 1.5 (Windows/20051201) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
GNULIB doesn't seem to be providing function prototypes for several
strto* replacement functions. Is this intentional? The protos for
strtoll() and strtoull() are required by C99 (not C89) and I imagine
might therefore be missing from the C89 <stdlib.h> I understood GNULIB
was assuming, though I haven't confirmed a platform that doesn't
provide these protos in its <stdlib.h> header.
In the case of strtoimax & strtoumax, the <inttypes.h> header which is
supposed to provide the proto is part of C99 and cannot be included
unconditionally under the current set of GNULIB assumptions, as I
understood them 6 months back. I can confirm that at least Solaris 9
requires the GNULIB replacement strtoumax() and does not provide a
proto for the same in its <inttypes.h> (if it even has an <inttypes.h>).
Would a patch to provide a "strtoimax.h" and "strtoumax.h" with the
strtoimax and strtoumax GNULIB modules be welcomed?
Thanks,
Derek
- --
Derek R. Price
CVS Solutions Architect
Get CVS support at Ximbiot <http://ximbiot.com>!
v: +1 248.835.1260
f: +1 248.835.1263
<mailto:address@hidden>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEOqPmLD1OTBfyMaQRArgdAKCIReLHI5ddpMzEs4TM5W0lQFsAFwCcDSqq
MxoGwJAhOm/nzvBrfdOGO1Y=
=EDTU
-----END PGP SIGNATURE-----
- C99 strto* protos,
Derek R. Price <=
- Re: C99 strto* protos, Paul Eggert, 2006/04/10
- Re: C99 strto* protos, Derek R. Price, 2006/04/11
- Re: C99 strto* protos, Derek R. Price, 2006/04/18
- Re: C99 strto* protos, Paul Eggert, 2006/04/19
- Re: C99 strto* protos, Derek R. Price, 2006/04/19
- Re: C99 strto* protos, Paul Eggert, 2006/04/19
- Re: C99 strto* protos, Derek R. Price, 2006/04/19
- Re: C99 strto* protos, Derek R. Price, 2006/04/19
- Re: C99 strto* protos, Derek R. Price, 2006/04/21
- Re: C99 strto* protos, Eric Blake, 2006/04/18