here is the warning-turned-error from todays clang
riscv64-yoe-linux-musl-clang -target riscv64-yoe-linux-musl
-mlittle-endian --dyld-prefix=/usr -Qunused-arguments
-fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat
-Wformat-security -Werror=format-security
--sysroot=/mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux-musl/opkg/1_0.6.1-r0/recipe-sysroot
-DHAVE_CONFIG_H -I. -I../../opkg-0.6.1/libopkg -I.. -Wall
-DHOST_CPU_STR=\"riscv64\" -DDATADIR=\"/usr/share\"
-DSYSCONFDIR=\"/etc\" -DVARDIR=\"/var\" -I../../opkg-0.6.1 -O2 -pipe
-g -feliminate-unused-debug-types
-fmacro-prefix-map=/mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux-musl/opkg/1_0.6.1-r0/opkg-0.6.1=/usr/src/debug/opkg/1_0.6.1-r0
-fdebug-prefix-map=/mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux-musl/opkg/1_0.6.1-r0/opkg-0.6.1=/usr/src/debug/opkg/1_0.6.1-r0
-fmacro-prefix-map=/mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux-musl/opkg/1_0.6.1-r0/build=/usr/src/debug/opkg/1_0.6.1-r0
-fdebug-prefix-map=/mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux-musl/opkg/1_0.6.1-r0/build=/usr/src/debug/opkg/1_0.6.1-r0
-fdebug-prefix-map=/mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux-musl/opkg/1_0.6.1-r0/recipe-sysroot=
-fmacro-prefix-map=/mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux-musl/opkg/1_0.6.1-r0/recipe-sysroot=
-fdebug-prefix-map=/mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux-musl/opkg/1_0.6.1-r0/recipe-sysroot-native=
-c ../../opkg-0.6.1/libopkg/md5.c -fPIC -DPIC -o .libs/md5.o
-Wgnu-offsetof-extensions -Werror
../../opkg-0.6.1/libopkg/md5.c:242:13: error: defining a type within
'offsetof' is a Clang extension [-Werror,-Wgnu-offsetof-extensions]
if (UNALIGNED_P(buffer))
^~~~~~~~~~~~~~~~~~~
../../opkg-0.6.1/libopkg/md5.c:241:40: note: expanded from macro 'UNALIGNED_P'
#define UNALIGNED_P(p) (((size_t) p) % alignof (uint32_t) != 0)
^~~~~~~~~~~~~~~~~~
../../opkg-0.6.1/libopkg/md5.c:240:33: note: expanded from macro 'alignof'
#define alignof(type) offsetof (struct { char c; type x; }, x)
^~~~~~
/mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux-musl/opkg/1_0.6.1-r0/recipe-sysroot/usr/include/stddef.h:22:51:
note: expanded from macro 'offsetof'
#define offsetof(type, member) __builtin_offsetof(type, member)
^~~~
1 error generated.