Warning Building Newlib Head
Craig Howland
howland@LGSInnovations.com
Wed Jan 14 16:05:00 GMT 2015
On 01/14/2015 10:56 AM, Joel Sherrill wrote:
> Hi
>
> Looking at the warnings in the build logs, I saw this:
>
> newlib/libc/posix/glob.c:383:7: warning: implicit declaration of
> function 'issetugid' [-Wimplicit-function-declaration]
>
> I was going to add an include to eliminate this but don't see one. The
> method
> is referenced in these files:
>
> $ grep -r issetugid .
> ./posix/glob.c: issetugid() != 0 ||
> ./sys/rtems/crt0.c:RTEMS_STUB(int, issetugid (void), { return 0; })
> ./sys/linux/net/issetugid-stub.c:issetugid(void)
>
> Where should this method be prototyped?
>
Solaris, FreeBSD and OpenBSD all have it in unistd.h.
Craig
More information about the Newlib
mailing list