compilation of statist under cygwin

sfronzek@gmx.net sfronzek at gmx.net
Mon Mar 29 13:46:47 CEST 2004


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.

Thanks a lot for your help,
best regards,
Stefan

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

-- 
+++ NEU bei GMX und erstmalig in Deutschland: TÜV-geprüfter Virenschutz +++
100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz




More information about the Statist-list mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)