On Wed, Aug 25, 2004 at 04:48:15PM +0100, Dave Shield wrote:
> DS> I'd suggest that the first thing would be to make sure that we have
> DS> suitable 32-bit types available - either defining new project-specific
> DS> types, or pick on a "standard" one and make sure it's defined
> 
> RS> I'd vote for the <inttypes.h>/<stdint.h> style (more C99 headers).

Possibly only inttypes.h as that is somewhat more frequently present.
The autoconf manual has a chapter on this.

> RS> I'd like to avoid project specific types...
> 
> OK - so what would that mean in practise?
> What should the typedef name be for:
> 
>       a)  unsigned 32-bit integers

                uint32_t

>       b)    signed 32-bit integers

                int32_t

>       c)  unsigned 64-bit integers

                uint64_t

>       d)    signed 64-bit integers

                int64_t


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to