Re: [sqlite] "struct Mem" conflicts with namespaces/classes having the same name

2017-04-10 Thread dip
is happening ? can you make a small reproduceable sample ? also are you mixing C++ & C, or is your code all in c ? Daniel 2017-04-09 15:49 GMT-04:00 dip <x...@protonmail.com>: > sqlite3.c is C file. C does not support namespaces. > Even though another project files are .cpp

Re: [sqlite] "struct Mem" conflicts with namespaces/classes having the same name

2017-04-09 Thread dip
il.com) Secure Email. Original Message Subject: Re: [sqlite] "struct Mem" conflicts with namespaces/classes having the same name Local Time: April 9, 2017 11:19 PM UTC Time: April 9, 2017 8:19 PM From: bfrie...@simple.dallas.tx.us To: SQLite mailing list <sqlite-users@mailinglists.sql

Re: [sqlite] "struct Mem" conflicts with namespaces/classes having the same name

2017-04-09 Thread dip
me: April 9, 2017 10:23 PM UTC Time: April 9, 2017 7:23 PM From: d3c...@gmail.com To: SQLite mailing list <sqlite-users@mailinglists.sqlite.org> On Sun, Apr 9, 2017 at 12:20 PM, Richard Damon <rich...@damon-family.org> wrote: > On 4/9/17 1:49 PM, Olivier Mascia wrote: > >

[sqlite] "struct Mem" conflicts with namespaces/classes having the same name

2017-04-09 Thread dip
I downloaded latest SQLite Amalgamation (v 3.18.0) to embed it in my project. After that I got a lot of errors while compiling (compiler is Microsoft Visual Studio 2017). Errors were caused by the following line in sqlite3.h: typedef struct Mem sqlite3_value; The reason is that I have the