On Tue, Sep 14, 2010 at 4:49 PM, Ozkan Sezer <[email protected]> wrote:
> On Tue, Sep 14, 2010 at 5:41 PM, Alon Bar-Lev <[email protected]> wrote:
>> Hi,
>>
>> When compiling this simple source:
>> ---
>> #include <windows.h>
>> #include <ntddk.h>
>> ---
>> I get tones of errors of redefinitions winnt.h and ddk/ntddk.h.
>
> You aren't supposed to include those together: ntddk.h includes
> ntdef.h which includes necessary things for a driver compilation.
> windows.h includes winnt.h and it conflicts with ntdef.h and other
> ddk includes.

Thanks!
I will try to fix the mess.

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to