mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-20 19:25:39 +08:00
2008-08-16 Ralf Corsepius <ralf.corsepius@rtems.org>
* aclocal/prog-cc.m4: Add -Wimplicit-function-declaration -Wstrict-prototypes to RTEMS_CFLAGS.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2008-08-16 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||
|
||||
* aclocal/prog-cc.m4: Add -Wimplicit-function-declaration
|
||||
-Wstrict-prototypes to RTEMS_CFLAGS.
|
||||
|
||||
2008-08-02 Chris Johns <chrisj@rtems.org>
|
||||
|
||||
* libchip/i2c/spi-sd-card.c, libchip/ide/ata.c: Remove
|
||||
|
||||
@@ -35,10 +35,12 @@ GCCSPECS="-B\$(PROJECT_ROOT)/lib/ -B\$(PROJECT_ROOT)/$RTEMS_BSP/lib/"
|
||||
GCCSPECS="${GCCSPECS} -specs bsp_specs -qrtems"])
|
||||
AC_SUBST(GCCSPECS)
|
||||
|
||||
if test "$GCC" = yes; then
|
||||
AS_IF([test "$GCC" = yes],[
|
||||
RTEMS_CFLAGS="$RTEMS_CFLAGS -Wall"
|
||||
# FIXME: This should be removed in production releases
|
||||
RTEMS_CFLAGS="$RTEMS_CFLAGS -Wimplicit-function-declaration -Wstrict-prototypes"
|
||||
m4_if([$1],,[],[RTEMS_CFLAGS="$RTEMS_CFLAGS $1"])
|
||||
fi
|
||||
])
|
||||
AC_SUBST(RTEMS_CFLAGS)
|
||||
|
||||
AS_IF([test x"$rtems_cv_gcc_isystem" = xyes],[
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
2008-08-16 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||
|
||||
* aclocal/prog-cc.m4: Add -Wimplicit-function-declaration
|
||||
-Wstrict-prototypes to RTEMS_CFLAGS.
|
||||
|
||||
2008-08-15 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
PR 1297/cpukit
|
||||
|
||||
@@ -25,10 +25,12 @@ dnl check if the target compiler may use --pipe
|
||||
RTEMS_GCC_PIPE
|
||||
test "$rtems_cv_gcc_pipe" = "yes" && CC="$CC --pipe"
|
||||
|
||||
if test "$GCC" = yes; then
|
||||
AS_IF([test "$GCC" = yes],[
|
||||
RTEMS_CFLAGS="$RTEMS_CFLAGS -Wall"
|
||||
# FIXME: This should be removed in production releases
|
||||
RTEMS_CFLAGS="$RTEMS_CFLAGS -Wimplicit-function-declaration -Wstrict-prototypes"
|
||||
m4_if([$1],,[],[RTEMS_CFLAGS="$RTEMS_CFLAGS $1"])
|
||||
fi
|
||||
])
|
||||
AC_SUBST(RTEMS_CFLAGS)
|
||||
|
||||
RTEMS_CPPFLAGS="-I\$(top_builddir) -I\$(PROJECT_INCLUDE)"
|
||||
|
||||
Reference in New Issue
Block a user