Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 224895 Details for
Bug 310923
x11-libs/wxGTK[odbc] fails to compile against dev-db/unixODBC-2.2.14: bad SQLLEN definition
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
gentoo310923a.patch (text/plain), 1.41 KB, created by
Martin von Gagern
on 2010-03-23 14:06:25 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Martin von Gagern
Created:
2010-03-23 14:06:25 UTC
Size:
1.41 KB
patch
obsolete
>unixODBC 2.2.14 defines SQLLEN and SQLULEN using the compiler typedef >declaration instead of preprocessor #define macro definition. This breaks >the preprocessor checks in this include file.cpp, causing the source to fall >back to older types instead, leading to compile time errors like this: > >db.cpp:1636: error: cannot convert âSQLINTEGER*â to âSQLLEN*â for argument â6â to >âSQLRETURN SQLGetData(void*, SQLUSMALLINT, SQLSMALLINT, void*, SQLLEN, SQLLEN*)â >... >dbtable.cpp:592: error: cannot convert âSQLUINTEGER*â to âSQLULEN*â for argument â4â to >âSQLRETURN SQLExtendedFetch(void*, SQLUSMALLINT, SQLLEN, SQLULEN*, SQLUSMALLINT*)â >... > >This change hard-wires the new names, breaking compatibility with older >unixODBC versions (don't know what version number ranges) in favour of >support for newer releases like 2.2.14. > >References: >http://bugs.gentoo.org/310923 > >2010-03-23 Martin von Gagern > >Index: wxPython-src-2.6.4.0/include/wx/db.h >=================================================================== >--- wxPython-src-2.6.4.0.orig/include/wx/db.h >+++ wxPython-src-2.6.4.0/include/wx/db.h >@@ -134,15 +134,6 @@ enum enumDummy {enumDum1}; > #endif > #endif > >-#ifndef _WIN64 >-#ifndef SQLLEN >-#define SQLLEN SQLINTEGER >-#endif >-#ifndef SQLULEN >-#define SQLULEN SQLUINTEGER >-#endif >-#endif >- > const int wxDB_PATH_MAX = 254; > > extern WXDLLIMPEXP_DATA_ODBC(wxChar const *) SQL_LOG_FILENAME;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 310923
: 224895