瀏覽代碼

Disable compiler warning for when we compare unsinged value < 0

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
Joachim Nilsson 6 年之前
父節點
當前提交
ae022f1aca
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/Makefile.am

+ 1
- 1
src/Makefile.am 查看文件

@@ -1,7 +1,7 @@
1 1
 bin_PROGRAMS   = light
2 2
 light_SOURCES  = main.c light.c light.h helpers.c helpers.h
3 3
 light_CPPFLAGS = -I../include -D_XOPEN_SOURCE=500
4
-light_CFLAGS   = -W -Wall -Wextra -std=gnu99
4
+light_CFLAGS   = -W -Wall -Wextra -std=gnu99 -Wno-type-limits
5 5
 
6 6
 install-exec-hook:
7 7
 	chmod 4755 $(DESTDIR)$(bindir)/light