Warning Flags Disappeared

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Apr 19 13:18:40 UTC 2018


The problem is in c/src/configure.ac:

# Was CFLAGS set?
rtems_cv_CFLAGS_set="${CFLAGS+set}"

In this line CFLAGS is set. Later we have:

# Append warning flags if CFLAGS wasn't set.
AS_IF([test "$GCC" = yes && test "$rtems_cv_CFLAGS_set" != set],
[CFLAGS="$CFLAGS -Wall -Wmissing-prototypes 
-Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs"])

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the devel mailing list