[hackers] [lchat] test: ignore comparison of integers of different signs warning || Jan Klemkow

From: <git_AT_suckless.org>
Date: Thu, 20 Oct 2022 19:59:19 +0200 (CEST)

commit 743a82b6dab7fe68ec7df46e90625c7c966b8c96
Author: Jan Klemkow <j.klemkow_AT_wemelug.de>
AuthorDate: Thu Oct 20 09:47:44 2022 +0200
Commit: Jan Klemkow <j.klemkow_AT_wemelug.de>
CommitDate: Thu Oct 20 09:47:44 2022 +0200

    test: ignore comparison of integers of different signs warning

diff --git a/Makefile b/Makefile
index bc4d363..ff911d9 100644
--- a/Makefile
+++ b/Makefile
_AT_@ -28,7 +28,7 @@ filter/indent: filter/indent.c util.o util.h
         $(CC) $(CFLAGS) -o $_AT_ filter/indent.c util.o
 
 sl_test.o: sl_test.c slackline.h
- $(CC) $(CFLAGS) -c -o $_AT_ sl_test.c
+ $(CC) $(CFLAGS) -Wno-sign-compare -c -o $_AT_ sl_test.c
 
 sl_test: sl_test.o slackline.o slackline.h
         $(CC) $(CFLAGS) -o $_AT_ sl_test.o slackline.o $(LIBS)
Received on Thu Oct 20 2022 - 19:59:19 CEST

This archive was generated by hypermail 2.3.0 : Thu Oct 20 2022 - 20:00:37 CEST