[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
coreutils-4.5.6; build warnings on SGI IRIX 6.5
From: |
Nelson H. F. Beebe |
Subject: |
coreutils-4.5.6; build warnings on SGI IRIX 6.5 |
Date: |
Thu, 6 Feb 2003 11:31:33 -0700 (MST) |
Builds and validation tests of coreutils-4.5.6 on SGI IRIX 6.5
with both gcc-3.2.1 and native c89 were completely successful.
However, c89 did raise some warnings that should be easy to
fix:
c89 -DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.
-I/usr/local/include -g -c `test -f 'cycle-check.c' || echo
'./'`cycle-check.c
cc-1185 c89: WARNING File = cycle-check.c, Line = 49
An enumerated type is mixed with another type.
return (i & (i - 1)) == 0;
^
c89 -DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.
-I/usr/local/include -g -c `test -f 'exclude.c' || echo './'`exclude.c
cc-1185 c89: WARNING File = exclude.c, Line = 166
An enumerated type is mixed with another type.
bool excluded = !! (exclude[0].options & EXCLUDE_INCLUDE);
^
cc-1185 c89: WARNING File = exclude.c, Line = 180
An enumerated type is mixed with another type.
bool matched = ((*matcher) (pattern, f, options) == 0);
^
cc-1185 c89: WARNING File = exclude.c, Line = 186
An enumerated type is mixed with another type.
matched = ((*matcher) (pattern, p + 1, options) == 0);
^
cc-1185 c89: WARNING File = exclude.c, Line = 228
An enumerated type is mixed with another type.
bool use_stdin = filename[0] == '-' && !filename[1];
^
c89 -DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.
-I/usr/local/include -g -c `test -f 'fnmatch.c' || echo './'`fnmatch.c
cc-1548 c89: WARNING File = fnmatch_loop.c, Line = 275
The transfer of control bypasses...
... the initialization of variable "is_range" (declared at line
420).
goto normal_bracket;
^
c89 -DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.
-I/usr/local/include -g -c `test -f 'regex.c' || echo './'`regex.c
cc-1552 c89: WARNING File = regex.c, Line = 7337
The variable "pdummy" is set but never used.
UCHAR_T *pdummy = NULL;
^
cc-1552 c89: WARNING File = regex.c, Line = 7338
The variable "sdummy" is set but never used.
const CHAR_T *sdummy = NULL;
^
cc-1548 c89: WARNING File = regex.c, Line = 7685
The transfer of control bypasses...
... the initialization of variable "same_str_p" (declared at line
6133).
goto restore_best_regs;
^
c89 -DLOCALEDIR=\"/usr/local/share/locale\" -DSHAREDIR=\"/usr/local/share\"
-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -I/usr/local/include
-g -c `test -f 'cp.c' || echo './'`cp.c
cc-1185 c89: WARNING File = cp.c, Line = 955
An enumerated type is mixed with another type.
x.interactive = XARGMATCH ("--reply", optarg,
^
c89 -DLOCALEDIR=\"/usr/local/share/locale\" -DSHAREDIR=\"/usr/local/share\"
-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -I/usr/local/include
-g -c `test -f 'ls.c' || echo './'`ls.c
cc-1185 c89: WARNING File = ls.c, Line = 406
An enumerated type is mixed with another type.
locale_time_style, 0
^
c89 -DLOCALEDIR=\"/usr/local/share/locale\" -DSHAREDIR=\"/usr/local/share\"
-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -I/usr/local/include
-g -c `test -f 'mv.c' || echo './'`mv.c
cc-1185 c89: WARNING File = mv.c, Line = 422
An enumerated type is mixed with another type.
x.interactive = XARGMATCH ("--reply", optarg,
^
c89 -DLOCALEDIR=\"/usr/local/share/locale\" -DSHAREDIR=\"/usr/local/share\"
-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -I/usr/local/include
-g -c `test -f 'stat.c' || echo './'`stat.c
cc-1119 c89: WARNING File = stat.c, Line = 110
The "return" expression type differs from the function return type.
return statfsbuf->f_basetype;
^
c89 -DLOCALEDIR=\"/usr/local/share/locale\" -DSHAREDIR=\"/usr/local/share\"
-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -I/usr/local/include
-g -c `test -f 'fmt.c' || echo './'`fmt.c
cc-1185 c89: WARNING File = fmt.c, Line = 621
An enumerated type is mixed with another type.
return (next_prefix_indent == prefix_indent
^
cc-1185 c89: WARNING File = fmt.c, Line = 669
An enumerated type is mixed with another type.
word_limit->final = (c == EOF
^
cc-1185 c89: WARNING File = fmt.c, Line = 746
An enumerated type is mixed with another type.
w->paren = isopen (*start);
^
cc-1185 c89: WARNING File = fmt.c, Line = 747
An enumerated type is mixed with another type.
w->punct = ISPUNCT (*finish);
^
cc-1185 c89: WARNING File = fmt.c, Line = 750
An enumerated type is mixed with another type.
w->period = isperiod (*finish);
^
c89 -DLOCALEDIR=\"/usr/local/share/locale\" -DSHAREDIR=\"/usr/local/share\"
-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -I/usr/local/include
-g -c `test -f 'ptx.c' || echo './'`ptx.c
cc-1185 c89: WARNING File = ptx.c, Line = 527
An enumerated type is mixed with another type.
bool using_stdin = !file_name || !*file_name || strcmp (file_name, "-") ==
0;
^
c89 -DLOCALEDIR=\"/usr/local/share/locale\" -DSHAREDIR=\"/usr/local/share\"
-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -I/usr/local/include
-g -c `test -f 'sort.c' || echo './'`sort.c
cc-1185 c89: WARNING File = sort.c, Line = 2164
An enumerated type is mixed with another type.
bool obsolete_usage = (posix2_version () < 200112);
^
c89 -DLOCALEDIR=\"/usr/local/share/locale\" -DSHAREDIR=\"/usr/local/share\"
-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -I/usr/local/include
-g -c `test -f 'tail.c' || echo './'`tail.c
cc-1185 c89: WARNING File = tail.c, Line = 1301
An enumerated type is mixed with another type.
obsolete_usage = (posix2_version () < 200112);
^
c89 -DLOCALEDIR=\"/usr/local/share/locale\" -DSHAREDIR=\"/usr/local/share\"
-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -I/usr/local/include
-g -c `test -f 'uniq.c' || echo './'`uniq.c
cc-1185 c89: WARNING File = uniq.c, Line = 396
An enumerated type is mixed with another type.
bool posixly_correct = (getenv ("POSIXLY_CORRECT") != NULL);
^
c89 -DLOCALEDIR=\"/usr/local/share/locale\" -DSHAREDIR=\"/usr/local/share\"
-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -I/usr/local/include
-g -c `test -f 'date.c' || echo './'`date.c
cc-1185 c89: WARNING File = date.c, Line = 453
An enumerated type is mixed with another type.
valid_date = (when.tv_sec != (time_t) -1);
^
c89 -DLOCALEDIR=\"/usr/local/share/locale\" -DSHAREDIR=\"/usr/local/share\"
-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -I/usr/local/include
-g -c `test -f 'expr.c' || echo './'`expr.c
cc-1116 c89: WARNING File = expr.c, Line = 265
Non-void function "null" (declared at line 254) should return a value.
}
^
cc-1116 c89: WARNING File = expr.c, Line = 323
Non-void function "toarith" (declared at line 290) should return a value.
}
^
c89 -DLOCALEDIR=\"/usr/local/share/locale\" -DSHAREDIR=\"/usr/local/share\"
-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -I/usr/local/include
-g -c `test -f 'pathchk.c' || echo './'`pathchk.c
cc-1188 c89: WARNING File = pathchk.c, Line = 235
The indicated type qualifier is meaningless on cast type.
if (portable_chars[(const unsigned char) *p] == 0)
^
c89 -DLOCALEDIR=\"/usr/local/share/locale\" -DSHAREDIR=\"/usr/local/share\"
-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -I/usr/local/include
-g -c `test -f 'test.c' || echo './'`test.c
cc-1116 c89: WARNING File = test.c, Line = 622
Non-void function "binary_operator" (declared at line 383) should return a
value.
}
^
c89 -DLOCALEDIR=\"/usr/local/share/locale\" -DSHAREDIR=\"/usr/local/share\"
-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -I/usr/local/include
-g -c `test -f 'stty.c' || echo './'`stty.c
cc-1116 c89: WARNING File = stty.c, Line = 1525
Non-void function "mode_type_flag" (declared at line 1503) should return a
value.
}
^
c89 -DLOCALEDIR=\"/usr/local/share/locale\" -DSHAREDIR=\"/usr/local/share\"
-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../lib -I/usr/local/include
-g -c `test -f 'df.c' || echo './'`df.c
cc-1185 c89: WARNING File = df.c, Line = 188
An enumerated type is mixed with another type.
divisible_by_1000 = q1000 % 1000 == 0; q1000 /= 1000;
^
cc-1185 c89: WARNING File = df.c, Line = 189
An enumerated type is mixed with another type.
divisible_by_1024 = q1024 % 1024 == 0; q1024 /= 1024;
^
-------------------------------------------------------------------------------
- Nelson H. F. Beebe Tel: +1 801 581 5254 -
- Center for Scientific Computing FAX: +1 801 581 4148 -
- University of Utah Internet e-mail: address@hidden -
- Department of Mathematics, 110 LCB address@hidden address@hidden -
- 155 S 1400 E RM 233 address@hidden -
- Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe -
-------------------------------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- coreutils-4.5.6; build warnings on SGI IRIX 6.5,
Nelson H. F. Beebe <=