[En-Nut-Discussion] Compiler errors on signed/unsigned compares
Michel Hendriks
michel at stream-it.nl
Thu Nov 10 15:57:10 CET 2005
Hi all,
It looks like you missed my remark that the *newer* gcc no longer complains.
The old one *does* complain and so it is fine.
The set of software that no longer complains consists of NutOS 3.9.8.2, GCC
3.3.1 and avr-libc 0.99.90.20030829.
And apparently(?), GCC 4.0 also does not complain as NutOS 3.9.8.2 got
released with pro/dhcpc.c, pro/wins.c and fs/pnutfs.c that have
singed/unsigned issues.
So, the short version: apply my suggested fixes?
Greetings,
Michel
-----Oorspronkelijk bericht-----
Van: en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de] Namens Matthias Ringwald
Verzonden: maandag 7 november 2005 20:44
Aan: Ethernut User Chat (English)
Onderwerp: Re: [En-Nut-Discussion] Compiler errors on signed/unsigned
compares
Hi Hendriks
I might ask why you are using some compiler package from 2003.
And specifying the gcc resp. avr-libc version does help more then the
windows package date (I'm not using windows, as you might have guess by
now).
Otherwise gcc 4.0 complaints by default about signed/unsigned compares.
At least it emits warnings, which stop compiling.
So you might try a new compiler if you like and/or start fixing the
signedness issue.
matthias
On 07.11.2005, at 17:13, Michel Hendriks wrote:
> Now the funny/scary thing: Using WinAVR-20030913 the gcc compiler no
> longer complains about this!
_______________________________________________
En-Nut-Discussion mailing list
En-Nut-Discussion at egnite.de
http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
More information about the En-Nut-Discussion
mailing list