X-Recipient: archive-cygwin@delorie.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=CU123sz2R/3GZqH8
	WCCgdcEBpLSurAtjivLkPKSftReGvfKlFI48qPy3DoYfgF4jH25ELGCQgpu8A7uE
	3OasGtPFz63fOzO5F3uMtgNGZzvirHbSBu4MVK5wOwbYlU3FKyzsOsJ+agbkyhHb
	HuogzxtTxMPRrrpW1eFzRY1JsnA=
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=b1lk/tv/lQOok5OF0LdNqw
	IAQUI=; b=mqAmxQ2BtRXZOUvIu96x34F6hZ0lPsceZtSWuIAPuUNjWnKYXunP13
	a2d+Y9GsCLAtK8M5W0NQWaNbnfeHrbXd5Sg2EU3DzWfLZ8FbEPV/l1yXN7Z/x0Xh
	HElv5ObQEAkRR5LK6b+BIy7Rtt5+bFV3JmuMPDm485W767X89+7ME=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=H*i:sk:6c9cefe, H*f:sk:6c9cefe, H*MI:sk:6c9cefe
X-HELO: mail-wm0-f49.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20161025;        h=x-gm-message-state:subject:to:references:from:message-id:date         :user-agent:mime-version:in-reply-to:content-transfer-encoding;        bh=0/ri0kGX9p0YrdpQbGM71efrCCM7wdE9b+xsTwtUJ08=;        b=mLtiWe3gmzptIVneWHfPaP3S/waGtUlVzTuU+aE0v5n1mYtaNV8gIVD4sHVrmXxIHP         TpgVn2KMPV2rvO/iigh9MSkj1YYKx4XYasVkPY9OPMHc3n6U6nM8M4rmCQJu2sf/lDg1         +3PrldpuaHOdDZQ0XPctbaLTPwQPg0Qnos3EvKorC77+Wn+shmYT8CRqRycsw54Mifqu         kO6X3OUUkYnyB7em7SmG6Cu4XcP5EEwPgbtZordCg2OdkHXCbxL83QPkdF5C4BNZbNv2         0G9CUbDrK9ocPGwVUh2fxXILJauJNzH9s7kpid7Xe1PvJUFDcvAPolAf5nw5rBxikJL7         6cpQ==
X-Gm-Message-State: AIkVDXJ8pH9dGLd+2UGu+J0JIcNjN5ILWred3leaHFnHNstLKAtdbVwHU/shK08Lk4fNwA==
X-Received: by 10.28.9.131 with SMTP id 125mr5228404wmj.22.1483991245408;        Mon, 09 Jan 2017 11:47:25 -0800 (PST)
Subject: Re: ushort definition
To: cygwin@cygwin.com
References: <9d119899-88ca-c530-c1b4-1a5613dc6daa@gmail.com> <20170109165932.GA26337@calimero.vinschen.de> <0446748b-9e3d-a3bc-1c2f-e5e556f735c2@gmail.com> <6c9cefe8-b25a-9f63-c3a4-5eaf5ad0ad0f@t-online.de>
From: Marco Atzeri <marco.atzeri@gmail.com>
Message-ID: <20b0921a-0c66-9429-7c88-41d312041feb@gmail.com>
Date: Mon, 9 Jan 2017 20:46:33 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0
MIME-Version: 1.0
In-Reply-To: <6c9cefe8-b25a-9f63-c3a4-5eaf5ad0ad0f@t-online.de>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-IsSubscribed: yes

On 09/01/2017 19:01, Hans-Bernhard Bröker wrote:
> Am 09.01.2017 um 18:48 schrieb Marco Atzeri:
>> On 09/01/2017 17:59, Corinna Vinschen wrote:
>
>>> Some
>>>
>>>   #define ushort unsigned short
>>>
>>> perhaps?
>
>> I expect should appear on g++ -C -E output,
>
> That expectation would only be justified if you added the option `-dD'
> to your command.
>
> `-C' only preserves comments, but not the #define in the source.
>

Thanks Hans,
I was missing that.

the "#define ushort unsigned short" is in the
/usr/include/jasper/jas_config.h

It seems jasper configuration had not defined __MISC_VISIBLE,
while gdal does.

I do not see an easy way to overcome the problem except
disabling the jasper interface or rebuild jasper with defined 
__MISC_VISIBLE.


Regards
Marco

















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

