wxSQLite3, how to build SQLite without dll? Topic is solved

In this forum you can discuss database related issues which can be wxWidgets related, but also generic in nature.
Mojo
Super wx Problem Solver
Super wx Problem Solver
Posts: 401
Joined: Wed Sep 21, 2005 8:17 am
Location: Rostov-on-Don, Southern Russia

Post by Mojo » Tue Jun 16, 2009 10:31 am

Thank you Ulrich, you really helped me, I excluded pager.c from my project, and now all warnings disappeared.

But there are two new warnings:

Code: Select all

Compiling...
rijndael.cpp
codecext.cpp
c:\projects\sqlite3\sqlite3\include\codec\codec.h(33) : warning C4005: 'PAGER_MJ_PGNO' : macro redefinition
        c:\projects\sqlite3\sqlite3\include\pager.h(55) : see previous definition of 'PAGER_MJ_PGNO'
codec.cpp
c:\projects\sqlite3\sqlite3\include\codec\codec.h(33) : warning C4005: 'PAGER_MJ_PGNO' : macro redefinition
        c:\projects\sqlite3\sqlite3\include\pager.h(55) : see previous definition of 'PAGER_MJ_PGNO'
Generating Code...
Creating library...
Build log was saved at "file://c:\Projects\SQLite3\SQLite3\Release\BuildLog.htm"
SQLite3 - 0 error(s), 2 warning(s)
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
but it's OK, I got SQLite3.lib..

wxSQLite3 makes database programming more easily.
I think it's time to include wxSQLite3 into next wxWidgets stable release distribution, it makes sence to give this idea to wxWidgets developers.
Win XP HE SP3, Vista
Xubuntu 12.04 LTS
wxWidgets-2.9.5
wxWidgets-3.0.0

utelle
Moderator
Moderator
Posts: 940
Joined: Tue Jul 05, 2005 10:00 pm
Location: Cologne, Germany
Contact:

Post by utelle » Tue Jun 16, 2009 9:42 pm

Mojo wrote:But there are two new warnings:

Code: Select all

Compiling...
rijndael.cpp
codecext.cpp
c:\projects\sqlite3\sqlite3\include\codec\codec.h(33) : warning C4005: 'PAGER_MJ_PGNO' : macro redefinition
        c:\projects\sqlite3\sqlite3\include\pager.h(55) : see previous definition of 'PAGER_MJ_PGNO'
codec.cpp
c:\projects\sqlite3\sqlite3\include\codec\codec.h(33) : warning C4005: 'PAGER_MJ_PGNO' : macro redefinition
        c:\projects\sqlite3\sqlite3\include\pager.h(55) : see previous definition of 'PAGER_MJ_PGNO'
Generating Code...
Creating library...
Build log was saved at "file://c:\Projects\SQLite3\SQLite3\Release\BuildLog.htm"
SQLite3 - 0 error(s), 2 warning(s)
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
These warnings do no harm, but I'll try to eliminate them in the next release of wxSQLite3.
Mojo wrote:wxSQLite3 makes database programming more easily.
I think it's time to include wxSQLite3 into next wxWidgets stable release distribution, it makes sence to give this idea to wxWidgets developers.
As for example ODBC database support will be dropped from the wxWidgets distribution in the upcoming release of version 2.9.x, I don't think that a component like wxSQLite3 dedicated to a single database system will be integrated.

Regards,

Ulrich

Post Reply