In article <CAN6pqGQMV-JtfuidyRAH1VoYV7mJott=aruq3t3nro1kwcd...@mail.gmail.com>,
Takehiko NOZAKI  <takehiko.noz...@gmail.com> 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

Reply via email to