Page 2 of 2

Posted: Tue Jun 16, 2009 10:31 am
by Mojo
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.

Posted: Tue Jun 16, 2009 9:42 pm
by utelle
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