This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

FW: "warning: type qualifiers ignored on function return type"


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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]