emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: recent commit broke src/dired.c on OSX


From: Eli Zaretskii
Subject: Re: recent commit broke src/dired.c on OSX
Date: Sun, 25 Jul 2010 23:44:46 +0300

> From: Chad Brown <address@hidden>
> Date: Sun, 25 Jul 2010 13:12:26 -0700
> Cc: address@hidden, "Randal L. Schwartz" <address@hidden>
> 
> The resulting build gives warnings:
> 
> dired.c: In function ‘Ffile_attributes’:
> dired.c:1016: warning: comparison is always false due to limited range of 
> data type
> dired.c:1016: warning: comparison is always false due to limited range of 
> data type
> dired.c:1020: warning: comparison is always false due to limited range of 
> data type
> dired.c:1020: warning: comparison is always false due to limited range of 
> data type
> dired.c:1068: warning: comparison is always false due to limited range of 
> data type
> dired.c:1068: warning: comparison is always false due to limited range of 
> data type

This is normal, don't worry about it.

> It seems that Darwin's dirent.h prototype is:
> 
> DIR *opendir(const char *)
> 
> which conflicts with dired.c's unconditional (ifndef MSDOS) declaration:
> 
> extern DIR *opendir(char *)

Darwin should pick up its dirent.h instead of these explicit
prototypes, which are for systems that don't have dirent.h.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]