question

Upvote
Accepted
16 0 0 2

Building RFA based application with gcc-8.2.0 (c++17 standard)

Hello, team.

We are trying to build our RFA based application with latest gcc-8.2.0 (-std=c++17 standard flag) and faced with issue that the dynamic exception specifications are not allowed in ISO C++17.

rfa-7.2.1/Include/Message/RespMsg.h:245:70: error: ISO C++17 does not allow dynamic exception specifications
   void setPrincipalIdentity( const rfa::common::PrincipalIdentity& ) throw(rfa::common::InvalidUsageException);
                                                                      ^~~~~
rfa-7.2.1/Include/Message/RespMsg.h:260:107: error: ISO C++17 does not allow dynamic exception specifications
   rfa::common::UInt8 validateMsg(rfa::common::RFA_String* warningText = 0, bool isReissue = false ) const throw( rfa::common::InvalidUsageException );
                                                                                                           ^~~~~

Is it possible to provide C++17 compatible RFA library version?

treprfarfa-apic++build
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
4.4k 10 6 9

Hi @pavel.smagin

I'm afraid RFA C++ is not compatible with C++17, and there is no immediate plan to support C++17.

You can check the supported OS and compiler versions from The API Compatibility Matrix.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea