Re: uintptr_t and win64

2010-10-18 Thread Wes Hardaker
> On Sun, 17 Oct 2010 12:31:35 +0200, Magnus Fromreide > said: MF> I did that since recent glibc is changed so that only the definitions MF> that should be added by each header are inserted when that header is MF> included and I wanted to avoid another include. Please do not introduce a

Re: uintptr_t and win64

2010-10-17 Thread Magnus Fromreide
On Sun, 2010-10-17 at 11:34 +0200, Bart Van Assche wrote: > On Sun, Oct 17, 2010 at 10:30 AM, Magnus Fromreide > wrote: > > [ ... ] > > > At the very least it is MSVC that should be treated specially > and not > GCC, why do you have an >

Re: uintptr_t and win64

2010-10-17 Thread Bart Van Assche
On Sun, Oct 17, 2010 at 10:30 AM, Magnus Fromreide wrote: > [ ... ] > > At the very least it is MSVC that should be treated specially and not > GCC, why do you have an > > #if defined(__GNUC__) > > to handle windows oddities? > That was implemented that way because you changed uintptr_t into unsi

Re: uintptr_t and win64

2010-10-17 Thread Magnus Fromreide
On Sun, 2010-10-17 at 09:32 +0200, Bart Van Assche wrote: > On Sun, Oct 17, 2010 at 3:18 AM, Magnus Fromreide > wrote: > On Sat, 2010-10-16 at 23:52 +0200, Magnus Fromreide wrote: > > I found this in r19458 > > > > #if defined(__GNUC__) > > typedef unsigned

Re: uintptr_t and win64

2010-10-17 Thread Bart Van Assche
On Sun, Oct 17, 2010 at 3:18 AM, Magnus Fromreide wrote: > On Sat, 2010-10-16 at 23:52 +0200, Magnus Fromreide wrote: > > I found this in r19458 > > > > #if defined(__GNUC__) > > typedef unsigned long netsnmp_uintptr_t; > > #else > > typedef uintptr_t netsnmp_uintptr_t; > > #endif > > #ifndef __cp

Re: uintptr_t and win64

2010-10-16 Thread Magnus Fromreide
On Sat, 2010-10-16 at 23:52 +0200, Magnus Fromreide wrote: > 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 > = si

uintptr_t and win64

2010-10-16 Thread Magnus Fromreide
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 a