Opened 11 years ago

Last modified 11 years ago

#5244 closed defect

SQLite: compilation error because redefinition of sqlite3_backup — at Initial Version

Reported by: jorgearevalo Owned by: warmerdam
Priority: normal Milestone:
Component: default Version: svn-trunk
Severity: normal Keywords: sqlite, mac
Cc: jorgearevalo

Description

In r26299, this line was added to ogrsqlite3ext.h:

typedef struct sqlite3_backup sqlite3_backup;

But this causes a compilation error with some SQLite versions because redefinition of sqlite3_backup (it is previously defined at sqlite.h, from SQLite3 library). My environment:

  • OS: Mac OS X 10.6.8 (Snow Leopard)
  • SQLite3 v3.7.17

I'd suggest conditional definition of sqlite3_backup.

Change History (0)

Note: See TracTickets for help on using tickets.