On Wed, 9 Sep 2009, Danny Backx wrote:

> On Wed, 2009-09-09 at 17:26 +0200, Vincent Torri wrote:
>> it seems that offsetof is defined in winnt.h but msdn does not mention it
>> for windows ce. Is it normal ?
>
> Actually it probably is.
>
> Various sources (e.g. http://en.wikipedia.org/wiki/Offsetof)  say that
> offsetof is an ANSI C standard feature, defined in stddef.h .
>
> References like http://msdn.microsoft.com/en-us/library/dz4y9b9a.aspx
> don't mention Windows versions but "All versions of the C run-time
> libraries". (Which misses the point that this is a compiler feature, and
> has nothing to with a runtime library.)

but microsoft does not deliver a ANSI C runtime lib for windows ce.

Also, offsetof is defined in winnt.h. Is stddef.h including winnt.h ?

Vincent

------------------------------------------------------------------------------
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
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to