[postgis-devel] Build failed in Jenkins: GEOS_Branch_3.3_mingw64_win64 #9
Sandro Santilli
strk at keybit.net
Tue Dec 4 23:51:02 PST 2012
On Wed, Dec 05, 2012 at 12:35:31AM -0500, winnie at postgis.net wrote:
> See <http://winnie.postgis.net:1500/job/GEOS_Branch_3.3_mingw64_win64/9/changes>
I took a look at the buidl logs for this:
The error is:
../../include/geos/platform.h:71:5: warning: #warning "Could not find 64bit integer definition!"
But the configure step does find a `long long int` being 64bits:
checking whether int64_t is 64 bits... no
checking whether long int is 64 bits... no
checking whether long long int is 64 bits... yes
Now this is unexpected because the "Could not find 64bit integer definition"
should only happen when HAVE_LONG_LONG_INT_64 is _not_ defined:
#ifdef HAVE_INT64_T_64
typedef int64_t int64;
#else
# ifdef HAVE_LONG_LONG_INT_64
typedef long long int int64;
# else
typedef long int int64;
# ifndef HAVE_LONG_INT_64
# define INT64_IS_REALLY32 1
# warning "Could not find 64bit integer definition!"
# endif
# endif
#endif
How can I look at the platform.h generated by ./configure on winnie ?
This is how it looks on my machine:
/* Set to 1 if you have `int64_t' type */
/* #undef HAVE_INT64_T_64 */
/* Set to 1 if `long int' is 64 bits */
#define HAVE_LONG_INT_64 1
/* Set to 1 if `long long int' is 64 bits */
/* #undef HAVE_LONG_LONG_INT_64 */
I'd expect HAVE_LONG_LONG_INT_64 to be defined there instead...
--strk;
More information about the postgis-devel
mailing list