Incorrect C code in sqlite3.c
In the file sqlite3.c (version sqlite-autoconf-3320000) we see at line 494 the code:
and at line 503:
though when these values are set through the defines at line 16509 and 13514 as:
# define SQLITE_MUTEX_PTHREADS
# define SQLITE_NOINLINE
this results in invalid C code.
It is suggested to replace the
#if statements with
#ifdef statements and remove the
#else # define SQLITE_MUTEX_PTHREADS
Same accounts also for line 497:
and line 485:
this might also be necessary on other places where empty defines are defined.
What C compiler are you using that this causes problems for?
I didn't use a compiler, but I used doxygen to create some documentation and here I got an error message.
When looking into the issue I realized that the used construct could give the incorrect C code (an alternative to removing the code might be to issue an