View Issue Details

IDProjectCategoryView StatusLast Update
0035194FPCDatabasepublic2019-03-06 08:28
ReporterPontiacAssigned ToMichael Van Canneyt 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.0.4Product Build 
Target Version3.2.0Fixed in Version3.3.1 
Summary0035194: Minor source code problem in testapiv3x in the SQLite Example
DescriptionCannot compile the SQLite3 example code in \FPC\3.0.4\examples\sqlite\testapiv3x.lpi

testapiv3x.pp(41,23) Error: Incompatible type for arg no. 1: Got "ppsqlite3", expected "psqlite3"
Steps To ReproduceLoad the LPI and run. Error ensues.
Additional InformationThis is for a BRAND NEW install of FPC for 3.0.4.

The correction I've found is to remove the additional "P" from the DB declaration on line 13.

db : PPsqlite3;

becomes

db : Psqlite3;

Code then compiles and executes as required.
TagsNo tags attached.
Fixed in Revision41612
FPCOldBugId
FPCTarget
Attached Files

Activities

Michael Van Canneyt

2019-03-06 08:28

administrator   ~0114675

Most likely the API definition was changed at some point, and no-one thought to fix the test :(

Fixed, thanks for reporting !

Issue History

Date Modified Username Field Change
2019-03-06 07:57 Pontiac New Issue
2019-03-06 08:04 Michael Van Canneyt Assigned To => Michael Van Canneyt
2019-03-06 08:04 Michael Van Canneyt Status new => assigned
2019-03-06 08:28 Michael Van Canneyt Fixed in Revision => 41612
2019-03-06 08:28 Michael Van Canneyt Note Added: 0114675
2019-03-06 08:28 Michael Van Canneyt Status assigned => resolved
2019-03-06 08:28 Michael Van Canneyt Fixed in Version => 3.3.1
2019-03-06 08:28 Michael Van Canneyt Resolution open => fixed
2019-03-06 08:28 Michael Van Canneyt Target Version => 3.2.0