-
Notifications
You must be signed in to change notification settings - Fork 5
Description
$ make
mkdir -p build/cmdline/
clang -std=c11 -fhosted -D _POSIX_C_SOURCE=200112L -Wall -Wextra -Wpedantic -Werror -pedantic-errors -MMD -MP -O3 -flto -D NDEBUG -D TARGET_ARCH="x86_64" -D TARGET_LIBC="gnu" -D TARGET_VENDOR="pc" -D TARGET_OS="linux" -D TARGET_TRIPLET="x86_64-pc-linux-gnu" -D TARGET_FLOAT_ABI="hard" -D TARGET_SUBARCH="generic" -D TARGET_SOFT_FLOAT=0 -c src/cmdline/logger.c -o build/cmdline/logger.o
In file included from src/cmdline/logger.c:7:
src/cmdline/logger.h:18:12: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
18 | extern int errno;
| ^
/usr/include/errno.h:38:35: note: expanded from macro 'errno'
38 | # define errno (*__errno_location ())
| ^
1 error generated.
make: *** [Makefile:171: build/cmdline/logger.o] Error 1