On Fri, Nov 04, 2005 at 12:36:38AM +0200, Wolf Bergenheim wrote:
> On 03/11/05 16:57, Markus Neteler wrote:
> > Does anyone know how to modify 'configure.in' for this problem?
> > 
> 
> LOC_CHECK_VERSION does 2 tests. First it tries to compile this program:
> #include "confdefs.h"
> 
> #include <stdio.h>
> #include <proj_api.h>
> int main(void) {
>  FILE *fp = fopen("conftestdata","w");
>  fputs(PJ_VERSION, fp);
>  return 0;
> }
> 
> Since PJ_VERSION is defined to be 449 or some similar number this will
> produce a compiler warning. -Werror will make gcc act as if warning are
> errors ==> compilation fails and this is never run. The macro then tries
> to build this program:
> 

Someone could ask WHY someone would write an int using fputs(), BTW.
445 is not "445"...

-- 
Francesco P. Lovergine

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel

Reply via email to