Using the handy `fossil bisect`, I found that this revision is causing me problems while compiling Fossil from within Haiku.
This revision brought in -D_HAVE_SQLITE_CONFIG_H and in theory should work on platforms that support utime() and usleep(). In any case, I have found that for Haiku anyway, the build fails with this revision or better, unless I get rid of -D_HAVE_SQLITE_CONFIG_H in Makefile.in. I admit I didn't really dig into this at all yet, but in any case, the build fails with both GCC 2.95.3 and GCC 4.8.3 on Haiku. I'm not sure why it is happening as of yet. I suspect it will come down to the compiler not liking something with respect to typedef'ing structs though, as I admit this failure seems familiar to me. Below is the output from revision ffef4edceb with GCC 4.8.3 (since it is more verbose) in case Jan or anyone else can make sense of it before I get a chance to try to dig deeper into the situation. cc -I/packages/openssl-1.0.0m-2/.self/develop/headers -g -O2 -DHAVE_AUTOCONFIG_H -D_HAVE_SQLITE_CONFIG_H -I. -I./src -Ibld -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_ENABLE_LOCKING_STYLE=0 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_OMIT_DEPRECATED -DSQLITE_ENABLE_EXPLAIN_COMMENTS -c ./src/sqlite3.c -o bld/sqlite3.o In file included from ./src/config.h:55:0, from ./src/sqlite3.c:7635: ./src/sqlite3.c: In function 'pcache1TruncateUnsafe': ./src/sqlite3.c:38822:26: error: 'nPage' undeclared (first use in this function) assert( pCache->nPage==nPage ); ^ ./src/sqlite3.c:38822:26: note: each undeclared identifier is reported only once for each function it appears in ./src/sqlite3.c: In function 'sqlite3WalFindFrame': ./src/sqlite3.c:49527:36: error: 'Wal' has no member named 'lockError' assert( pWal->readLock>=0 || pWal->lockError ); ^ ./src/sqlite3.c: In function 'sqlite3WalExclusiveMode': ./src/sqlite3.c:50265:36: error: 'Wal' has no member named 'lockError' assert( pWal->readLock>=0 || pWal->lockError ); ^ ./src/sqlite3.c: In function 'cellSizePtr': ./src/sqlite3.c:52346:18: error: 'debuginfo' undeclared (first use in this function) assert( nSize==debuginfo.nSize ); ^ ./src/sqlite3.c: In function 'autoVacuumCommit': ./src/sqlite3.c:54514:11: error: 'nRef' undeclared (first use in this function) assert( nRef>=sqlite3PagerRefcount(pPager) ); ^ ./src/sqlite3.c: In function 'balance': ./src/sqlite3.c:58117:18: error: 'balance_deeper_called' undeclared (first use in this function) assert( (balance_deeper_called++)==0 ); ^ ./src/sqlite3.c:58156:20: error: 'balance_quick_called' undeclared (first use in this function) assert( (balance_quick_called++)==0 ); ^ ./src/sqlite3.c: In function 'sqlite3_backup_step': ./src/sqlite3.c:60361:15: error: 'rc2' undeclared (first use in this function) assert( rc2==SQLITE_OK ); ^ ./src/sqlite3.c: In function 'sqlite3VdbeSorterWrite': ./src/sqlite3.c:75447:31: error: 'nExpect' undeclared (first use in this function) assert( rc!=SQLITE_OK || (nExpect==pSorter->iWriteOff) ); ^ ./src/sqlite3.c: In function 'sqlite3ExprCodeTarget': ./src/sqlite3.c:80833:36: error: 'iCacheLevel' undeclared (first use in this function) || pParse->iCacheLevel==iCacheLevel ); ^ ./src/sqlite3.c: In function 'sqlite3DeleteTable': ./src/sqlite3.c:86185:15: error: 'pOld' undeclared (first use in this function) assert( pOld==pIndex || pOld==0 ); ^ ./src/sqlite3.c:86208:11: error: 'nLookaside' undeclared (first use in this function) assert( nLookaside==0 || nLookaside==db->lookaside.nOut ); ^ ./src/sqlite3.c: In function 'sqlite3InitCallback': ./src/sqlite3.c:100108:25: error: 'rcp' undeclared (first use in this function) assert( (rc&0xFF)==(rcp&0xFF) ); ^ ./src/sqlite3.c: In function 'execSql': ./src/sqlite3.c:108467:11: error: 'rc' undeclared (first use in this function) assert( rc!=SQLITE_ROW || (db->flags&SQLITE_CountRows) ); ^ make: *** [bld/sqlite3.o] Error 1 _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users