mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 11:25:35 +00:00
Fix GCC 8 build issues.
This fixes build warnings found by GCC 8. In some cases format truncation is intentional so the warning is just suppressed. ASTERISK-27824 #close Change-Id: I724f146cbddba8b86619d4c4a9931ee877995c84
This commit is contained in:
@@ -25,3 +25,5 @@ include $(ASTTOPDIR)/Makefile.moddir_rules
|
||||
# warning must be disabled; for safety reasons, SPRINTF() is kept in
|
||||
# a separate module so that as little code as possible is left unchecked
|
||||
func_sprintf.o: _ASTCFLAGS+=-Wno-format-nonliteral
|
||||
|
||||
func_groupcount.o: _ASTCFLAGS+=$(AST_NO_FORMAT_TRUNCATION)
|
||||
|
Reference in New Issue
Block a user