Ignore:
Timestamp:
Oct 29, 2008, 11:14:48 PM (17 years ago)
Author:
bird
Message:

kmk: pedantic warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/filedef.h

    r1995 r2001  
    210210#define ORDINARY_MTIME_MIN (OLD_MTIME + 1)
    211211#if FILE_TIMESTAMP_HI_RES == 0 /* bird: shut up annoying warnings!
    212   ASSUMES: unsinged FILE_TIMESTAMP ++. */
    213 # define ORDINARY_MTIME_MAX  ( ~ (FILE_TIMESTAMP) 0 )
     212  ASSUMES: unsigned FILE_TIMESTAMP ++. */
     213# define ORDINARY_MTIME_MAX     ( ~ (FILE_TIMESTAMP) 0 )
    214214#else
    215215#define ORDINARY_MTIME_MAX ((FILE_TIMESTAMP_S (NEW_MTIME) \
     
    224224   targets, which need to be considered newer than anything that depends on
    225225   them, even if said dependents' modtimes are in the future.  */
     226#if 1 /* bird: ASSUME the type is unsigned and the wrath of a pedantic gcc.  */
     227# define NEW_MTIME              ( ~ (FILE_TIMESTAMP) 0 )
     228#else
    226229#define NEW_MTIME INTEGER_TYPE_MAXIMUM (FILE_TIMESTAMP)
     230#endif
    227231
    228232#define check_renamed(file) \
Note: See TracChangeset for help on using the changeset viewer.