[GRASS5] Re: r.drain, postgresql

Hi Andreas,

On Mon, Aug 06, 2001 at 04:06:17PM +0200, Andreas Lange wrote:

Hi Roger, Hi Markus,

i am going to check in two small changes to the new r.drain code. It
does not compile on cygwin due to the values.h header missing on cygwin.
We discussed all this back in 11/2000, so i hope the change i checked in
works on all systems now. BUt i did not test if the fix affects the code
directly, so Roger please check this.

it seems you are not using the latest r.drain from CVS. I had fixed
the problem:

value.h -> #include <limits.h>

That's the portable code.

Markus, i'll check in two small fixes for the postgreSQl code, i can now
compile on cygwin.

Please contact me if there are any problems.

cu,

Andreas

Fine, thanks for the upcoming fixes,

Markus

Hi Markus,

there was another problem with the code:
MAXDOUBLE and HUGE are IMHO not in limits.h, but in values.h, one has to
use:
DBL_MAX and HUGE_VAL.

This was shaded from the compiling because values.h was included in
tinf.h a second time, so that the old includes from values.h have been
used. At this point the compiling failed on cygwin.

Could you forward this message to Roger S. Miller, the mail addres from
the readme file in the code bounced back to me.

HTH,

Markus Neteler wrote:

Hi Andreas,

On Mon, Aug 06, 2001 at 04:06:17PM +0200, Andreas Lange wrote:
> Hi Roger, Hi Markus,
>
> i am going to check in two small changes to the new r.drain code. It
> does not compile on cygwin due to the values.h header missing on cygwin.
> We discussed all this back in 11/2000, so i hope the change i checked in
> works on all systems now. BUt i did not test if the fix affects the code
> directly, so Roger please check this.

it seems you are not using the latest r.drain from CVS. I had fixed
the problem:

value.h -> #include <limits.h>

That's the portable code.

> Markus, i'll check in two small fixes for the postgreSQl code, i can now
> compile on cygwin.
>
> Please contact me if there are any problems.
>
> cu,
>
> Andreas

Fine, thanks for the upcoming fixes,

Markus

--
Andreas Lange, 65187 Wiesbaden, Germany, Tel. +49 611 807850
url: http://mitglied.tripod.de/AndreasLange
mail: Andreas.Lange_at_Rhein-Main.de - A.C.Lange_at_GMX.net

Andreas, and all,

I'm still here! Well, as much as usual anyway. I think the address in
the readme is good, but letters may have bounced a couple days ago when
my ISP was down for an equipment change -- they changed their building.

Markus has been handling all my contributions. I don't have a locally
archived copy of r.drain, and I have never set up CVS access or learned
how to use CVS. That makes it relatively difficult for me to fix
problems in my own code.

Markus, I guess you can take that as an official request for CVS access.

Roger

Andreas Lange wrote:

Hi Markus,

there was another problem with the code:
MAXDOUBLE and HUGE are IMHO not in limits.h, but in values.h, one has to
use:
DBL_MAX and HUGE_VAL.

This was shaded from the compiling because values.h was included in
tinf.h a second time, so that the old includes from values.h have been
used. At this point the compiling failed on cygwin.

Could you forward this message to Roger S. Miller, the mail addres from
the readme file in the code bounced back to me.

HTH,

Markus Neteler wrote:
>
> Hi Andreas,
>
> On Mon, Aug 06, 2001 at 04:06:17PM +0200, Andreas Lange wrote:
> > Hi Roger, Hi Markus,
> >
> > i am going to check in two small changes to the new r.drain code. It
> > does not compile on cygwin due to the values.h header missing on cygwin.
> > We discussed all this back in 11/2000, so i hope the change i checked in
> > works on all systems now. BUt i did not test if the fix affects the code
> > directly, so Roger please check this.
>
> it seems you are not using the latest r.drain from CVS. I had fixed
> the problem:
>
> value.h -> #include <limits.h>
>
> That's the portable code.
>
> > Markus, i'll check in two small fixes for the postgreSQl code, i can now
> > compile on cygwin.
> >
> > Please contact me if there are any problems.
> >
> > cu,
> >
> > Andreas
>
> Fine, thanks for the upcoming fixes,
>
> Markus

--
Andreas Lange, 65187 Wiesbaden, Germany, Tel. +49 611 807850
url: http://mitglied.tripod.de/AndreasLange
mail: Andreas.Lange_at_Rhein-Main.de - A.C.Lange_at_GMX.net
_______________________________________________
grass5 mailing list
grass5@geog.uni-hannover.de
http://www.geog.uni-hannover.de/mailman/listinfo/grass5