On Mon, Nov 18, 2019 at 3:44 PM Dennis Clarke <dcla...@blastwave.org> wrote:
> > Same question as a few days ago. > > This may have been asked many times before but always seems to be a > valid question. On some machines with different compilers I get good > results using C99 strict compliance. On other machines, such as those > running Red Hat Enterprise Linux, I get terrible results. > Per https://www.sqlite.org/howtocompile.html it is "ANSI-C". C89 is the ANSI-C standard, C90 is the first ISO-C standard. They are practically identical. Note that it is not strict ANSI-C, since ANSI-C doesn't provide for 64 bit integers, and it does not provide for platform specific APIs or functions. But as much as is possible, it is written to work with standard C as it has existed for about 30 years now. Different compilers have various degrees of compliance with their C89 / C90 / C99 implementations. C99 is more strict about some things that C89 did not care about, and the developers have made concessions on occasion to conform to C99 when it did not compromise C89 compatibility. But as much as possible it is desired to maintain C89 compatibility because there are platforms that still are stuck with older compiler standards. Note: I am not a member of the dev team, just recounting my understanding of how things are. _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users