Cumulocity C++ Library: language versions

I was reading through Cumulocity’s guide for the SDK for C++ as I am looking to build an application for a gateway device that uses the MQTT client to transmit information from a peripheral recording device and to the Cumulocity IoT cloud.

I was hoping to built the application with C++17. However, when I pulled the library from the GitHub repository, the README file stated that I need C++11 as a prerequisite.

Does this mean that my application needs to be written C++11?

Thanks in advance for the help.

Hello Lucas,

normally it means c++11 or better. The code needs some things which was not available in standard before C++11.
Just try to comile with c++17.

Greets

Helmut

1 Like

Great. My plan was to write the code in C++17.

Thanks!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.