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:from:to:subject:date:message-id:content-type :content-transfer-encoding:mime-version; q=dns; s=default; b=BFN rdGaHrAXQYGX/uc2CaiePUcRZQbIEFtsbkYImyRxZzMR3Q/xVCQwoYS4aGCZ4LIr uWNkwLEEztbCEaqJrV0m9TB/Uhj+x/7bb1KQuQ/kPZgHlKLgTXMXl7CvZzWIbH2F piKvpZ6TBHAGXm5GpRdP50+Kndv9nMGObkynoyRw= 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:from:to:subject:date:message-id:content-type :content-transfer-encoding:mime-version; s=default; bh=l/RTp5jDV UmNfpG253bSKypbJw8=; b=wmCP5XkUkQmJdJwSNYKn3LX9GNUqhZ/RsTwYBtArb 4EQd87m8P+GB83LDPHJ58aSh4m+t/Rs5MyphfyY9H8XITF74LZZ8JiRYujvewTcV 6/m0yNWFiSLWhjIuEk5ZAeKOGfNMZMmXgMoscC7P2nS/CT/4HbG3QAMTDYCx5LiR lc= 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 X-Spam-SWARE-Status: No, score=-3.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_MED,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 X-IronPortListener: Outbound_SMTP X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnIGALwieFGcKEer/2dsb2JhbABQgwa/G4EAFm0HgiEBBBIoUQEVFRQvExcBDgEEGxqHcp4qhE6bQo5/gyJhA44PhT6KAIpvgw6CKA From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" To: "cygwin AT cygwin DOT com" Subject: w32api lower version / mess in Cygwin 1.7.18 ? Date: Wed, 24 Apr 2013 18:22:44 +0000 Message-ID: <5F8AAC04F9616747BC4CC0E803D5907D0AF6E7B8@MLBXv04.nih.gov> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id r3OIOmLB020867 Hello, I've installed official Cygwin 1.7.18, and an application that uses w32api does no longer compile. Last time I used it with Cygwin 1.7.15 (where everything worked), and /usr/include/w32api/w32api.h had: #define __W32API_VERSION 3.17 #define __W32API_MAJOR_VERSION 3 #define __W32API_MINOR_VERSION 17 Now in Cygwin 1.7.18, that very file contains the following: #define __W32API_VERSION 3.14 #define __W32API_MAJOR_VERSION 3 #define __W32API_MINOR_VERSION 14 Even though the newer file is more advanced than the one before (lists more Windows and IE versions). The DDK that comes along does not look like anything working at all: there are tons of redifinitions (of PAGE_SIZE, to say the least), as well as the order of header inclusions now seems to be significant (and not self-consistent anymore): parts of the API are aware of the NT_INCLUDED guard (to the extent that I've figured out), parts not. Here's just to illustrate: In file included from /usr/include/w32api/ddk/ntddk.h:38:0, from /usr/include/w32api/ddk/ntifs.h:34, /usr/include/w32api/ddk/wdm.h:7679:0: warning: "PAGE_SIZE" redefined /usr/include/limits.h:211:0: note: this is the location of the previous definition In file included from /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../include/w32api/windows.h:70:0, So my question is basically, whoever included this into release, did they run any checks at all prior to releasing the package(s)? Any suggestions how to fix all this mess would be highly appreciated. Thanks, Anton Lavrentiev Contractor NIH/NLM/NCBI -- 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