bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building strtoull on HP-UX 10.20 requires stdint which is not includ


From: Eric Blake
Subject: Re: Building strtoull on HP-UX 10.20 requires stdint which is not included
Date: Tue, 24 Mar 2009 13:01:49 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Simon Josefsson on 3/24/2009 7:27 AM:
>> that failing to find the system's stdint.h?
> 
> Maybe HP-UX 10.20 doesn't have a stdint.h.

Ah.  That explains it.

> I don't think so: struct random_data belongs in stdlib.h.

Agreed.

>>> +++ b/modules/stdlib
>>> @@ -9,6 +9,7 @@ Depends-on:
>>>  include_next
>>>  link-warning
>>>  unistd
>>> +stdint
>> Depending on what else we find, this seems like it is part of the solution
>> to me.
> 
> Right.

Let's go with that for now.  Are you going to check in the patch for the
added module dependency?

>> Usually, if you're going to replace stdlib.h, the cost of replacing other
>> headers is not much more.  I don't think we need a separate module.
> 
> The only reason would be if someone wanted to use stdlib.in.h from
> gnulib and would not want to use stdint.in.h from gnulib -- if the
> application doesn't use struct random_data that would be possible.

If someone really needs stdlib without stdint, then they can submit the
patch to split out struct random_data at that time.  Until then, let's not
worry about it.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknJLh0ACgkQ84KuGfSFAYDU8QCfbjyW4vSSSW53KudVb954SN+/
IpwAoI8os8bh+foBWto+Jd8U23jZH+CO
=9xvq
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]