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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=iuH7iT6x3abtpd1T oZA/aYeOIZVmD3OvAkdOHwFkTfgUQiqd6Hx05OBlbPTzv1uqJkm+gymo8iRrGOI2 PtvDc2Sdj0oZDvXTdBAEh+O3WcvXOmBtrivLXozueOC8v9E37oQxGaIt3la5o4AC lol6EUURF0La6ZQbrf6niDDFmas= 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=4F82xNPAc7atLw22Vmc6Bv 351GY=; b=dNda/rFkmqlWEQwGDliXsSkBt3ItwxKH6r4v7pPK+SZb07hdAXYsXd D+hpyV8JN3oe3lTg+0FBzNF0XgDjvmznkcdNLjXZhKhsYwRtoRakRtngmczUdhIE mSJiDgARm7xZvh9enB2Wf2I0ldHnyeh0KLorl9U6AOrssLaO/dREY= 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.4 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: limerock03.mail.cornell.edu X-CornellRouted: This message has been Routed already. Subject: Re: w32api-headers update? To: cygwin AT cygwin DOT com References: <55A9541F DOT 90101 AT cornell DOT edu> <55AB1BAC DOT 703 AT gmail DOT com> From: Ken Brown Message-ID: <55AE3927.4050606@cornell.edu> Date: Tue, 21 Jul 2015 08:20:55 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <55AB1BAC.703@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes On 7/18/2015 11:38 PM, JonY wrote: > On 7/18/2015 03:14, Ken Brown wrote: >> JonY, >> >> Could we get an update of w32api-headers? There's a bug in shlobj.h, as >> illustrated by the following: >> >> $ cat test.c >> #include >> >> $ gcc -c test.c >> In file included from test.c:1:0: >> /usr/include/w32api/shlobj.h:37:3: error: unknown type name ‘EXTERN_C’ >> SHFOLDERAPI SHGetFolderPathW (HWND hwnd, int csidl, HANDLE hToken, >> DWORD dwFlags, LPWSTR pszPath); >> ^ >> /usr/include/w32api/shlobj.h:37:3: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ >> or ‘__attribute__’ before ‘HRESULT’ >> SHFOLDERAPI SHGetFolderPathW (HWND hwnd, int csidl, HANDLE hToken, >> DWORD dwFlags, LPWSTR pszPath); >> ^ >> /usr/include/w32api/shlobj.h:37:3: error: unknown type name ‘HRESULT’ >> >> This can be fixed by moving the declaration of SHGetFolderPathW lower in >> the file, near the declaration of SHGetFolderPathA. >> >> 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. >> > > Noted, will wait another few days for SF to come up. If not, we'll need > to point the cygport build to another mirror. The upstream bug report is now visible: http://sourceforge.net/p/mingw-w64/bugs/476/ Ken -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple