reactos/sdk
Thomas Faber b957229c1b
[XDK] Fix a noisy clang warning in RTL_CONSTANT_STRING. CORE-14306
..\ntoskrnl\vdm\vdmmain.c(91,34): warning: expression does not compute the number of elements in this array; element type is 'unsigned short', not 'char' [-Wsizeof-array-div]
    UNICODE_STRING PhysMemName = RTL_CONSTANT_STRING(L"\\Device\\PhysicalMemory");
                                 ^                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\ROS\reactos\output-clang\sdk\include\psdk\ntdef.h(1542,15): note: expanded from macro 'RTL_CONSTANT_STRING'
    sizeof(s) / sizeof(_RTL_CONSTANT_STRING_type_check(s)), \
           ~  ^
..\ntoskrnl\vdm\vdmmain.c(91,34): note: place parentheses around the 'sizeof (_RTL_CONSTANT_STRING_type_check(L"\\Device\\PhysicalMemory"))' expression to silence this warning
C:\ROS\reactos\output-clang\sdk\include\psdk\ntdef.h(1542,15): note: expanded from macro 'RTL_CONSTANT_STRING'
    sizeof(s) / sizeof(_RTL_CONSTANT_STRING_type_check(s)), \
              ^
1 warning generated.
2020-08-23 12:10:12 +02:00
..
cmake [CMAKE] Explicitly target Pentium for clang. CORE-17202 2020-08-23 12:07:37 +02:00
include [XDK] Fix a noisy clang warning in RTL_CONSTANT_STRING. CORE-14306 2020-08-23 12:10:12 +02:00
lib [RTL] Allow RtlGetNextRange to be called on a finished iterator. CORE-6372 2020-08-16 16:18:29 +02:00
tools [HHPCOMP] Fix 2 MSVC C4101 warnings (#2392) 2020-06-06 18:42:47 +02:00