Re: [sqlite] Checking gcc/clang compiler version (was: OS X/Xcode build error: use of unknown builtin)

2017-02-20 Thread Richard Hipp
On 2/20/17, Andy Gibbs wrote: > > What this means is that using the gcc version number alone will actually > disable the optimisations given by __builtin_{add|sub|mul}_overflow when > compiled with clang. > Yes. And what this means is that I need to go back and

[sqlite] Checking gcc/clang compiler version (was: OS X/Xcode build error: use of unknown builtin)

2017-02-20 Thread Andy Gibbs
Hi, I spotted the compiler version checking changes in commits [810d2932] and [8d3f485d] and thought I'd drop in with some thoughts. I am not aware of everything that passes on this mailing list (I am only a sporadic reader) but I did try to go through and see where this change might have