On 30 Jul 2012, at 16:17, Akim Demaille wrote: > Le 30 juil. 2012 à 15:26, Hans Aberg a écrit : > >> On 30 Jul 2012, at 15:04, Akim Demaille wrote: >> >>> Could you investigate this? For instance run "make V=1" to >>> get the compilation for this file, and try to run the same >>> command, but replacing -c by -E to get the result from the >>> preprocessor. >> >> It might be a mismatch of headers, as there is '-I/usr/local/include' in the >> compile command, whereas >> $ xcrun -f clang >> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang >> >> And the directory .../usr/ here has its own include/. > > According to your config.log, it is probably where your > gettext is installed.
Wich is /usr/local/bin/gettext > And I don't think there are includes > there that try to define stpcpy. No, there aren't. It's getting complicate, with a number of usr/ locations. Hans