Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/lib/libc/stdio



In article 
<CAN6pqGQMV-JtfuidyRAH1VoYV7mJott=ARUq3T3nro1KWCD2ug%mail.gmail.com@localhost>,
Takehiko NOZAKI  <takehiko.nozaki%gmail.com@localhost> wrote:
>-=-=-=-=-=-
>
>Hi,
>
>It seems that lint(1) is not cross build safe, it doesn't handle MD char
>default type of sign/unsignd. See src/usr.bin/xlint/lint1/tree.c::cvtcon().
>They use host MD CHAR_MAX directry ;)
>
>So, if cross building ppc/arm on other arch cause false alarm , "out of
>range " warnng.

It is not out of range warning, it is:

"nonportable character comparison, op %s",                    /* 230 */

the question is if 'char c; if (c == 255)' is portable or not.

christos



Home | Main Index | Thread Index | Old Index