Hello,

Mateusz Loskot wrote:

> Visual C++ declares uintptr_t is in stddef.h

This is, as far as I understand, wrong.
The uintptr_t type is defined in stdint.h (C99) or in cstdin (C++).

> As this is C99 feature, we will need to wrap it with some #ifdef,
> I think.

Well, according to TR1 this type is also a C++ feature, although some 
compilers might not have the cstdint file at all, as is the case with 
g++ 4.0.1 on my machine.

I'm surprised that Visual C++ defines it in stddef.h, but we cannot 
change that. And considering the fact that the code does compile on this 
compiler, I'm not sure we should do any wrapping for it.

Regards,

-- 
Maciej Sobczak * www.msobczak.com * www.inspirel.com

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to