On 13/10/2014 7:07 am, Joel Sherrill wrote:
Hi
I assume Chris knows the root cause of this. :)
arm-rtems4.11-gcc --pipe -DHAVE_CONFIG_H -I..
-I../../cpukit/../../../altcycv_devkit/lib/include
-I../../../../../../rtems/c/src/../../cpukit/libmisc/shell
-march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mtune=cortex-a9 -O2
-g -Wall -Wmissing-prototypes -Wimplicit-function-declaration
-Wstrict-prototypes -Wnested-externs -MT shell/libshell_a-main_echo.o
-MD -MP -MF shell/.deps/libshell_a-main_echo.Tpo -c -o
shell/libshell_a-main_echo.o `test -f 'shell/main_echo.c' || echo
'../../../../../../rtems/c/src/../../cpukit/libmisc/'`shell/main_echo.c
../../../../../../rtems/c/src/../../cpukit/libmisc/shell/main_cp.c:108:1:
warning:
'rtems_shell_cp_exit' defined but not used [-Wunused-function]
It can be removed. There does not look like there is any calls to exit
in the cp command. It is using errx.
Chris
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel