New posts are disabled while we improve the user experience.

You can browse the site, or for urgent issues, raise a query at MyAccount.

question

Upvote
Accepted
16 1 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 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an 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 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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