Re: [OE-core] [PATCH] gettext: Fix overloadable error with clang

2020-01-24 Thread Adrian Bunk
On Wed, Jan 22, 2020 at 12:28:02PM -0800, Khem Raj wrote: > On Tue, Jan 21, 2020 at 8:32 AM Adrian Bunk wrote: > > > > On Thu, Jan 16, 2020 at 07:17:20AM -0800, Khem Raj wrote: > > > On Thu, Jan 16, 2020 at 5:13 AM Adrian Bunk wrote: > > > > > > > > On Wed, Jan 15, 2020 at 08:46:09PM -0800, Khem

Re: [OE-core] [PATCH] gettext: Fix overloadable error with clang

2020-01-22 Thread Khem Raj
On Tue, Jan 21, 2020 at 8:32 AM Adrian Bunk wrote: > > On Thu, Jan 16, 2020 at 07:17:20AM -0800, Khem Raj wrote: > > On Thu, Jan 16, 2020 at 5:13 AM Adrian Bunk wrote: > > > > > > On Wed, Jan 15, 2020 at 08:46:09PM -0800, Khem Raj wrote: > > > > Clang detects that getcwd is being re-declared and

Re: [OE-core] [PATCH] gettext: Fix overloadable error with clang

2020-01-21 Thread Adrian Bunk
On Thu, Jan 16, 2020 at 07:17:20AM -0800, Khem Raj wrote: > On Thu, Jan 16, 2020 at 5:13 AM Adrian Bunk wrote: > > > > 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

Re: [OE-core] [PATCH] gettext: Fix overloadable error with clang

2020-01-16 Thread Khem Raj
On Thu, Jan 16, 2020 at 5:13 AM Adrian Bunk wrote: > > 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 > >... > > +Fixes > > +dcigettext.c:147:7:

Re: [OE-core] [PATCH] gettext: Fix overloadable error with clang

2020-01-16 Thread Adrian Bunk
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 >... > +Fixes > +dcigettext.c:147:7: error: redeclaration of 'getcwd' must have the > 'overloadable'

[OE-core] [PATCH] gettext: Fix overloadable error with clang

2020-01-15 Thread Khem Raj
Clang detects that getcwd is being re-declared and signatures don't match, simple solution is to let clang use overloadable attribute Signed-off-by: Khem Raj --- .../gettext/gettext-0.20.1/overloadable.patch | 22 +++ meta/recipes-core/gettext/gettext_0.20.1.bb | 1 + 2 files