On Thu, Jun 28, 2012 at 8:25 PM, Richard Hipp <d...@sqlite.org> wrote:
> My makefile uses gcc. Why don't you change yours to gcc too, to see if > that helps. > Strangely enough, no. i can't quite explain this because i'm on trunk and: http://localhost:8080/artifact/3a695fc9bb272a4f5ca0d1a8cf540d61b52ff534 (i strongly suspect that link will work for you ;) contains Table::tnum. My local sqliteInt.h, however, does not (it is documented but the member is missing or was moved to Index::tnum). After hacking my makefile a bit: stephan@tiny:~/cvs/fossil/sqlite4$ clm rm -f *.o sqlite4 sqlite4.exe libsqlite4.a sqlite4.h opcodes.* rm -f lemon lemon.exe lempar.c parse.* sqlite*.tar.gz rm -f mkkeywordhash mkkeywordhash.exe keywordhash.h rm -f rm -f *.da *.bb *.bbg gmon.out rm -rf tsrc target_source rm -f testloadext.dll libtestloadext.so rm -f amalgamation-testfixture amalgamation-testfixture.exe rm -f fts3-testfixture fts3-testfixture.exe rm -f testfixture testfixture.exe rm -f threadtest3 threadtest3.exe rm -f sqlite4.c fts?amal.c tclsqlite4.c rm -f sqlite4_analyzer sqlite4_analyzer.exe sqlite4_analyzer.c stephan@tiny:~/cvs/fossil/sqlite4$ make BCC='gcc -g' TCC='gcc -Wall' tclsh ./tool/mksqlite4h.tcl . >sqlite4.h gcc -g -o mkkeywordhash -DSQLITE_DEBUG=1 -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_MALLOC_USABLE_SIZE -DHAVE_USLEEP -DSQLITE_NO_SYNC=1 ./tool/mkkeywordhash.c ./mkkeywordhash >keywordhash.h gcc -g -o lemon ./tool/lemon.c cp ./src/lempar.c . cp ./src/parse.y . rm -f parse.h ./lemon -DSQLITE_DEBUG=1 -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_MALLOC_USABLE_SIZE -DHAVE_USLEEP -DSQLITE_NO_SYNC=1 parse.y mv parse.h parse.h.temp awk -f ./tool/addopcodes.awk parse.h.temp >parse.h cat parse.h ./src/vdbe.c | \ awk -f ./tool/mkopcodeh.awk >opcodes.h gcc -Wall -DSQLITE_DEBUG=1 -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_MALLOC_USABLE_SIZE -DHAVE_USLEEP -DSQLITE_NO_SYNC=1 -I. -I./src -I. -I./ext/rtree -I./ext/icu -I./ext/fts3 -I./ext/async -c src/alter.c In file included from src/sqliteInt.h:315:0, from src/alter.c:15: ./sqlite4.h:3446:1: warning: "/*" within comment [-Wcomment] gcc -Wall -DSQLITE_DEBUG=1 -DHAVE_GMTIME_R -DHAVE_LOCALTIME_R -DHAVE_MALLOC_USABLE_SIZE -DHAVE_USLEEP -DSQLITE_NO_SYNC=1 -I. -I./src -I. -I./ext/rtree -I./ext/icu -I./ext/fts3 -I./ext/async -c src/analyze.c In file included from src/sqliteInt.h:315:0, from src/analyze.c:117: ./sqlite4.h:3446:1: warning: "/*" within comment [-Wcomment] src/analyze.c: In function 'openStatTable': src/analyze.c:177:24: error: 'Parse' has no member named 'regRoot' src/analyze.c:183:23: error: 'Table' has no member named 'tnum' src/analyze.c: In function 'analyzeOneTable': src/analyze.c:472:11: error: 'Table' has no member named 'tnum' src/analyze.c:679:52: error: 'Table' has no member named 'tnum' make: *** [analyze.o] Error 1 -- ----- stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users