Commit bf66a3a3 authored by Simon Morlat's avatar Simon Morlat
Browse files

workaround compile errors

parent e00c82e4
......@@ -59,7 +59,17 @@ else
CFLAGS="$CFLAGS -g"
fi
STRICT_OPTIONS=" -Wall -Werror -Wno-unknown-pragmas -Wno-error=unknown-pragmas -Wno-error=pragmas -Wno-error=unknown-warning-option"
STRICT_OPTIONS=" -Wall -Werror -Wno-unknown-pragmas -Wno-error=unknown-pragmas"
case "$CC" in
*xcoderun* | *clang*)
STRICT_OPTIONS="$STRICT_OPTIONS -Wno-error=unknown-warning-option"
;;
gcc*)
STRICT_OPTIONS="$STRICT_OPTIONS -Wno-error=pragmas"
;;
esac
dnl because of antlr3 we must accept a few warnings...
dnl more portable for the moment
LESS_STRICT_OPTIONS=
......
noinst_LTLIBRARIES=libbellesip_generated.la
libbellesip_generated_la_CFLAGS=$(LIBBELLESIP_CFLAGS) $(ANTLR_CFLAGS) $(STRICT_OPTIONS)
libbellesip_generated_la_CFLAGS=$(LIBBELLESIP_CFLAGS) $(ANTLR_CFLAGS)
nodist_libbellesip_generated_la_SOURCES= \
......
......@@ -67,6 +67,7 @@ options {
#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wunused"
}
@includes {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment