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:message-id:subject:from:to:date:in-reply-to
	:references:content-type:mime-version:content-transfer-encoding;
	 q=dns; s=default; b=sUBGkU433ofKW6HZh6oPuAF4F8e5X+VUu8+r20gvvfP
	Tr+oMZStFDeXBJTdyzIBaeiV9PLsMo1djyU6n18PA63rWxXpTWvlTwSg15jQ7pTO
	G/4M6N5pSzqJ5gTn74lqONt82xR9ON4W19Jujij39sfE41mgqT7a6Wv8aTWxJ9v0
	=
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:message-id:subject:from:to:date:in-reply-to
	:references:content-type:mime-version:content-transfer-encoding;
	 s=default; bh=H2ioLX4bLNKb32A/YQW6gH8kmlQ=; b=e/HEhzVQPg6GlFDXT
	0yyT/o3r/+T2u5m9Kfdfjs8jcIlnIkbdpfuvBs7iHgFkxEYorMd+UjufeytmIZIV
	cbBuZejXov4toTg/CKN6n+2bCOFFfpMcPHFO2pzVb4nsXK/T0Lq0hvU0FR0eQwZl
	ETub0S9T2p0Bj1a+G6BeMnTNvU=
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=-0.9 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS autolearn=no version=3.3.2
X-HELO: mx1.redhat.com
Message-ID: <1443720905.8588.17.camel@cygwin.com>
Subject: Re: [Cygwin-ports-general] Ncview
From: Yaakov Selkowitz <yselkowitz@cygwin.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Date: Thu, 01 Oct 2015 12:35:05 -0500
In-Reply-To: <56095DBC.6090308@gmail.com>
References: 	<CAKmU=T_XtcOf1MOa_31oTfNYzUZ6QZD1xU9eTG-ERkvsua+gZQ@mail.gmail.com>	 <56095DBC.6090308@gmail.com>
Content-Type: text/plain; charset="UTF-8"
Mime-Version: 1.0
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

On Mon, 2015-09-28 at 17:33 +0200, Marco Atzeri wrote:
> On 28/09/2015 16:07, Vasileios Anagnostopoulos wrote:
> > is it possible to include ncview
> > (http://meteora.ucsd.edu/~pierce/ncview_home_page.html) in the software
> > distribution?
> 
> 1) wrong mailing lists, the right one is cygwin (at) cygwin (dot) com
> please follow up there.
> 
> >
> > For me the installation was only a ./configure && make && make install
> 
> 2) the 64 bit crashes inside X libs.
>     I never succeeded to identify the root cause

Confirmed.  Often 64-bit-only issues come down to one or more of the
following:

* implicit function declarations.  Per the C standard, argument types
are assumed to match whatever is given (which may be wrong if e.g. 0 is
used instead of 0L or (PointerType)0 or NULL etc.) and the return type
is assumed to be int (which will truncate the actual return value when
it is actually a long/pointer).

* vararg types.  Because these types aren't declared, the compiler can't
automatically cast values to the correct type, so literal values and
symbolic constants must be explicitly cast if they are not meant to be
an int and are not obviously a long/pointer.

In the case of ncview, I strongly suspect the latter should anyone be
interested in fixing this.

--
Yaakov



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

