Forum > Database

SQLITE3: TSQLQuery fails when using Params for float data (aarch64)

<< < (2/3) > >>

rvk:
It's a known problem...

Float Params don't work for SQLite. Probably only effect ARM
See https://gitlab.com/freepascal.org/fpc/source/-/issues/28140

Apparently you need to (re)compile FPC with  -Caeabihf options.

apeoperaio:
Ok, it is a seven years old issue. Now closed, but the bug is still there. Will FPC change it in the future?

rvk:

--- Quote from: apeoperaio on March 16, 2023, 03:15:47 pm ---Ok, it is a seven years old issue. Now closed, but the bug is still there. Will FPC change it in the future?

--- End quote ---
It was not a bug (as I see it).
It was a compilation issue.

When FPC was recompiled with a certain switch, the problem went away.


--- Quote ---I got it fpc compiled properly once I got all the make parameters right. It seems it boils down to that I thought OPT parameters for make where cumulative.
Thanks for your help. The bug can be closed.
--- End quote ---

I'm not sure why it was not done originally.

Maybe if you mention the OS, someone can take a look.
(I don't have aarch64, either Mac or Linux)

apeoperaio:
I get this error only on darwin aarch, I edited my comment in gitlab.

Thank you.

upsidasi:
Is there any chance for the property .AsFloat to work for AARCH64? I noticed the new comment on the bug report https://gitlab.com/freepascal.org/fpc/source/-/issues/28140, but its status is still "closed".

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version