[btnode-development] Re: [En-Nut-Discussion] Re: Warnings when compiling NutOS unix emulation with gcc 4.0.1

Matthias Ringwald mringwal at inf.ethz.ch
Tue Jul 12 16:26:33 CEST 2005


>
>> I did have a quick look but I'm not confident if the patch is good.
>> E.g. it changes the THREADINFO td_name from u_char to char.
>> I think its better the other way round, in functions calls that use
>> td_name
>> cast to (char).
>>
>
> Right. This could break a lot of apps perhaps. But on the other side
> chars (readable characters) should always be char, right? Or have I
> missed some architecture depending things?
>
> So THREADINFO td_name should also be a char, right?

Don't agree, as to me, a readable character has always been a value  
between 0-255..
I never accepted the idea of negative chars.. :)

matthias




More information about the En-Nut-Discussion mailing list