bug-gnulib
[Top][All Lists]
Advanced

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

Re: crc


From: Paul Eggert
Subject: Re: crc
Date: Mon, 10 Oct 2005 23:47:46 -0700
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

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.

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




reply via email to

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