Am 11.02.2011 22:55, schrieb Paul Moore:
> paul@paul-suse:~/build/TRUNK/external/build/sqlite-tea-3070500> make
> gcc -DPACKAGE_NAME=\"sqlite\" -DPACKAGE_TARNAME=\"sqlite\" 
> -DPACKAGE_VERSION=\"3.7.5\" -DPACKAGE_STRING=\"sqlite\ 3.7.5\" 
> -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 
> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 
> -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 
> -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DSQLITE_THREADSAFE=1 -DMODULE_SCOPE=extern\ 
> __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 
> -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DSQLITE_ENABLE_FTS3=1 
> -I"./generic" -I"/home/paul/build/TRUNK/external/build/tcl8.5.8/generic"    
> -g -O0 -pipe -O2 -fomit-frame-pointer -Wall -fPIC  -c `echo 
> ./generic/tclsqlite3.c` -o tclsqlite3.o./generic/tclsqlite3.c: In function 
> `DbObjCmd':
> 
> ./generic/tclsqlite3.c:125638: warning: passing arg 3 of pointer to function 
> from incompatible pointer type
> 
> 
> on 64 bit suse (and redhat)
> 
> seems to be saying that Tcl_WideInt != sqlite3_int64
> 
> Tcl_WideInt ended up being set as 'long'
> sqlite3_int64 ended up being long long int
> 
> I assumed those 2 types are the same in 64 bit - but apparently not
> 
This define looks suspicious.
-DTCL_WIDE_INT_IS_LONG=1

Michael

-- 
Michael Schlenker
Software Architect

CONTACT Software GmbH           Tel.:   +49 (421) 20153-80
Wiener Straße 1-3               Fax:    +49 (421) 20153-41
28359 Bremen
http://www.contact.de/          E-Mail: [email protected]

Sitz der Gesellschaft: Bremen
Geschäftsführer: Karl Heinz Zachries, Ralf Holtgrefe
Eingetragen im Handelsregister des Amtsgerichts Bremen unter HRB 13215
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to