Support This Project

Ticket #126 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

SQLite backend build errors with Visual Studio 2005

Reported by: virdiq Assigned to: mathgl
Priority: blocker Milestone: 0.8.2
Component: backends/sqlite Version: svn
Severity: block Keywords: CONFIRMED
Cc: virdiq,mathgl

Description

When trying to build the SQLite backend on Windows, there are a bunch of fatal build errors.

  1. line 573 of libsqlite_group.c, error C2143: syntax error : missing ';' before 'type'
  2. line 579 of libsqlite_group.c, error C2065: 'query_tab' : undeclared identifier
  3. line 579 of libsqlite_group.c, error C2109: subscript requires array or pointer type
  4. line 580 of libsqlite_group.c, error C2109: subscript requires array or pointer type

And four warnings:

  1. line 299 of libsqlite_group.c, warning C4244: '=' : conversion from 'double' to 'unsigned int', possible loss of data
  2. line 300 of libsqlite_group.c, warning C4244: '=' : conversion from 'double' to 'unsigned int', possible loss of data
  3. line 580 of libsqlite_group.c, warning C4047: 'function' : 'const char *' differs in levels of indirection from 'unsigned int'
  4. line 580 of libsqlite_group.c, warning C4024: 'sqlite3_mprintf' : different types for formal and actual parameter 1

Please don't close this ticket even if these issues are resolved, as I'm pretty certain there are other build errors which occur, but aren't shown in this initial round of errors. I'll update this ticket as appropriate with more information about other build errors.

Change History

06/01/07 00:02:38 changed by mathgl

  • owner changed from pollux to mathgl.

06/01/07 00:02:54 changed by mathgl

  • status changed from new to assigned.

06/01/07 00:06:46 changed by mathgl

i will look tomorrow. this seem not very hard to fix ;)

06/01/07 15:22:53 changed by virdiq

  • status changed from assigned to closed.
  • resolution set to fixed.

Fixed in r1714 & r1715, thanks mathgl.

06/06/07 19:27:03 changed by mathgl

  • component changed from backends/other to backends/sqlite.