"Arnd Hanses" <[EMAIL PROTECTED]> wrote:

> I just want to report a compiler warning:
>
> lyxlib.h: In function `char * date()':
> In file included from *manyfiles*
> lyxlib.h:27: warning: comparison between signed and unsigned
>
> Compiler bug or wrong declaration somewhere? I suppose its harmless,
> but as I know nothing about *serious* development, I just report it
> here.

It is absolutely harmless until 2106.  time() won't return negative
values nor set errno.  ANSI doesn't say anything about signedness of
time_t  It only require the type to be large enough.  emx uses unsigned
int while all (?) the existing UNICES use signed int for time_t
(2038 problem on 32 bit systems).

Regards,
        SMiyata

Reply via email to