mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-25 20:28:21 +00:00
Add some more warning flags, and fix these warnings.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4545 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
c7c77845d2
commit
b79274babd
13 files changed
+52
-42
No files matched your search
@@ -140,7 +140,8 @@ endif
|
||||
|
||||
ifeq ($(WARN),1)
|
||||
ALL_CFLAGS += -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual \
|
||||
-Wcast-align -Wwrite-strings -Wnested-externs -Winline
|
||||
-Wcast-align -Wwrite-strings -Wnested-externs -Winline -W \
|
||||
-Wmissing-prototypes -Wundef
|
||||
endif
|
||||
|
||||
ALL_CPPFLAGS += $(CPPFLAGS)
|
||||
|
||||
Reference in new issue
Block a user