bug-global
[Top][All Lists]
Advanced

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

Re: error: POSIX.1-2008 realpath(3) is required on macos


From: Shigio YAMAGUCHI
Subject: Re: error: POSIX.1-2008 realpath(3) is required on macos
Date: Mon, 3 Oct 2022 10:36:44 +0900

OK.
I will fix it like follows:

[configure.ac]

#include <stdlib.h>
main(){ (void)realpath("/./tmp", (void *)0); return 0; }
|
v
#include <stdlib.h>
int main(){ (void)realpath("/./tmp", (void *)0); return 0; }

This fix will be included by the next release.
Thank you!

Regards,
Shigio

On Mon, Oct 3, 2022 at 7:33 AM Sam James <sam@gentoo.org> wrote:
>
> > Hello,
> > It has already been fixed in the repository.
> >
> > http://cvs.savannah.gnu.org/viewvc/global/global/configure.ac?r1=1.204&r2=1.205
> >
> > This fix will be included in the next release.
> >
> > Anyway, thank you for the patch!
> >
> > Regards,
> > Shigio
>
> For Clang 16, an 'int' is needed before the main as well, as it's going to 
> make
> -Werror=implicit-int on by default.
>
> Thanks!



-- 
Shigio YAMAGUCHI <shigio@gnu.org>
PGP fingerprint:
26F6 31B4 3D62 4A92 7E6F  1C33 969C 3BE3 89DD A6EB



reply via email to

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