Today, compiling fossil trunk with mingw-w64, I got the warnings below. Proposed solution in sqlite:
Index: src/sqliteInt.h ================================================================== --- src/sqliteInt.h +++ src/sqliteInt.h @@ -561,11 +561,11 @@ #ifndef SQLITE_MAX_MMAP_SIZE # if defined(__linux__) \ || defined(_WIN32) \ || (defined(__APPLE__) && defined(__MACH__)) \ || defined(__sun) -# define SQLITE_MAX_MMAP_SIZE 2147483648 +# define SQLITE_MAX_MMAP_SIZE 2147483648U # else # define SQLITE_MAX_MMAP_SIZE 0 # endif # define SQLITE_MAX_MMAP_SIZE_xc 1 /* exclude from ctime.c */ #endif ================================================================== i686-w64-mingw32-gcc -Os -Wall -Lsrc/../compat/zlib -Isrc/../compat/zlib -Lsrc/../compat/openssl-1.0.1e -Isrc/../compat/openssl-1.0.1e/include -Lsrc/../tcl-8.6/win -Isrc/../tcl-8.6/generic -Isrc/../tcl-8.6/win -DFOSSIL_ENABLE_SSL=1 -DFOSSIL_ENABLE_TCL=1 -DFOSSIL_ENABLE_TCL_STUBS=1 -DUSE_TCL_STUBS -DFOSSIL_ENABLE_JSON=1 -I. -Isrc -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_ENABLE_STAT3 -Dlocaltime=fossil_localtime -DSQLITE_ENABLE_LOCKING_STYLE=0 -c src/sqlite3.c -o wbld/sqlite3.o src/sqlite3.c:12731:4: warning: this decimal constant is unsigned only in ISO C90 src/sqlite3.c: In function ‘sqlite3_config’: src/sqlite3.c:115050:7: warning: this decimal constant is unsigned only in ISO C90 src/sqlite3.c:115051:9: warning: this decimal constant is unsigned only in ISO C90
_______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

