Menu

#116 Rad studio XE5 C++ builder compilation error

7.1.4-Stable
closed
Bug Report
2020-03-28
2015-01-02
KestasL
No

Every time after compile components I and try use it in main project I get error message:

[bcc32 Error] ZAbstractRODataset.hpp(365): E2015 Ambiguity between '_fastcall Data::Db::TDataSet::PSExecuteStatement(const System::UnicodeString,Data::Db::TParams ) at c:\program files (x86)\embarcadero\rad studio\12.0\include\windows\rtl\Data.DB.hpp:3149' and '_fastcall Data::Db::TDataSet::PSExecuteStatement(const System::UnicodeString,Data::Db::TParams ,void *) at c:\program files (x86)\embarcadero\rad studio\12.0\include\windows\rtl\Data.DB.hpp:3151'

And every time I need comment line 365 :

inline int __fastcall PSExecuteStatement(const System::UnicodeString ASQL, Data::Db::TParams* AParams){ return Data::Db::TDataSet::PSExecuteStatement(ASQL, AParams); }

in ZAbstractRODataset.hpp . After that I do not get error and everything goes fine. Maybe it possible to solve this name collision problem?

IDE: Rad studio XE5
ZeosLib version: 7.1.x ( getted from svn at 2014.08.20)
DB connection type: all

Discussion

  • EgonHugeist

    EgonHugeist - 2017-03-02

    Is there a define possible to do the job you want?

    I've no idea about the CBuilders @all.

     
  • EgonHugeist

    EgonHugeist - 2020-03-28
    • status: open --> closed
    • assigned_to: EgonHugeist
    • Type: --> Bug Report
     
  • EgonHugeist

    EgonHugeist - 2020-03-28

    No responce, 7.1 is no longer supported. Closed..

     

Log in to post a comment.