Hello

I'm a C newbie, and would like to compile a small C project that will
include a main.c along with sqlite3.c and sqlite3.h (ie. the
amalgamated version of the SQLite source code). This is an alternative
to trying to use SQLite from an another language while still being
able to pack both the main app and SQLite into a single EXE.

After successfully building and running the "Hello, world" to make
sure Lcc32 was correctly installed, I simply added sqlite3.h and
sqlite3.c to the project, without any "include" since I just wanted to
check that it compiled OK:

=========
int main(void)
{
        printf("Hello\n");
        return 0;
}
=========

But when hitting "Compiler > Make" in the Wedit IDE, I get the
following errors:
=========
Warning c:\lcc\projects\sqlite\sqlite3.c: 12365  Statement has no
effect
Warning c:\lcc\projects\sqlite\sqlite3.c: 12379  Statement has no
effect
Warning c:\lcc\projects\sqlite\sqlite3.c: 12393  Statement has no
effect
Error c:\lcc\projects\sqlite\sqlite3.c 12462 Compiler error (trap).
Stopping compilation
=========

Google didn't return information on this error. Does someone know what
the problem is, and if not, what other open-source C compiler for
Windows I should use for this small, one-off project?

Thank you.

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to