System.Data.SQLite
View Ticket
Not logged in
Ticket UUID: d951b10d0270c96895973071210f8d78184060c5
Title: SQLite Data DLL is not compiling
Status: Closed Type: Build_Problem
Severity: Critical Priority: Blocker
Subsystem: None Resolution: Fixed
Last Modified: 2012-01-18 03:06:50
Version Found In: 3.7.10
Description:
1. Copied the latest sqlite-amalgamation-3071000.zip C source code for SQLite 3.7.10 - to - D:\Proj\SQLite\SQLite.Interop\src\core

Trying to compile, getting the following error:

Error 5 error C2039: 'type' : is not a member of 'CollSeq' d:\Proj\SQLite\SQLite.Interop\src\win\interop.c 335 SQLite.Interop.2008

struct CollSeq does not support any further "Type"

/* SQLite.c version 3.7.9 */ struct CollSeq { char *zName; /* Name of the collating sequence, UTF-8 encoded */ u8 enc; /* Text encoding handled by xCmp() */ u8 type; /* One of the SQLITE_COLL_... values below */ void *pUser; /* First argument to xCmp() */ int (*xCmp)(void*,int, const void*, int, const void*); void (*xDel)(void*); /* Destructor for pUser */ };

/* SQLite.c version 3.7.10 */ struct CollSeq { char *zName; /* Name of the collating sequence, UTF-8 encoded */ u8 enc; /* Text encoding handled by xCmp() */ void *pUser; /* First argument to xCmp() */ int (*xCmp)(void*,int, const void*, int, const void*); void (*xDel)(void*); /* Destructor for pUser */ };

Kindly advice solution for this. Thank you Paresh


anonymous added on 2012-01-17 10:42:37 UTC:
Please visit this URL http://www.sqlite.org/src/finfo?name=src/sqliteInt.h

Here you can search for CollSeq

[f49fb4fdcbb771f0] part of check-in [ab89b047e8] Removed the unused "type" field from the CollSeq (collating sequence) object. (user: drh branch: trunk) [diff] [annotate]

You will find that the CollSeq was removed. and this is being still referenced in Interop.c source code and hence not able to compile.


mistachkin added on 2012-01-18 03:06:50 UTC:
This has already been fixed by check-in [59e49d1f6c].