This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: FW: "warning: type qualifiers ignored on function return type"
- From: "Gary Stebbins" <GStebbins at bruxton dot com>
- To: "'J. J. Farrell'" <jjf at abaqos dot com>
- Cc: <ecos-discuss at sourceware dot cygnus dot com>
- Date: Fri, 16 Nov 2001 15:40:50 -0800
- Subject: RE: [ECOS] FW: "warning: type qualifiers ignored on function return type"
I thought I was following directions... What should I be using?
Gary
>From "Building the ARM THUMB development tools for Windows",
http://sources.redhat.com/ecos/tools/win-thumb-elf.html:
GNU Compiler Collection
The GNU Compiler Collection web site contains plenty of information
about installing and using GCC. Unfortunately the most recent official
release (GCC 2.95.2) is not capable of supporting eCos for ARM THUMB. A
snapshot of the GCC development sources should be used to obtain the
most up-to-date compiler with new features and bug fixes.
-----Original Message-----
From: J. J. Farrell
On Fri, Nov 16, 2001 at 02:26:02PM -0800, Gary Stebbins wrote:
>
> 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).
>
> Has anyone else run into this? Is this a compiler problem, or a eCos
> source problem (or my problem)?
And previously:
> I built/installed gcc v3.0.1, and now get "warning: no newline at end
> of file" on many files.
You don't get warnings when you use the recommended compiler. You do get
warnings when you use some other compiler.
I guess that makes it your problem!