Re: [sqlite] OS X/Xcode build error: use of unknown builtin

2017-02-15 Thread Anthony Chan (antchan2)
Thank you for all the responses and a speedy resolution. For complete-ness: I am using the older Xcode 6.4 – “Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)”. Now that the problem has been fixed in 3.17 branch I will use that. On 2017-02-15, 8:20 AM,

Re: [sqlite] OS X/Xcode build error: use of unknown builtin

2017-02-15 Thread Richard Hipp
On 2/14/17, Anthony Chan (antchan2) wrote: > > I tried building SQLite 3.17.0 with OSX/Xcode and got the following errors: > Several possible fixes, any one of which will work: (1) Update your Xcode to the latest from Apple (2) Compile using the -DSQLITE_DISABLE_INTRINSIC

Re: [sqlite] OS X/Xcode build error: use of unknown builtin

2017-02-15 Thread Richard Hipp
What does "clang -v" show on your machine? On 2/15/17, Domingo Alvarez Duarte wrote: > Hello Anthony ! > > I also got those errors and did a dirty change to sqlite3 to compile, > your proposal makes an all or nothing use of builtins, probably a one by > one check/enable could

Re: [sqlite] OS X/Xcode build error: use of unknown builtin

2017-02-15 Thread Domingo Alvarez Duarte
Hello Anthony ! I also got those errors and did a dirty change to sqlite3 to compile, your proposal makes an all or nothing use of builtins, probably a one by one check/enable could give better result. Cheers ! On 14/02/17 21:38, Anthony Chan (antchan2) wrote: Hello, I tried building

Re: [sqlite] OS X/Xcode build error: use of unknown builtin

2017-02-14 Thread Richard Hipp
On 2/14/17, Anthony Chan (antchan2) wrote: > Hello, > > I tried building SQLite 3.17.0 with OSX/Xcode and got the following errors: > We do test extensively on OSX and didn't have any problems. What version of Xcode do you have? -- D. Richard Hipp d...@sqlite.org

[sqlite] OS X/Xcode build error: use of unknown builtin

2017-02-14 Thread Anthony Chan (antchan2)
Hello, I tried building SQLite 3.17.0 with OSX/Xcode and got the following errors: - sqlite3.c:28836:10: error: use of unknown builtin '__builtin_add_overflow' [-Wimplicit-function-declaration] return __builtin_add_overflow(*pA, iB, pA); ^ sqlite3.c:28856:10: error: use of unknown