Module: kamailio
Branch: master
Commit: d63548dc311df5f2550e788fc026d9ec7c7dd2f4
URL:
https://github.com/kamailio/kamailio/commit/d63548dc311df5f2550e788fc026d9e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-10-02T15:33:51+02:00
Makefile.defs: enabled clang compile warning flags -Wunused-variable -Wuninitialized
---
Modified: src/Makefile.defs
---
Diff:
https://github.com/kamailio/kamailio/commit/d63548dc311df5f2550e788fc026d9e…
Patch:
https://github.com/kamailio/kamailio/commit/d63548dc311df5f2550e788fc026d9e…
---
diff --git a/src/Makefile.defs b/src/Makefile.defs
index dd12e6e60b..784e2a510d 100644
--- a/src/Makefile.defs
+++ b/src/Makefile.defs
@@ -1709,9 +1709,9 @@ else # no gcc
ifeq ($(CC_NAME), icc)
CFLAGS+= -Wall
else # no icc
-ifeq ($(CC_NAME), suncc)
- # FIXME: is the default (-Xa ?) enough?
-endif # CC_NAME=suncc
+ifeq ($(CC_NAME), clang)
+ CFLAGS+= -Wunused-variable -Wuninitialized
+endif # CC_NAME=clang
endif # CC_NAME=icc
endif # CC_NAME=gcc