This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
FW: "warning: type qualifiers ignored on function return type"
- From: "Gary Stebbins" <GStebbins at bruxton dot com>
- To: <ecos-discuss at sourceware dot cygnus dot com>
- Date: Fri, 16 Nov 2001 14:26:02 -0800
- Subject: [ECOS] 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