bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: [BUG FIX] gettext fails to build on platforms with stpncpy defined a


From: Bruno Haible
Subject: Re: [BUG FIX] gettext fails to build on platforms with stpncpy defined as a complex macro
Date: Sun, 15 Aug 2010 19:51:42 +0200
User-agent: KMail/1.9.9

Jeremy Huddleston wrote:
> As a result, configure decides that the system's stpncpy is unusable and
> needs to be replaced.  As a result, codepaths are taken in string.in.h which
> define a replacement stpncpy, but they are using the "stpncpy" token again
> and thus get replaced with the ternary operator from string.h causing a
> parse failure in the build.    

Thanks for explaining. So a "#undef stpncpy" in string.in.h would have avoided
the latter build failure.

Also, can you tell me on which platform (OS and libc version) you had the
problem? For the ChangeLog entry.

Bruno



reply via email to

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