[Kexi-devel] KDbToken.h problem

Jaroslaw Staniek staniek at kde.org
Sat Sep 19 19:07:10 UTC 2015


On 19 September 2015 at 13:53, Treeve Jelbert <treeve at scarlet.be> wrote:
> I am trying to write a kdb driver for firebird, derived from the postgresql
> driver.
>
> I encounter the following error:
>
> [ 42%] Building CXX object
> CMakeFiles/kdb_firebirddriver.dir/FirebirdPreparedStatement.cpp.o
> In file included from /opt/qt5/include/KDb/KDbQuerySchema.h:30:0,
>                  from /opt/qt5/include/KDb/KDbConnection.h:27,
>                  from
> /var/git/qt5/kde5-libs/kdb-fb3/FirebirdPreparedStatement.cpp:22:
> /opt/qt5/include/KDb/KDbToken.h:123:27: error: expected unqualified-id
> before numeric constant
>      static const KDbToken SQL_NULL;
>                            ^
> CMakeFiles/kdb_firebirddriver.dir/build.make:110: recipe for target
> 'CMakeFiles/kdb_firebirddriver.dir/FirebirdPreparedStatement.cpp.o' failed
>
>
> Thsi is with latest kdb and gcc-5.2.0
>
> The relevant source code is:
>
> #include "FirebirdPreparedStatement.h"
> #include "KDbConnection.h"
>
> This code is virually identical to the postgresql code.
>
> Any suggestions?
>

Hi Treeve!
That's good news to me (that is: your driver). In order to help
quickly I'd like to see the code. Is it possible that we meet on IRC?
https://community.kde.org/Kexi/Contact

-- 
regards, Jaroslaw Staniek

KDE:
: A world-wide network of software engineers, artists, writers, translators
: and facilitators committed to Free Software development - http://kde.org
Calligra Suite:
: A graphic art and office suite - http://calligra.org
Kexi:
: A visual database apps builder - http://calligra.org/kexi
Qt Certified Specialist:
: http://www.linkedin.com/in/jstaniek


More information about the Kexi-devel mailing list