On Thu, 10 Sep 2009, Pedro Alves wrote:

> On Wednesday 09 September 2009 22:03:03, Vincent Torri wrote:
>>
>> 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 ?
>
> It is.  MSDN documentation has bugs and omissions.  It doesn't document
> _everything_.  MSFT also defines offsetof in winnt.h...  Is there a
> problem you're trying to solve?

Not really a problem. We are developping a framework and some guys asked 
me if offsetof was supported on Win CE. I looked in the mingw32ce headers 
and it was there, but not in msdn.

>> Also, offsetof is defined in winnt.h. Is stddef.h including winnt.h ?
>
> No.  No C runtime header (mingw) includes win32 headers (w32api).

so, isn't there a problem, here, as msdn (VS 2008, link mentioned by 
Danny) says that we should include stddef.h (so not 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