std.h files shipped with LLVM are included instead of files from /usr/include when compiling. Other LLVM packages (e.g., llvm13) from FreeBSD aren't shipped with std.h files.
This can result in various bugs, e.g. missing __BEGIN_DECLS from <sys/cdefs.h> that is included by <stddef.h> but not by stddef.h from llvm-morello:
std.h files shipped with LLVM are included instead of files from /usr/include when compiling. Other LLVM packages (e.g., llvm13) from FreeBSD aren't shipped with std.h files.
This can result in various bugs, e.g. missing
__BEGIN_DECLS
from<sys/cdefs.h>
that is included by<stddef.h>
but not bystddef.h
from llvm-morello: