[prev in list] [next in list] [prev in thread] [next in thread]
List: sqlite-users
Subject: Re: [sqlite] Erros using some compiler options for SQLite 3. and V. Studio 2015
From: ajm () zator ! com
Date: 2015-10-25 21:11:25
Message-ID: 0M3See-1ahKF31gbg-00qzjm () mrelayeu ! kundenserver ! de
[Download RAW message or body]
Keith:
Thank a lot.
Now, the file compiles without error, although still there are two warnings=
(unreferenced local variables):
1>sqlite3\sqlite3.c(79452): warning C4101: 'z': variable local sin referenc=
ia
1>sqlite3\sqlite3.c(79451): warning C4101: 'zTrace': variable local sin ref=
erencia
Perhaps the sentence
#ifndef SQLITE_OMIT_TRACE
=
must be moved up a couple lines =
Thanks again.
--
Adolfo
>
> ---- Mensaje original ----
> De: "Keith Medcalf" <kmedcalf@dessus.com>
> Para: "ajm@zator.com" <ajm@zator.com>, "General Discussion of SQLite Dat=
abase" <sqlite-users@mailinglists.sqlite.org>
> Fecha: Sun, 25 Oct 2015 13:56:33 -0600
> Asunto: RE: [sqlite] Erros using some compiler options for SQLite 3. and=
V. Studio 2015
>
>
>Try changing:
>
>> #define SQLITE_OMIT_TCL_VARIABLE
>> #define SQLITE_OMIT_PROGRESS_CALLBACK
>> #define SQLITE_OMIT_FOREIGN_KEY
>> #define SQLITE_OMIT_AUTOVACUUM
>> #define SQLITE_OMIT_EXPLAIN
>> #define SQLITE_SECURE_DELETE
>> #define SQLITE_OMIT_BUILTIN_TEST
>> #define SQLITE_OMIT_TRACE
>> #define SQLITE_ENABLE_FTS3
>> #define SQLITE_ENABLE_FTS3_PARENTHESIS
>
>to
>
>#define SQLITE_OMIT_TCL_VARIABLE 1
>#define SQLITE_OMIT_PROGRESS_CALLBACK 1
>#define SQLITE_OMIT_FOREIGN_KEY 1
>#define SQLITE_OMIT_AUTOVACUUM 1
>#define SQLITE_OMIT_EXPLAIN 1
>#define SQLITE_SECURE_DELETE 1
>#define SQLITE_OMIT_BUILTIN_TEST 1
>#define SQLITE_OMIT_TRACE 1
>#define SQLITE_ENABLE_FTS3 1
>#define SQLITE_ENABLE_FTS3_PARENTHESIS 1
>
>in your config.h and see if this resolves the issue.
>
>> -----Original Message-----
>> From: sqlite-users-bounces@mailinglists.sqlite.org [mailto:sqlite-users-
>> bounces@mailinglists.sqlite.org] On Behalf Of ajm@zator.com
>> Sent: Sunday, 25 October, 2015 13:24
>> To: sqlite-users@mailinglists.sqliteorg
>> Subject: [sqlite] Erros using some compiler options for SQLite 3. and V.
>> Studio 2015
>> =
>> Hi list:
>> =
>> Using SQLite v.3.9.1 amalgamation code.
>> MS Visual Studio 2015 for desktop C++ compiler
>> =
>> I've got the same compiler error
>> =
>> 1>sqlite3\sqlite3.c(xxxxx): fatal error C1017: expresi=F3n constante de =
tipo
>> entero no v=E1lida
>> =
>> in the following lines of sqlite3.c:
>> =
>> #if SQLITE_ENABLE_FTS3
>> #if SQLITE_ENABLE_FTS3_PARENTHESIS
>> #if SQLITE_OMIT_AUTOVACUUM
>> #if SQLITE_OMIT_BUILTIN_TEST
>> #if SQLITE_OMIT_EXPLAIN
>> #if SQLITE_OMIT_FOREIGN_KEY
>> #if SQLITE_OMIT_PROGRESS_CALLBACK
>> #if SQLITE_OMIT_TCL_VARIABLE
>> #if SQLITE_OMIT_TRACE
>> #if SQLITE_SECURE_DELETE
>> =
>> The application compiles correctly except when includes the config.h file
>> with these compiler options:
>> =
>> #define SQLITE_OMIT_TCL_VARIABLE
>> #define SQLITE_OMIT_PROGRESS_CALLBACK
>> #define SQLITE_OMIT_FOREIGN_KEY
>> #define SQLITE_OMIT_AUTOVACUUM
>> #define SQLITE_OMIT_EXPLAIN
>> #define SQLITE_SECURE_DELETE
>> #define SQLITE_OMIT_BUILTIN_TEST
>> #define SQLITE_OMIT_TRACE
>> #define SQLITE_ENABLE_FTS3
>> #define SQLITE_ENABLE_FTS3_PARENTHESIS
>> =
>> The only directives of my config.h that seem be accepted, are:
>> =
>> #define SQLITE_MAX_VARIABLE_NUMBER 25
>> #define SQLITE_THREADSAFE 1
>> =
>> Note that the proyect also compiles smoothly without errors using all the
>> compiler directives with SQLite v.3.7.15.1 and MS V. Studio 2013.
>> =
>> Any suggestion would be appreciated.
>> =
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic