Help needed: fix build issue with xdxf_makedict in older platforms
Joshua Root
jmr at macports.org
Tue Nov 7 08:17:39 UTC 2017
On 2017-11-7 18:35 , Leonardo Brondani Schenkel wrote:
> - 10.8:
> https://build.macports.org/builders/ports-10.8_x86_64_legacy-builder/builds/42330/steps/install-port/logs/stdio
>
> - 10.7: same problem as 10.8
> - 10.6:
> https://build.macports.org/builders/ports-10.6_x86_64_legacy-builder/builds/46675/steps/install-port/logs/stdio
Both look like the same problem. Apparently libintl.h is included before
some system headers that refer to std::setlocale, but since libintl.h
does "#define setlocale libintl_setlocale", that gets mangled to
std::libintl_setlocale.
IIRC this affected other ports back when gettext was updated to 0.18.
- Josh
More information about the macports-dev
mailing list