I found this in r19458

#if defined(__GNUC__)
typedef unsigned long netsnmp_uintptr_t;
#else
typedef uintptr_t netsnmp_uintptr_t;
#endif
#ifndef __cplusplus
enum {
    netsnmp_compile_time_uintptr_t_size_check
    = sizeof(struct { int:-!(sizeof(netsnmp_uintptr_t) >= sizeof(void*)); })
};
#endif

and ended up very confused. I would like to see a motivation for this
oddity. GNU C do define uintptr_t in inttypes.h and autoconf checks for
it and defines it if needed so what is the point of netsnmp_uintptr_t?

/MF


------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to