Subject: Re: indent fails to build on sparc, -current
To: Ignatios Souvatzis <email@example.com>
From: Bill Sommerfeld <firstname.lastname@example.org>
Date: 10/14/2000 09:17:11
> Now, as of yesterday, it compiled cleanly on i386. Why the compiler detects
> some things on other architectures that it happily accepts on i386 is a
> mystery to me.
Not to me :-)
fprintf(output, s == '/' && s == '*' ? "\t%.*s" : "\t/* %.*s */",
e_lab - s, s);
e_lab and s are both char *; their difference has an
implementation-defined type which is clearly "int" on x86, and "long"
This was not caught before because the compiler didn't know how to
grovel around in the ?: expression to find the format string..