[fpc-devel] mysql error when compiling latest CVS

Michael Van Canneyt michael.vancanneyt at wisa.be
Wed Sep 29 13:11:06 CEST 2004

On Wed, 29 Sep 2004, ales wrote:

> I get this with latest CVS:
> Compiling /home/ales/fpc/packages/base/mysql/mysql.pp
> mysqldb.pp(241,30) Error: Illegal qualifier
> mysqldb.pp(241,24) Error: Operator is not overloaded
> mysqldb.pp(241,30) Fatal: Syntax error, "THEN" expected but "identifier
> NAME" found
> Have found out probably buggy declaration in mysql unit:
>        MYSQL_FIELD = st_mysql_field;
>        TMYSQL_FIELD = ^MYSQL_FIELD; <-- should probably be MYSQL_FIELD

It is a known problem. A fix exists, and will be committed tonight.

excpect to have to rework a lot of code when you use the mysql unit directly.

The version was upgraded to version 4.0, and this is significantly
different from 3.x


More information about the fpc-devel mailing list