compilation of statist under cygwin
Bernhard Reiter
bernhard at intevation.de
Mon Mar 29 14:40:23 CEST 2004
On Mon, Mar 29, 2004 at 01:46:47PM +0200, sfronzek at gmx.net wrote:
> I moved the "extern int errno;" to the beginning of statist.h directly
> behind "#include <errno.h>" and now it seems to work.
> The compiler warnings have
> not disappeared, but the resulting executable seems to work correctly.
Can you also try the patch?
The confirmation would be nice,
then I know for sure that the patch solves the problems.
Bernhard
> > On Mon, Mar 29, 2004 at 01:17:12PM +0200, Bernhard Reiter wrote:
> > > On Mon, Mar 29, 2004 at 12:43:33PM +0200, sfronzek at gmx.net wrote:
> > > > thanks for your replies. With your suggestions, I managed to compile
> > > > statist;
> > >
> > > > however, about 200 warnings were issued similar to
> > > > "plot.c:434: warning: passing arg 1 of `out_err' makes pointer from
> integer
> > > > without a cast"
> > >
> > > Arg.
> > > Seems like there is an errno name clash.
> > > Try shifting the #include <errno.h> line
> > > directly in front of
> > > extern int errno;
> > > in statist.h
> >
> > That is not enough, try the following patch against
> > a fresh 1.0.1.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.intevation.de/pipermail/statist-list/attachments/20040329/4d7cdfe9/attachment.bin
More information about the Statist-list
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)