On Tue, 31 Jan 2017 15:50:08 -0800
Nathan Bossett <nboss...@pierb.com> wrote:

> Since this is the sqlite users list and not the dev's list, can I ask
> what your use case is that writing a thin wrapper around SQLITE
> doesn't solve your problem?  

I've encountered no problem compiling SQLite header files as C11.  

The OP encountered a problem compiling SQLite itself as C89 because
there was a C99 construct his compiler didn't support.  The fix was to
"update" the code to conform to a 17-year old standard.  

I wondered aloud what system still exists that supports only C89.  On
review of this thread, there is indeed one such compiler in widespread
use: Microsoft Visual Studio.[1]

Despite the fact that the Windows API is defined in terms of C,
Microsoft evidently and probably correctly has decided its market does
not demand a modern C compiler.  

Last year there was much rejoicing when Microsoft decided to bundle
SQLite with Windows.  That leaves me with a new question: if SQLite
announced its intention to move to C11 in 2018, would that perhaps
influence Microsoft's timeline to update its compiler?  

--jkl

[1]
https://msdn.microsoft.com/en-us/library/hh409293.aspx#ISO%20C/C++%20Standards%20Support
  

_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to