[ECOS] FW: "warning: type qualifiers ignored on function return type"

Gary Stebbins GStebbins@bruxton.com
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)?

Thanks.

Gary

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/errno.h:62,
                 from
../eCOS/eCos_install/include/cyg/libc/stdio/stdio.inl:57,
                 from
../eCOS/eCos_install/include/cyg/libc/stdio/stdio.h:294,
                 from ../eCOS/eCos_install/include/stdio.h:65,
                 from ../eCOS/eCos_install/include/assert.h:69,
                 from ../../Source/MyFile.c:12:
../eCOS/eCos_install/include/cyg/error/errno.h:68: warning: type
qualifiers ignored on function return type





More information about the Ecos-discuss mailing list