[ wxwindows-Patches-1728725 ] 64-bit linux build fix for
database/odbc stuff
SourceForge.net
noreply at sourceforge.net
Sat Jun 2 06:32:56 PDT 2007
Patches item #1728725, was opened at 2007-05-31 07:07
Message generated for change (Comment added) made by vadz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=309863&aid=1728725&group_id=9863
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Database
Group: bug fix
>Status: Pending
Resolution: None
Priority: 5
Private: No
Submitted By: Aleksander Demko (ademko)
Assigned to: Nobody/Anonymous (nobody)
Summary: 64-bit linux build fix for database/odbc stuff
Initial Comment:
This patch fixes two errors that cause the build to fail under 64-bit linux.
The first file was in error as it was defining a new type over something that was already typedefed (see sqltypes.h in unixodbc, atleast under ubunutu 6.06).
The second file just used the wrong type. The only reason this probably worked under 32-bit and other platforms is because they just happened to map to the same pritmitive type.
----------------------------------------------------------------------
>Comment By: Vadim Zeitlin (vadz)
Date: 2007-06-02 15:32
Message:
Logged In: YES
user_id=71618
Originator: NO
I don't know much about ODBC but SQLROWSETSIZE doesn't seem to be defined
under Windows so this patch will probably break compilation there, see
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/rzatv/rzaikodbc64bitconsiderations.htm
It's also not really clear what does BUILD_REAL_64_BIT_MODE stand for and
I think it would be better to have a configure testing whether SQLLEN is a
define or typedef.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=309863&aid=1728725&group_id=9863
More information about the wx-dev
mailing list