Hi.
I am hitting the following build error on Linux.
mknodat01.c:53:12: error: ‘dirfd’ redeclared as different kind of symbol
static int dirfd, fd;
^
In file included from ../../../../include/safe_macros.h:28:0,
from mknodat01.c:38:
/usr/include/dirent.h:223:12: note: previous declaration of ‘dirfd’ was here
extern int dirfd (DIR *__dirp) __THROW __nonnull ((1));
^
<builtin>: recipe for target 'mknodat01' failed
The build error is introduced with commit
9138a0184105389aad4aeae89dc1331829d7d2cb.
commit 9138a0184105389aad4aeae89dc1331829d7d2cb
Author: Cyril Hrubis <[email protected]>
Date: Tue Feb 10 15:44:45 2015 +0100
safe_macros: Add opendir(), readdir(), closedir()
Signed-off-by: Cyril Hrubis <[email protected]>
Cheers,
Vinson
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list