FirebirdSQL/firebird-odbc-driver

BCC does not have (u)intptr_t [ODBC200]

firebird-automations opened this issue · 2 comments

Submitted by: Dimitar Zhekov (sheckley)

Depends on ODBC197

D:\...\OdbcJdbc\Builds\Bcc55.win>C:\Borland\BCC55\bin\make -f makefile.bcc55 COMPDIR=C:\Borland\BCC55 VER_NT= FIREBIRD=D:\...\Firebird Release\odbcfb.dll

..\..\ConnectDialog.cpp:
Error E2303 ..\..\ConnectDialog.h 49: Type name expected
Error E2228 ..\..\ConnectDialog.h 49: Too many error or warning messages
*** 2 errors in Compile ***

$SUBJECT. The easiest workaround is to define (u)intptr_t using compilation
options: makefile.bcc55:COMPFLAGS = ... -Dintptr_t=int -Duintptr_t=unsigned -D_INTPTR_T_DEFINED

Modified by: @alexpotapchenko

status: Open [ 1 ] => Closed [ 6 ]

resolution: Duplicate [ 3 ]

Modified by: @alexpotapchenko

Link: This issue depends on ODBC197 [ ODBC197 ]