bug-gnulib
[Top][All Lists]
Advanced

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

Re: SIZE_MAX


From: Simon Josefsson
Subject: Re: SIZE_MAX
Date: Tue, 26 May 2009 14:27:18 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.94 (gnu/linux)

Bruno Haible <address@hidden> writes:

>> I got a report about SIZE_MAX problems:
>> 
>> In file included from ../gnutls_int.h:29,
>>                  from opencdk.h:30,
>>                  from kbnode.c:31:
>> ../config.h:357:1: warning: "SIZE_MAX" redefined
>> In file included from ./../gl/stdlib.h:52,
>>                  from kbnode.c:28:
>> ./../gl/stdint.h:473:1: warning: this is the location of the previous 
>> definition
>
> From looking at gnutls-2.6.6, it appears that the problem is that kbnode.c
> includes <config.h>, then includes <stdlib.h> which includes <stdint.h>, and
> then later indirectly includes <gnutls_int.h> which also includes <config.h>.
> This is a bit unusual, but not wrong. gnulib should support this. I'm
> applying this fix:

Thanks!

/Simon




reply via email to

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