stddef include in gmp.h
Clemens Gruber
clemensgru at gmail.com
Tue Oct 8 16:56:24 CEST 2013
On 08.10.2013, at 14:49, Marc Glisse <marc.glisse at inria.fr> wrote:
> On Tue, 8 Oct 2013, Marc Glisse wrote:
>
>> We currently have:
>>
>> #define __need_size_t /* tell gcc stddef.h we only want size_t */
>> #if defined (__cplusplus)
>> #include <cstddef> /* for size_t */
>> #else
>> #include <stddef.h> /* for size_t */
>> #endif
>> #undef __need_size_t
>>
>> We should at least move the __need_size_t stuff so it only applies to stddef.h (not cstddef), or preferably remove it completely, it isn't worth the trouble. I am quite sure we already discussed that, but didn't get around to it yet.
>
> I found http://gmplib.org/list-archives/gmp-bugs/2008-July/001097.html where TG already agreed that __need_size_t had to go, so I removed it:
>
> http://gmplib.org:8000/gmp/rev/6cd3658f5621
Thank you!
More information about the gmp-discuss
mailing list