This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: [Cygwin-ports-general] Ncview
- From: Yaakov Selkowitz <yselkowitz at cygwin dot com>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Thu, 01 Oct 2015 12:35:05 -0500
- Subject: Re: [Cygwin-ports-general] Ncview
- Authentication-results: sourceware.org; auth=none
- References: <CAKmU=T_XtcOf1MOa_31oTfNYzUZ6QZD1xU9eTG-ERkvsua+gZQ at mail dot gmail dot com> <56095DBC dot 6090308 at gmail dot com>
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