sim/rx: enable build with warnings
The rx simulator now has no build warnings. Delete the call to SIM_AC_OPTION_WARNINGS in configure.ac, the default yes will be provided by SIM_AC_OUTPUT. sim/rx/ChangeLog: * configure: Regenerate. * configure.ac (SIM_AC_OPTION_WARNINGS): Delete call.
This commit is contained in:
parent
da9ecd6085
commit
6bf99988c6
@ -1,3 +1,8 @@
|
|||||||
|
2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
|
||||||
|
|
||||||
|
* configure: Regenerate.
|
||||||
|
* configure.ac (SIM_AC_OPTION_WARNINGS): Delete call.
|
||||||
|
|
||||||
2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
|
2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
|
||||||
|
|
||||||
* mem.c (mem_put_blk): Rename parameter, add cast from parameter
|
* mem.c (mem_put_blk): Rename parameter, add cast from parameter
|
||||||
|
3
sim/rx/configure
vendored
3
sim/rx/configure
vendored
@ -13603,6 +13603,9 @@ if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
WERROR_CFLAGS=""
|
WERROR_CFLAGS=""
|
||||||
|
if test "${ERROR_ON_WARNING}" = yes ; then
|
||||||
|
WERROR_CFLAGS="-Werror"
|
||||||
|
fi
|
||||||
|
|
||||||
build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
|
build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
|
||||||
-Wpointer-sign \
|
-Wpointer-sign \
|
||||||
|
@ -22,7 +22,6 @@ AC_INIT(Makefile.in)
|
|||||||
sinclude(../common/acinclude.m4)
|
sinclude(../common/acinclude.m4)
|
||||||
|
|
||||||
SIM_AC_COMMON
|
SIM_AC_COMMON
|
||||||
SIM_AC_OPTION_WARNINGS(no)
|
|
||||||
|
|
||||||
AC_CHECK_HEADERS(getopt.h)
|
AC_CHECK_HEADERS(getopt.h)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user