[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnulib stdint.h substitution of int64_t results in a linking error i
From: |
Ralf Wildenhues |
Subject: |
Re: gnulib stdint.h substitution of int64_t results in a linking error in GCC 4.(3|2|0) on OSX |
Date: |
Sun, 5 Dec 2010 21:55:41 +0100 |
User-agent: |
Mutt/1.5.20 (2010-08-04) |
Hello Paul,
* Paul Eggert wrote on Thu, Dec 02, 2010 at 06:52:05PM CET:
> On 11/27/10 00:59, Ralf Wildenhues wrote:
> > Should this patch have a similar pendant for the AC_TYPE_INT64_T macro
> > in Autoconf?
>
> Offhand I would say not, since that macro tests for int64_t
> individually, whereas the problem in gnulib is that all of
> stdint.h was being tested collectively. But perhaps I'm
> missing something?
I was missing something, AFAICS: _AC_TYPE_INT_BODY (which is what
Autoconf's AC_TYPE_INT64_T ends up calling) tries 'long int' before
'long long int' when matching types, but it also tries 'int64_t' as
very first try. That means, when that is defined, there is no chance
for conflict.
Sorry for the noise, and thanks for checking,
Ralf