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:to:from:subject:message-id:date:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=dMn +L9K5CFqfxBzx+wUN4rzABpalQficX/Juskx+l707bNZ8U+eVm8f2DB45gQeV+lU d40EbxLHV4+AgZOCClq9VDjD3XGO7W1j0ewNXRber/QovN3S/d+16t2/RQMSjjnY b9LCTADEaGLbThFZkhbhV2QhO8V321v5dagBl8k4= 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:to:from:subject:message-id:date:mime-version :content-type:content-transfer-encoding; s=default; bh=vW8oNIugt h0igsxOqD6nKoF1Bv4=; b=vBIk4qPgAmLR+3PFL6P/QfLUK9v6PxB8fKEXStnMo Dw2obsHuFh9i9Wl01v3V8vFYvN6Rx2d8ur5p2Dvft2fI65hpWM/drCWdm8Q3zlWC OLf2qSzZy447oNxbKn+4PXcWptba1/2BwE+njf19RswLWYVbK800ICSySgr3OUbE PY= 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.5 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: limerock02.mail.cornell.edu X-CornellRouted: This message has been Routed already. To: cygwin From: Ken Brown Subject: w32api-headers update? Message-ID: <55A9541F.90101@cornell.edu> Date: Fri, 17 Jul 2015 15:14:39 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes 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. Thanks. 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