Hi all
i have a project that using JanSQL for lazarus that i have downloaded here
http://matalab.freehostia.com/laz-janSQL.zip (this link is broken)
Now i started a new project and i downloaded JanSQL for lazarus here
http://www.theo.ch/lazarus/janSQLLaz.zipWhen i try to complie janSQLTokenizer.pas i got a error
units\JanSQL\janSQLTokenizer.pas(223,21) Error: Incompatible types: got "AnsiString" expected "TTokenOperator"
and this is the definition of TTokenoperator
TTokenOperator=(toNone,toString,toNumber,toVariable,
toComma,toOpen,toClose,toHash,
tosqlCount, tosqlSum, tosqlAvg, tosqlMAX, tosqlMIN, tosqlStdDev,
toEq,toNe,toGt,toGe,toLt,toLe,
toAdd,toSubtract,toMultiply,toDivide,
toAnd,toOr,toNot,toLike,
tosqlALTER,tosqlTABLE,tosqlCOLUMN,
tosqlADD,tosqlDROP,tosqlCOMMIT,tosqlCREATE,
tosqlDELETE,tosqlFROM,tosqlWHERE,
tosqlINSERT,tosqlINTO,tosqlVALUES,
tosqlSELECT,tosqlAS,tosqlORDER,tosqlUPDATE,
tosqlSET,tosqlCONNECT, tosqlASSIGN,
tosqlSAVETABLE, tosqlRELEASETABLE,
tosqlGROUP, tosqlASC, tosqlDESC, tosqlHAVING,
tosqlIN,
toLOWER,toUPPER,toTRIM,toSoundex,
toSin, toCos, toSqr, toSqrt,
toAsNumber,toLeft, toRight, toMid,
tosubstr_after, tosubstr_before,
toFormat,
toDateAdd,
toYear, toMonth, toDay, toEaster, toWeekNumber,
toLen, toFix, toCeil, toFloor,
toIsNumeric, toIsDate,
toReplace, tosqlROLLBACK);
I'm sure that this error is due to a fpc update . I'm using lazarus 0.9.29, fpc 2.4.3
Some one can help me compile JanSQL for lazarus
Thanks for support
Christian F