mirror of
https://github.com/coturn/coturn.git
synced 2025-10-25 13:00:59 +02:00
extra warnings
This commit is contained in:
parent
d5121987ba
commit
3be4918558
4
configure
vendored
4
configure
vendored
@ -714,7 +714,7 @@ fi
|
|||||||
|
|
||||||
GNUOSCFLAGS="-g ${GNUOSCFLAGS}"
|
GNUOSCFLAGS="-g ${GNUOSCFLAGS}"
|
||||||
GNUOSCFLAGS="${GNUOSCFLAGS} -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual"
|
GNUOSCFLAGS="${GNUOSCFLAGS} -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual"
|
||||||
GNUOSCFLAGS="${GNUOSCFLAGS} -Wno-write-strings"
|
GNUOSCFLAGS="${GNUOSCFLAGS}"
|
||||||
|
|
||||||
${CC} -Werror ${GNUOSCFLAGS} ${TMPCPROGC} ${OSCFLAGS} -o ${TMPCPROGB} 2>>/dev/null
|
${CC} -Werror ${GNUOSCFLAGS} ${TMPCPROGC} ${OSCFLAGS} -o ${TMPCPROGB} 2>>/dev/null
|
||||||
ER=$?
|
ER=$?
|
||||||
@ -726,7 +726,7 @@ if ! [ ${ER} -eq 0 ] ; then
|
|||||||
${ECHO_CMD} "Not an ordinary GNU or Clang compiler"
|
${ECHO_CMD} "Not an ordinary GNU or Clang compiler"
|
||||||
else
|
else
|
||||||
${ECHO_CMD} "g++ or something..."
|
${ECHO_CMD} "g++ or something..."
|
||||||
GNUOSCFLAGS="-g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wpointer-arith -Wcast-qual -Wno-write-strings"
|
GNUOSCFLAGS="-g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wpointer-arith -Wcast-qual"
|
||||||
${CC} -Werror ${GNUOSCFLAGS} ${TMPCPROGC} ${OSCFLAGS} -o ${TMPCPROGB} 2>>/dev/null
|
${CC} -Werror ${GNUOSCFLAGS} ${TMPCPROGC} ${OSCFLAGS} -o ${TMPCPROGB} 2>>/dev/null
|
||||||
ER=$?
|
ER=$?
|
||||||
if ! [ ${ER} -eq 0 ] ; then
|
if ! [ ${ER} -eq 0 ] ; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user