Thu 22 May 2003 02:01:13 PM UTC, original submission:
Hi,
Compiling findutils-4.1.7 with Intel icc, I get the following errors and
warnings.
1) Error in locate/locate.c because of wrong definition of N_. It must
expand to a literal string, not a parenthesized string, because in ISO C 99,
a parenthesized string is not a valid initializer for a 'const char[]'.
Fix: change
# define N_(String) (String)
to
# define N_(String) String
everywhere.
2) fstype.c:
"fstype.c", line 264: warning #266: function declared implicitly
xstrtoumax (devopt, NULL, 16, &u, NULL);
^
Fix: #include "xstrtol.h" in find/fstype.c.
3) locate.c:
"locate.c", line 276: warning #266: function declared implicitly
patend=TOLOWER(patend);
^
"locate.c", line 276: warning #266: function declared implicitly
patend=TOLOWER(patend);
^
"locate.c", line 322: warning #266: function declared implicitly
nread = getstr (&path, &pathsize, fp, '\0', count);
^
"locate.c", line 344: warning #266: function declared implicitly
if (TOLOWER(s) == patend)
^
"locate.c", line 344: warning #266: function declared implicitly
if (TOLOWER(s) == patend)
^
Fix: #include <ctype.h> in locate/locate.c.
|