[postgis-devel] [wktraster] Getting rid of warning

Pierre Racine Pierre.Racine at sbf.ulaval.ca
Thu Mar 25 14:15:21 PDT 2010


Hi,

I worked a little bit to get rid of some warnings but some still remain. Is there any way to get rid of:

  rt_api.c:2958: warning: cast from pointer to integer of different size

provoqued by lines like:

  assert(! (((uint64_t)ptr) % pixbytes) );

and of

 In file included from rt_pg.c:44:
 ../wktraster_config.h:45:1: warning: "PACKAGE_BUGREPORT" redefined
 In file included from c:/postgres/include/server/c.h:53,
                 from c:/postgres/include/server/postgres.h:47,
                 from rt_pg.c:32:
 c:/postgres/include/server/pg_config.h:634:1: warning: this is the location of the previous definition

"PACKAGE_NAME", "PACKAGE_STRING", "PACKAGE_TARNAME", "PACKAGE_VERSION", "RT_VERSION" are provoquing the same kind of warning. Do we have to define those somewhere? I could not find anything about it and I'm really a autoconf dummy.

Thanks,

Pierre




More information about the postgis-devel mailing list