Details
-
Task
-
Resolution: Fixed
-
Major
Description
Clang 12.0.0 was released on 2021-04-15.
It seems build-clang-cl-i386 automatically uses it.
Options:
- Fix the new errors.
- (Temporarily) Force v11.x, as done for build-clang-i386.
- ...
–
D:\a\reactos\reactos\src\dll\appcompat\apphelp\hsdb.c(36,1): error: function declaration cannot have variably modified type
|
C_ASSERT(offsetof(ShimData, dwMagic) == offsetof(ReactOS_ShimData, dwMagic));
|
^
|
sdk\include\psdk\winnt.h(807,38): note: expanded from macro 'C_ASSERT'
|
#define C_ASSERT(expr) extern char (*c_assert(void)) [(expr) ? 1 : -1]
|
^
|
D:\a\reactos\reactos\src\dll\appcompat\apphelp\hsdb.c(37,1): error: function declaration cannot have variably modified type
|
C_ASSERT(offsetof(ShimData, dwRosProcessCompatVersion) == offsetof(ReactOS_ShimData, dwRosProcessCompatVersion));
|
^
|
sdk\include\psdk\winnt.h(807,38): note: expanded from macro 'C_ASSERT'
|
#define C_ASSERT(expr) extern char (*c_assert(void)) [(expr) ? 1 : -1]
|
^
|
2 errors generated.
|
Attachments
Issue Links
- blocks
-
CORE-14306 (GitHub Actions) clang-cl 10 reports some warnings: review/fix them
- Open
- relates to
-
CORE-17545 Fix clang-12 warnings
- Open