-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Open
Labels
area-Infrastructure-librariesuntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner
Description
Our Fedora 43 CI shows some issues when trying to compile runtime repo with clang 21.1
/home/tester/workdir/runtime/src/native/libs/System.Net.Security.Native/pal_gssapi.c:247:11: error: implicit conversion when initializing 'char *' with an expression of type 'void *' is not permitted in C++ [-Werror,-Wimplicit-void-ptr-cast]
247 | char* ptrSlash = memchr(inputName, '/', inputNameLen);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/tester/workdir/runtime/src/native/libs/System.Native/pal_networking.c:396:17: error: jump from this goto statement to its label is incompatible with C++ [-Werror,-Wjump-misses-init]
396 | goto cleanup;
| ^
/home/tester/workdir/runtime/src/native/libs/System.Native/pal_networking.c:411:10: note: jump bypasses variable initialization
411 | bool includeIPv6Loopback = true;
| ^
/home/tester/workdir/runtime/src/native/libs/System.Native/pal_networking.c:410:10: note: jump bypasses variable initialization
410 | bool includeIPv4Loopback = true;
| ^
/home/tester/workdir/runtime/src/native/libs/System.Native/pal_networking.c:1518:34: error: implicit conversion when assigning to 'uint8_t *' (aka 'unsigned char *') from type 'void *' is not permitted in C++ [-Werror,-Wimplicit-void-ptr-cast]
1518 | messageHeader->ControlBuffer = (void*)buffer;
| ^ ~~~~~~~~~~~~~
Metadata
Metadata
Assignees
Labels
area-Infrastructure-librariesuntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner