[OE-core] [PATCH] gettext: Fix overloadable error with clang
bunk at stusta.de
Thu Jan 16 13:13:30 UTC 2020
On Wed, Jan 15, 2020 at 08:46:09PM -0800, Khem Raj wrote:
> Clang detects that getcwd is being re-declared and signatures don't
> match, simple solution is to let clang use overloadable attribute
> +dcigettext.c:147:7: error: redeclaration of 'getcwd' must have the 'overloadable' attribute
> +-char *getcwd ();
Looks like a bug in clang to me, and should be fixed there.
The code does not tell anything regarding the parameters,
but clang seems to misinterpret it as "no parameters".
More information about the Openembedded-core