I am building sqlite 3.5.0 using x-dev tools for HP NonStop OSS target machine and am working through some issues. One of the issues is a compiler error that results from a literal, SQLITE_BIG_DBL, used in src/where.c. That literal is defined in sqliteInt.h as (1e99) which is bigger than the maximum double for this machine, defined in /usr/include/limits.h as #define DBL_MAX 1.15792089237316192e77. I can obviously work around this problem by adding a -DSQLITE_BIG_DBL to the c-flags, but I'm curious why sqlite does not #include <limits.h> and use DBL_MAX as the default value for SQLITE_BIG_DBL.
Regards, Mark