#1 2016-11-25 00:04:42

ttomas
Member
Registered: 2013-03-08
Posts: 15

fpcupdeluxe newpascal and zeos testing7.2

I download newest fpcupdluxe fpcupdeluxe-x86_64-win64.exe rev.0.99d W10
Install newpascal is ok, then try to install Zeos testing7.2 failed
svn://svn.code.sf.net/p/zeoslib/code-0/branches/testing-7.2/
I try first with fpcupdeluxe with changing fpcup.ini to point to testing7.2, then try manual with lazarus.
Error:
ZDbcPostgreSqlResultSet.pas(186,11) Error: overloaded functions have the same parameter list
ZDbcPostgreSqlResultSet.pas(160,11) Error: Found declaration: pgSQLStrToFloatDef(PChar;const Double;var Double);
ZDbcPostgreSqlResultSet.pas(173,11) Error: Found declaration: pgSQLStrToFloatDef(PChar;const Double;var Single);
Any hint how to install zeos with newpascal?
Is this newpascal or zeos error?
Lazarus is 64b application! Is this preferred or better to install 32b version of fpcupdeluxe on W10Pro64b?

Last edited by ttomas (2016-11-25 00:06:28)

Offline

#2 2016-11-25 07:48:02

AOG
Member
Registered: 2014-02-24
Posts: 349

Re: fpcupdeluxe newpascal and zeos testing7.2

The preferred install on Windows is 32bit.
And cross-compile towards 64bit.
A 32 bit install with fpcupdeluxe will also install 32->64 crosscompiler and GDB for both 32 as well as 64 bit with automagical switch between them when needed.

So yes, please install 32bit and report back any problems.

Offline

#3 2016-11-25 10:28:32

ttomas
Member
Registered: 2013-03-08
Posts: 15

Re: fpcupdeluxe newpascal and zeos testing7.2

Yes I delete all, download 32b fpcupdeluxe and install zeos 7.2 without problem.
I don't use PostgreSQL, but the error is strange for me.
This two overload procedure:

pgSQLStrToFloatDef(PChar;const Double;var Double); overload;
pgSQLStrToFloatDef(PChar;const Double;var Single); overload;

Error: overloaded functions have the same parameter list
Is Single=Double in 64b FPC?
Can we expect same error if we compile 64b application?

Offline

Board footer

Powered by FluxBB