From 90aa7613246697a483d765b9ce5a1eb199eda6c2 Mon Sep 17 00:00:00 2001 From: Lion Kortlepel Date: Sun, 25 Jan 2026 16:18:26 +0000 Subject: fix: fix debug info displaying wrong file/line info in tests specifically --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 28834f2..7d589a9 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ tests/tests: ls_args.o tests/tests.c tests/ls_test.h # most pedantic settings. # Dont use this. ls_args.o: ls_args.h - echo -e "#include \nvoid* test_realloc(void*, size_t);" >.test.h + echo -e "#include \nvoid* test_realloc(void*, size_t);\n#line 1 \"ls_args.h\"" >.test.h cat .test.h ls_args.h >.ls_args_test.c rm .test.h $(CC) -c -x c -o $@ .ls_args_test.c -Wall -Wextra -Wpedantic -Werror -std=c89 -ggdb \ -- cgit