X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type; q=dns; s=default; b=I/k3sI Mm2kxf3UioyFrb3SqOGDFqi5LDU5mByZ5NL8Vh9oWSuBEJ8ZTCXsp4BHtQ+cEpsV AK53k8zJHAgdo0yPdawX91jqzA/egu+WScNE1MPdXn5rRQDw2udFh3LoWD2glrvk k8eCWYoZ9wfZ0jSk8IDd9knuXy0lELzcnZO/s= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type; s=default; bh=oNu3oNHKPZNB jh4qrQvt5A46PcI=; b=b3wDbbV7zDOC0KWhtMJXx7cfJALGuX7JPc2sowsaHuJw kZj/9KFnda7jXss7GTvoTURZ3JNzse5gSrCCLeNCMXV3FKV8pmbaOdRQHgrkFav8 Qvgv04Xp7IbK+grvl91E1C1Seq/JcExr3615Qi7mqy0MKmuu6sbzFiYQ6zIWVWw= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pa0-f44.google.com X-Received: by 10.66.253.40 with SMTP id zx8mr44262681pac.56.1437277122954; Sat, 18 Jul 2015 20:38:42 -0700 (PDT) Message-ID: <55AB1BAC.703@gmail.com> Date: Sun, 19 Jul 2015 11:38:20 +0800 From: JonY <10walls AT gmail DOT com> User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:25.4) Gecko/20150524 FossaMail/25.1.5 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: w32api-headers update? References: <55A9541F DOT 90101 AT cornell DOT edu> In-Reply-To: <55A9541F.90101@cornell.edu> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xTml7TJLM3AJ9uLN9hBqVFUn4VgH635T3" X-IsSubscribed: yes --xTml7TJLM3AJ9uLN9hBqVFUn4VgH635T3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 7/18/2015 03:14, Ken Brown wrote: > JonY, >=20 > Could we get an update of w32api-headers? There's a bug in shlobj.h, as > illustrated by the following: >=20 > $ cat test.c > #include >=20 > $ gcc -c test.c > In file included from test.c:1:0: > /usr/include/w32api/shlobj.h:37:3: error: unknown type name =E2=80=98EXTE= RN_C=E2=80=99 > SHFOLDERAPI SHGetFolderPathW (HWND hwnd, int csidl, HANDLE hToken, > DWORD dwFlags, LPWSTR pszPath); > ^ > /usr/include/w32api/shlobj.h:37:3: error: expected =E2=80=98=3D=E2=80=99,= =E2=80=98,=E2=80=99, =E2=80=98;=E2=80=99, =E2=80=98asm=E2=80=99 > or =E2=80=98__attribute__=E2=80=99 before =E2=80=98HRESULT=E2=80=99 > SHFOLDERAPI SHGetFolderPathW (HWND hwnd, int csidl, HANDLE hToken, > DWORD dwFlags, LPWSTR pszPath); > ^ > /usr/include/w32api/shlobj.h:37:3: error: unknown type name =E2=80=98HRES= ULT=E2=80=99 >=20 > This can be fixed by moving the declaration of SHGetFolderPathW lower in > the file, near the declaration of SHGetFolderPathA. >=20 > A google search suggests that this has already been reported upstream as > MinGW-w64 bug 476, but SourceForge is down at the moment, so I can't > actually look at that bug report. >=20 Noted, will wait another few days for SF to come up. If not, we'll need to point the cygport build to another mirror. --xTml7TJLM3AJ9uLN9hBqVFUn4VgH635T3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBAgAGBQJVqxu2AAoJEHE7X+KcFF1Fb7gP/3yNsdrOTrxvaNgPenFVsUL2 BuzNSGUVwbm5nKwoeEIR/9bZJ2dtDZnSa8Zlrcd6VCSjhGEH8Lo2vs0alsFa06da XDrq7KBA27z5uYDtczM1GbOxfTjrDGGnLjRGKq/2g7TUvoydDkkWSMb/tjvLjA9x t679zEtkEoti4BJaAbHXiRizybVpMyi+3tDijKGwlHOFK7j2kFTnSRAutsRkSMu7 jrX3p4xrHl9oFA0/jHhJb+zRwKGeMOUDfPCO3JYxqkckSunQzYfo9bXG1rD2YhNh K+wvm8WdLAPd6hknLT9OfEbrjrByoKQgO5xXnKGdg+S7wJwG+P8Uov8FqcYo/VrL Vx5OKfvv53TkYyKHK9GcZ2PCBN0AQlBBQUu+Q4kYgc6aSLNso/wxhBlttRecYXlg 7ym1ROcfMhsfLlljylmq/arL344lxKvXtN9yPNwNMGAhbiUSHa3ozVi/6i28k/xx uL1kIW3SghR/PWisN96UczBeN3et2PS8ZKYaSCxkvOX5fiy0wdvHB9LNahDzX/5o JjGTBdpckVkE/d7wwrbAVTYAfx1rmHmudQm0r1cDMThj0qgQWSmctHf89oT9Ehj/ 6PRv9IQyHrLIAdfiPd8SczG+EUIBNGbXLd6CoFWa8NoAQiwIs1XZgqGpwzsrHRtQ KIbgfUhz/Y0JzCWS9pty =k1oF -----END PGP SIGNATURE----- --xTml7TJLM3AJ9uLN9hBqVFUn4VgH635T3--