System: alphaev56-dec-osf5.1 (b)
C Compiler: $cc -V

Compaq C V6.5-207 (dtk) on Compaq Tru64 UNIX V5.1B (Rev. 2650)
Compiler Driver V6.5-207 (dtk) (dtk) cc Driver



configure for coreutils 5.1.0 correctly detects that uintmax_t can be
found in `stdint.h' (at least as long as you're using the most recent
C compiler & related files), but lib/fts.c uses uintmax_t without
including the necessary header file(s).  This results in:

cc: Error: fts.c, line 196: Missing ";". (nosemi)
  return (uintmax_t) ax->ino % table_size;
---------------------^
cc: Error: fts.c, line 196: In this statement, "uintmax_t" is not
declared. (undeclared)
  return (uintmax_t) ax->ino % table_size;
----------^


I can produce a patch to fix the problem, basically

#if HAVE_STDINT_H_WITH_UINTMAX
# include <stdint.h>
#endif

but I'm not certain if `fts.c' is where this should be placed.  Is there
a platform portability header file that would be more appropriate?

Thanks!

Tim
-- 
Tim Mooney                              [EMAIL PROTECTED]
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J6, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164


_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to