On Mon, Sep 11, 2017 at 4:49 PM, Richard Hipp <d...@sqlite.org> wrote:
> On 9/11/17, Dominique Devienne <ddevie...@gmail.com> wrote: > > FYI, here are the modifications we did to a 3.19.3 amalgamation to build > > with the Intel 17 compiler. Note that we have a few modifs of our own, so > > line numbers might be off. --DD > > > > PS: I hope the formatting goes through. Was garbled when I converted to > > plain text, so trying in rich-text, sorry. > > The "rich text" is garbled and unreadable. > OK, sorry. Here's another try "hand-edited". Lines should be easy enough to find hopefully. ===== 1st error ===== sqlite3.c(17654): error #265: floating-point operation result is out of range // around line 17644 - result = 1e308*1e308*s; /* Infinity */ + result = 1e308*(1e308*s); /* Infinity */ ===== 2nd error ===== sqlite3.c.o:sqlite3.c:function sqlite3VdbeExec.h: error: undefined reference to '__builtin_add_overflow', etc... SQLITE_PRIVATE int sqlite3AddInt64(i64 *pA, i64 iB){ - #if GCC_VERSION>=5004000 +#if GCC_VERSION>=5004000 && !defined(__INTEL_COMPILER) return __builtin_add_overflow(*pA, iB, pA); #else SQLITE_PRIVATE int sqlite3SubInt64(i64 *pA, i64 iB){ - #if GCC_VERSION>=5004000 +#if GCC_VERSION>=5004000 && !defined(__INTEL_COMPILER) return __builtin_sub_overflow(*pA, iB, pA); #else SQLITE_PRIVATE int sqlite3MulInt64(i64 *pA, i64 iB){ - #if GCC_VERSION>=5004000 + #if GCC_VERSION>=5004000 && !defined(__INTEL_COMPILER) return __builtin_mul_overflow(*pA, iB, pA); #else Please note that I'm not saying this is the best fix. A colleague made those changes to make it build. It wasn't necessary with Intel 15. --DD _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users