[ECOS] FW: "warning: type qualifiers ignored on function return type"
Sun Nov 11 16:14:00 GMT 2001
The error "warning: type qualifiers ignored on function return type"
began occurring when I upgraded from gcc 2.95.2 to 3.0.1 (Platform:
Cygwin on Windows 2000). This was with eCos 1.3.1. I downloaded the
latest eCos files and tried again, with the same results. The line in
MyFile.c where the error occurs is "include <string>".
Has anyone else run into this? Is this a compiler problem, or a eCos
source problem (or my problem)?
arm-elf-gcc -mcpu=arm7tdmi -c -o MyFile.o -g -W -Wall -I.
-I../../Source -I../eCOS/eCos_install/include -ffunction-sections
-fdata-sections ../../Source/MyFile.c In file included from
../eCOS/eCos_install/include/cyg/error/errno.h:68: warning: type
qualifiers ignored on function return type
More information about the Ecos-discuss