X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.8 required=5.0	tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
Message-ID: <4C868974.20104@dronecode.org.uk>
Date: Tue, 07 Sep 2010 19:50:28 +0100
From: Jon TURNEY <jon.turney@dronecode.org.uk>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.9) Gecko/20100825 Thunderbird/3.1.3
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: can't compile setup.exe
References: <AANLkTinwYoXusghmJKt1VEk18JU3_v_QB2kwyDocrm3_@mail.gmail.com>	 <AANLkTindaBs0p_=_B0z5WphyvBofm5OHpBWp5i5kr1=i@mail.gmail.com>	 <4C7FA8CB.4030207@dronecode.org.uk> <1283879749.6164.2.camel@YAAKOV04>
In-Reply-To: <1283879749.6164.2.camel@YAAKOV04>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 07/09/2010 18:15, Yaakov (Cygwin/X) wrote:
> On Thu, 2010-09-02 at 14:38 +0100, Jon TURNEY wrote:
>> This was broken by the recent w32api-3.15 update, which seems to have made
>> those PropSheet macros C++ aware, so the global scoping operator is no longer
>> needed.
>>
>> Patch attached to fix it, but I couldn't work out how to also get it to build
>> with w32api-3.14.
>
> Ping?

How about adding the following to my previous patch?  That at least turns the 
OPs problem into something intelligible by mere mortals :-)

#include <w32api.h>
#if (__W32API_MAJOR_VERSION*100 + __W32API_MINOR_VERSION) < 315
#error w32api3.15 or later is needed
#endif

--
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

