Trouble with gethostname and mingw-w64 x86_64

2014-11-12 Thread T J
I've been having some difficulty building FontForge on Windows (8.1 64bit) using msys2 and mingw-w64 (64-bit target). Up until a few months ago, everything was building fine, but now I'm facing an issue which I believe has to do with Gnulib. I can't say that I understand much of how gnulib acutu

RE: Trouble with gethostname and mingw-w64 x86_64

2015-05-18 Thread T J
I have a follow-up to this. What was happening is that in the check for `gethostname`, it tries to compile without linking against ws2_32. Note that unistd.h includes winsock2.h on my platform. Now, normally this check will fail (at linking), BUT since a check has been made before for linking t

Re: [PATCH v2 0/4] New getprogname module

2016-09-06 Thread T J
Hello, I had some trouble posting to the list, so I'm not sure if my previous message got through or not. I apologise if it has. Anyway, it appears that this has not been tested on Windows/MinGW as it currently does not work. Everything worked fine with the old progname module. A sample bui

stdint broken on mingw

2016-12-29 Thread T J
Hello, Stdint.h fails to compile on mingw-w64/MSYS2. Please see the attached log. https://ci.appveyor.com/project/fontforge/fontforge/build/1.0.349 In particular, this is the generated from stdint.h: > /* Override WINT_MIN and WINT_MAX if gnulib's or > overrides wint_t. */ > #if > # unde

RE: stdint broken on mingw

2016-12-30 Thread T J
RRIDES_WINT_T''@/$(GNULIB_OVERRIDES_WINT_T)/g' \ Thanks, Jeremy From: Bruno Haible<mailto:br...@clisp.org> Sent: Friday, 30 December 2016 9:51 PM To: T J<mailto:jt...@outlook.com>; bug-gnulib@gnu.org<mailto:bug-gnulib@gnu.org> Subject: Re: stdint broken on mingw

RE: stdint broken on mingw

2016-12-30 Thread T J
actually including this file instead of the one provided by gnulib. Some further digging shows that this file is installed by gettext: $pacman -Qo /mingw32/share/aclocal/wint_t.m4 /mingw32/share/aclocal/wint_t.m4 is owned by mingw-w64-i686-gettext 0.19.7-1 Thanks, Jeremy From: T J<mailto