mirror of
https://git.code.sf.net/p/mingw-w64/mingw-w64
synced 2024-11-27 11:54:24 +08:00
4ddd923ce9
x86_64-w64-mingw32-gcc throws following -Wsign-compare warning when compiling 64-bit NT kernel drivers which include ddk/ntddk.h file: ddk/wdm.h: In function ‘RtlExtendedMagicDivide’: ddk/wdm.h:9531:32: warning: operand of ?: changes signedness from ‘long long int’ to ‘ULONG64’ {aka ‘long long unsigned int’} due to unsignedness of other operand [-Wsign-compare] ret.QuadPart = Pos ? ret64 : -(LONG64)ret64; ^~~~~~~~~~~~~~ Member ret.QuadPart is of type LONGLONG, so explicitly cast both parts of ret64 ternary operator to LONG64. Signed-off-by: LIU Hao <lh_mouse@126.com> |
||
---|---|---|
.. | ||
include | ||
ChangeLog | ||
ChangeLog.2013 | ||
readme.txt |
DDK sdk for x86 and x64 platforms. ---------------------------------- You can check for existance of this optional package by verifying the definition of the macro MINGW_HAS_DDK_H. The DDK headers are from the ReactOS project, from their svn repo svn://svn.reactos.org/reactos/trunk/reactos/include/ddk/ This is an optional SDK. Some of the headers are public domain and some of them are under LGPL license. You can obtain the original sources from the ReactOS project. How to install this SDK ---------------------------------- Please simply copy the content of the include directory within the include folder of our header-set. Most of the needed import libraries are already generated within the crt build, so you shouldn't need any further compilation.