[En-Nut-Discussion] Help, Ethernut compiling problem

Matthias Ringwald mringwal at inf.ethz.ch
Wed Apr 14 20:13:47 CEST 2004


Hi


On 14.04.2004, at 17:58, Pojok wrote:

>> After this, make makes for quite a while and then
> ends with
>> this sequence...
>>
>> usart.c: In function `UsartRead':
>> usart.c:222: warning: comparison between signed and
> unsigned
>> make[1]: *** [usart.o] Error 1
>> make[1]: Leaving directory `H:/NUTCVS~1/dev'
>> make: *** [install] Error 2
>>
>> Can a warning like this stop the make process?
Yep. in the the compiler options it is said that a
'warning' will stop the make process.
I assume, this is to assure the quality of the code
by forcing anybody changing something to
explicitly put in any needed cast operation, to
avoid an unwanted bug by comparing e.g. signed
and unsigned values.

besides that, I'm not using windows. On my Mac it compiles
fine.

matthias ringwald




More information about the En-Nut-Discussion mailing list