[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
Re: [BUG FIX] gettext fails to build on platforms with stpncpy defined as a complex macro
Sun, 15 Aug 2010 19:51:42 +0200
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.