eno wrote:
Drew, Stephen wrote:

Further to my original question, does anyone know why the SQLite library
compiles when (and only when, as far as I can tell) the following lines in
SQLiteInt.h :


#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cassert>

are replaced with the original C equivalents:

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>

Thanks,
Steve


seems that Borland Builder 6 doesn't have state-of-the-art C++ header files, or is holding these in separate C++ include directories, thus not finding them when compiling a ".c" C source file.

BTW: As of 2.8.12 the C header files are included in sqliteint.h, at least in my copy.


cvs annotate shows me that the standard C header files have been unchanged in the sqliteInt.h file since before the first public release in May of 2000. Those four lines have never been different.

I don't know where Mr. Drew got his "<cstdio>" changes.  But he didn't
get them from the SQLite source tree.


-- D. Richard Hipp -- [EMAIL PROTECTED] -- 704.948.4565


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to