On Mon, Oct 29, 2001 at 09:08:54PM -0500, Glenn Maynard wrote:
> + int filesno;
> /* Find the amount of whitespace shared by every entry in the
> * column. */
> - for (int filesno = 0; filesno < lst_cnt; ++filesno) {
> + for (filesno = 0; filesno < lst_cnt; ++filesno) {
>
> Ew!
>
> Which IRIX compiler needs this? Doing a little searching,
See attached message.
--
Alexander.
I got the following an error when trying to compile lftp-cvs
on IRIX 6.5.13f with MIPSpro Compilers.
% CC -version
MIPSpro Compilers: Version 7.3.1.2m, Patch 4268
% CC -DHAVE_CONFIG_H -I. -I../include -I/usr/local/ssl/include \
-I/usr/local/include -O2 -OPT:Olimit=0 -c -o ColumnOutput.o \
`test -f ColumnOutput.cc || echo './'`ColumnOutput.cc
cc-1101 CC: ERROR File = ColumnOutput.cc, Line = 137
"filesno" has already been declared in the current scope.
for (int filesno = 0; filesno < lst_cnt; ++filesno) {
^
-- ayamura
Ayamura KIKUCHI, M.D.