[Monetdb-developers] Compiling on Darwin 7

Niels Nes Niels.Nes at cwi.nl
Fri Nov 10 14:54:15 CET 2006


On Fri, Nov 10, 2006 at 02:44:30PM +0100, Fabian Groffen wrote:
> Is there anyone that can think of a solution for this problem?
> 
> cc1: warnings being treated as errors
> /Volumes/Scratch/monetdb/stable/monetdb/src/modules/plain/bat.mx: In function 'local_itoa':
> /Volumes/Scratch/monetdb/stable/monetdb/src/modules/plain/bat.mx:1253: warning: format '%zd' expects type 'signed size_t', but argument 4 has type 'ssize_t'
> 
> 
> I mean... is there a difference between "signed size_t" and "ssize_t"?
> Ehrm.
> 
> [Orion:src/modules/plain] fabian% uname -a
> Darwin Orion.local 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC  Power Macintosh powerpc PowerBook4,3 Darwin
> [Orion:src/modules/plain] fabian% gcc --version
> gcc (GCC) 4.0.1 (Apple Computer, Inc. build 5341)
> Copyright (C) 2005 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> 
> Probably just need to compile without -Werror.
this is the same problem with the ifdefs in monet_utils.mx as earlier this
week. I'm sure its gcc/apple problem. Could you find out te required
formats for ssize_t and size_t, ie %d and %u?

Niels
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Monetdb-developers mailing list
> Monetdb-developers at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/monetdb-developers

-- 

Niels Nes, Centre for Mathematics and Computer Science (CWI)
Kruislaan 413, 1098 SJ Amsterdam, The Netherlands
room C0.02,  phone ++31 20 592-4098, fax ++31 20 592-4312
url: http://www.cwi.nl/~niels   e-mail: Niels.Nes at cwi.nl




More information about the developers-list mailing list