bug-gnulib
[Top][All Lists]
Advanced

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

Re: crc


From: Simon Josefsson
Subject: Re: crc
Date: Tue, 11 Oct 2005 17:14:28 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

Paul Eggert <address@hidden> writes:

> Simon Josefsson <address@hidden> writes:
>
>> Perhaps I should work on making the ax_create_stdint.m4 macro part of
>> gnulib, and change these modules to use uint8_t*?  Applications could
>> then install the header file generated by ax_create_stdint.m4 to be
>> able to use uint*_t etc in public header files.  I've used this for a
>> long time in libidn without problems.  Using uint8_t feels modern
>> somehow.
>
> uint8_t has the (perhaps theoretical) problem of not being portable to
> C99 hosts that don't have uint8_t because they don't have integers
> that small.

Ouch.

> Personally I'd stick with either char * or void *; there's no rush in
> converting to uint8_t.  However, it's no big deal.

Right.

Ok to install the crc module?




reply via email to

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