Skip to content
Snippets Groups Projects
Commit 23927586 authored by Luigi Rizzo's avatar Luigi Rizzo
Browse files

As the comment in the code says:

Use weaker error checking because we have some automatically generated
files. However just mask out -Werror, because other warnings below:
     -Wundef -Wstrict-prototypes -Wmissing-declarations
     -Wmissing-prototypes
may actually be important and spot out real bugs.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72727 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent c26f1ce1
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,12 @@ MM_SRCS= \
MM_OBJS:=$(MM_SRCS:%.c=%.o)
MM_HDRS:=mm.h mm_util.h
ASTCFLAGS:=$(filter-out -Werror -Wundef -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes,$(ASTCFLAGS))
# Use weaker error checking because we have some automatically generated
# files. However just mask out -Werror, because other warnings below:
# -Wundef -Wstrict-prototypes -Wmissing-declarations
# -Wmissing-prototypes
# may actually be important and spot out real bugs.
ASTCFLAGS:=$(filter-out -Werror,$(ASTCFLAGS))
all: $(LIBMMIME)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment