unable to compile with clang-cl
marakew opened this issue · 1 comments
marakew commented
too many such errors "static assertion expression is not an integral constan expression"
D:\GleeBug\GleeBug/ntdll.h(3063,15): error: static assertion expression is not an integral constan expression
static_assert(FIELD_OFFSET(KUSER_SHARED_DATA, TimeSlip) == 0x2bc, "Offset check");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:\PROGRA~1\WINDOW~1\10\Include\100183~1.0\um\winnt.h(1197,38): note: expanded from macro 'FIELD_OFFSET'
#define FIELD_OFFSET(type, field) ((LONG)(LONG_PTR)&(((type *)0)->field))
^
mrexodia commented
This could probably easily be fixed by using the amalgamated phnt.h