> Date: Mon, 21 Feb 2005 08:37:38 -0500 > Cc: bug-make@gnu.org, make-w32@gnu.org > From: "Paul D. Smith" <[EMAIL PROTECTED]> > > ez> file.c: In function `file_timestamp_cons': > ez> file.c:554: warning: comparison is always true due to limited range > of data type > > Unfortunately there's not much that can be done about this: I've asked > Paul Eggert (who wrote these macros) about this. The problem is that > the test is explicitly trying to determine whether the type is signed or > unsigned: there's no reliable way to do this at configure time that > doesn't involve running a program... which we can't do if we want to > allow GNU make to be cross-compiled (which we definitely do).
Do I understand correctly that you see similar warnings on GNU/Linux systems? If so, perhaps some README should tell that this warning is unavoidable and expected, and should be disregarded. Anyway, on platforms that use pre-cooked config.h files, like configh.DOS, perhaps we could define a macro there that would avoid the warning (since the precise types of the relevant data types is known in advance), and then the other *.h files could use #ifndef? _______________________________________________ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make