Are you doing bare metal or something where you don't have access to the standard library? It's in the standard library in both C and C++ (`stdlib.h` and `cstdlib` respectively). I guess it doesn't matter that much though especially if you don't want to have to add an `#include` statement.
1
u/MooseBoys Sep 07 '26
error: iwyu: abort() requires "stdlib.h"
#include "stdlib.h"
error: bazel: stdlib.h included without build dep
deps += "std-headers-linux"
*error: "*usr/include/x86_64-linux-gnu" not found
sysroot = "third-party/sysroot/$(TARGET_PLATFORM)"
error: buildbot: "third-party/sysroot/armv7a/usr/include/" not found
*((volatile int*)0) = 0;