Skip Menu |

This queue is for tickets about the DBD-SQLite2 CPAN distribution.

Report information
The Basics
Id: 84492
Status: resolved
Priority: 0/
Queue: DBD-SQLite2

People
Owner: RURBAN [...] cpan.org
Requestors: RURBAN [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.35
Fixed in: (no value)



Subject: mingw os.h off_t problem
http://www.cpantesters.org/cpan/report/b8e26983-6bf6-1014-80e1-1e2409253afe In file included from func.c:26: os.h:134: error: conflicting types for 'off_t' C:/strawberry/c/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/types.h:41: error: previous declaration of 'off_t' was here -- Reini Urban
Fixed with 0.36 mingw32 uses long off_t, but sqlite int64 On mingw32 we cannot use the system off_t for sqlite2, since mingw32 forces large file support and we cannot override the already defined typedef long off_t. Define our own type sql_off_t which is long long on mingw32, and off_t on most other systems. -- Reini Urban