[Asterisk-code-review] BuildSystem: Remove two dead exceptions for compiler Clang. (asterisk[master])

Alexander Traud asteriskteam at digium.com
Mon Aug 16 11:13:28 CDT 2021


Alexander Traud has uploaded this change for review. ( https://gerrit.asterisk.org/c/asterisk/+/16301 )


Change subject: BuildSystem: Remove two dead exceptions for compiler Clang.
......................................................................

BuildSystem: Remove two dead exceptions for compiler Clang.

Commit 305ce3d added -Wno-parentheses-equality to Makefile.rules,
turning the previous two warning suppressions from commit e9520db
redundant. Let us remove the latter.

Change-Id: I0b471254b31e6e05902062761dded4b3e626c7ac
---
M res/Makefile
M utils/Makefile
2 files changed, 0 insertions(+), 6 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/01/16301/1

diff --git a/res/Makefile b/res/Makefile
index fc48611..ae090fa 100644
--- a/res/Makefile
+++ b/res/Makefile
@@ -33,9 +33,6 @@
 
 ael/ael.tab.o: ael/ael.tab.c ael/ael.tab.h ../include/asterisk/ael_structs.h
 ael/ael.tab.o: _ASTCFLAGS+=-I. -Iael -DYYENABLE_NLS=0
-	ifneq ($(AST_CLANG_BLOCKS),)
-		_ASTCFLAGS+=-Wno-parentheses-equality
-	endif
 
 ifneq ($(findstring REBUILD_PARSERS,$(MENUSELECT_CFLAGS)),)
 ael/ael_lex.c: ael/ael.flex
diff --git a/utils/Makefile b/utils/Makefile
index 3a1e218..3df7976 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -143,9 +143,6 @@
 	$(ECHO_PREFIX) echo "   [CP] $(subst $(ASTTOPDIR)/,,$<) -> $@"
 	$(CMD_PREFIX) cp "$<" "$@"
 aelbison.o: _ASTCFLAGS+=-I$(ASTTOPDIR)/res/ael -DYYENABLE_NLS=0
-	ifneq ($(AST_CLANG_BLOCKS),)
-		_ASTCFLAGS+=-Wno-parentheses-equality
-	endif
 
 pbx_ael.c: $(ASTTOPDIR)/pbx/pbx_ael.c
 	$(ECHO_PREFIX) echo "   [CP] $(subst $(ASTTOPDIR)/,,$<) -> $@"

-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/16301
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: I0b471254b31e6e05902062761dded4b3e626c7ac
Gerrit-Change-Number: 16301
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20210816/508a8d9e/attachment-0001.html>


More information about the asterisk-code-review mailing list