bug-gettext
[Top][All Lists]
Advanced

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

Re: [bug-gettext] Building on OS X Lion


From: Stephan Bergmann
Subject: Re: [bug-gettext] Building on OS X Lion
Date: Fri, 12 Aug 2011 22:42:57 +0200

Franck Rousseau wrote:
>   i ran into a problem building gettext on OS X prerelease Lion / 10.7 / 
> darwin 
> 11 using homebrew 0.8 (it uses the genuine package anyway)
> 
>   the build crashes on gettext-0.18.1.1/gettext-tools/gnulib-lib/stpncpy.c 
> with 
> the same error shown here 
> https://gist.github.com/856443
> 
> 
>   actually, there is already stpncpy defined on this OS X version and the 
> quirk 
> comes from /usr/include/secure/_string.h included from /usr/include/string.h 
> were the macro #define stpncpy(dest, src, len) is declared and the 
> substitution 
> made on the function declaration !
> 
>   i did a quick dirty fix to have everything compile with #undef stpncpy just 
> after #include string.h but i think there might be a better option :-)

See <https://savannah.gnu.org/bugs/index.php?33999>.

-Stephan


reply via email to

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