[sqlite] SQLITE_INT_TO_PTR implementation selection

2019-07-17 Thread Brooks Davis
In our C dialect supporting CHERI capabilities (http://cheri-cpu.org) as unforgable fat pointers, we require that all conversions of integers to pointers be made via (u)intptr_t. This allows macros that take either pointers or integers to preserve pointer integrity (e.g. long does not in our

Re: [sqlite] Unreachable Breaks with ICC on Windows

2019-07-17 Thread Richard Hipp
On 7/17/19, Peter da Silva wrote: > I would argue that an unreachable break should not be a warning, since > leaving out the break is just asking for some beggar to come in and make it > reachable again and summon the fallthrough fairy without noticing it. :) I replaced the unreachable "break"

Re: [sqlite] Adapt HAVE_GETHOSTUUID conditional for UIKit for macOS

2019-07-17 Thread Jens Alfke
> On Jul 17, 2019, at 9:29 AM, Micah Moore wrote: > > Attempting to use SQLite version 3.29.0 amalgamation in a [Catalyst]( > https://developer.apple.com/ipad-apps-for-mac/ > ) based project -- targeting > UIKit for macOS -- fails with the error

Re: [sqlite] Unreachable Breaks with ICC on Windows

2019-07-17 Thread Peter da Silva
I would argue that an unreachable break should not be a warning, since leaving out the break is just asking for some beggar to come in and make it reachable again and summon the fallthrough fairy without noticing it. :) On Sat, Jul 13, 2019 at 9:32 AM André Borchert <0xa...@gmail.com> wrote: >

[sqlite] Adapt HAVE_GETHOSTUUID conditional for UIKit for macOS

2019-07-17 Thread Micah Moore
Hello, Attempting to use SQLite version 3.29.0 amalgamation in a [Catalyst]( https://developer.apple.com/ipad-apps-for-mac/) based project -- targeting UIKit for macOS -- fails with the error "'gethostuuid' is unavailable: not available on UIKit for macOS" Specifically this conditional: ``` #if

[sqlite] Fwd: Geopoly extension Error: no such module: geopoly

2019-07-17 Thread Kolt Lorry
-- Forwarded message - From: Kolt Lorry Date: Tue, Jul 16, 2019 at 5:38 PM Subject: Geopoly extension Error: no such module: geopoly To: Hello, i Built sqlite for android studio following this guide with geopoly enabled .

[sqlite] Geopoly extension Error: no such module: geopoly

2019-07-17 Thread Kolt Lorry
Hello, i Built sqlite for android studio following this guide with geopoly enabled . i wrote a simple app that had 1 databse with two tables one was a standard table with 4 columns the other i created with "using geopoly " and an extra column

Re: [sqlite] strftime("%Y", "-1234-01-01") returns -123

2019-07-17 Thread Tanaka Akira
2019-07-16 21:26 Richard Hipp : > Perhaps you overlooked the following paragraph from the documentation: > > "These functions only work for dates between -01-01 00:00:00 and > -12-31 23:59:59 (julian day numbers 1721059.5 through 5373484.5). > For dates outside that range, the results of