Subject | Bug/name clash |
---|---|
Author | pi3k14 |
Post date | 2006-06-28T07:19:12Z |
There is a problem in IBObjects 4.6B (for BDS 2006 C++ personality).
In ib_constants.pas there is declared a constant named IB_SERVER,
this translates to a #define in ib_constants.hpp.
ibinstallheader.hpp from Borland declares a const called IB_SERVER,
which will be included when you use ibservices.hpp.
since one is a define and the other a type, you get a rather
uninformative error message.
I suggest that the constants in ib_constants.pas be renamed to IBO_*
, to resolve this name clash'es.
tia
frode
In ib_constants.pas there is declared a constant named IB_SERVER,
this translates to a #define in ib_constants.hpp.
ibinstallheader.hpp from Borland declares a const called IB_SERVER,
which will be included when you use ibservices.hpp.
since one is a define and the other a type, you get a rather
uninformative error message.
I suggest that the constants in ib_constants.pas be renamed to IBO_*
, to resolve this name clash'es.
tia
frode